template<class TypeTag>
class Opm::ElasticityLocalResidual< TypeTag >
Calculation of (linear) elasticity model terms for the residual.
The linearized Biot model is solved where it is assumed that solid mechanics are governed by Hooke's law and conservation of linear momentum:
where \f&\sigma\f& is Cauchy stress tensor, \f&u\f& is displacement, \f&\epsilon(\cdot)\f& is thesymmetric gradient, \f&\mu\f& and \f&\lambda\f& are Lame's first (aka shear modulus) and second parameters, \f&\alpha\f& is the Biot-Willis parameter, \f&(p_f-p_0)\f& is fluid pressure difference wrt hydrostatic, and \f&f_u\f& are body forces.
The equations are discretized using two-point stress approximation following Boon et al. (2025), Solving Biot poroelasticity by coupling OPM Flow with the two-point stress approximation finite volume method, arXiv:2510.23432v1.
The resulting equations contain a volume term where only single-cell variables are used; face terms where variables across cell faces are calculated; boundary terms, similar to face terms, but cell faces are at the boundary; and source terms where coupling and potential body forces are calculated.
Calculate free (or zero traction) boundary condition in TPSA formulation.
Parameters
bndryTerm
Boundary term vector
materialState
Material state container
bdyInfo
Boundary condition info container
problem
Flow problem
globalIndex
Cell index
Note
Free, or zero traction, BC is equivalent of having a spring at infinity where we have assumed all (primary) variables and parameters (e.g., shear modulus) are zero.
Calculate terms across cell faces in TPSA formulation.
Parameters
faceTerm
Face term vector
materialStateIn
Material state container of inside cell
materialStateEx
Material state container of outside cel
problem
Flow problem
globalIndexIn
Inside cell index
globalIndexEx
Outside cell index
Material state, problem input and global index here might/should be merged in "IntensiveQuantity" and "NeighborInfo" containers as in BlackOilLocalResidualTPFA