|
opm-simulators
|
TPSA geomechanics model. More...
#include <tpsamodel.hpp>
Classes | |
| class | TpsaBlockVectorWrapper |
| Small block vector wrapper class for model solutions. More... | |
Public Member Functions | |
| TpsaModel (Simulator &simulator) | |
| Constructor. | |
| void | finishInit () |
| Initialize TPSA model. | |
| void | prepareTPSA () |
| Prepare TPSA model for coupled Flow-TPSA scheme. | |
| void | syncOverlap () |
| Sync primary variables in overlapping cells. | |
| void | updateMaterialState (const unsigned) |
| Update material state for all cells. | |
| const Linearizer & | linearizer () const |
| Return the linearizer. | |
| Linearizer & | linearizer () |
| Return the linearizer. | |
| const NewtonMethod & | newtonMethod () const |
| Return the Newton method. | |
| NewtonMethod & | newtonMethod () |
| Return the Newton method. | |
| const SolutionVector & | solution (unsigned timeIdx) const |
| Get reference to history solution vector. | |
| SolutionVector & | solution (unsigned timeIdx) |
| Get reference to history solution vector. | |
| std::size_t | numGridDof () const |
| Return number of degrees of freedom in the grid from the Flow model. | |
| std::size_t | numTotalDof () const |
| Return the total number of degrees of freedom. | |
| Scalar | dofTotalVolume (unsigned globalIdx) const |
| Return the total grid volume from the Flow model. | |
| Scalar | eqWeight (unsigned, unsigned eqIdx) const |
| Return equation weights. | |
| void | setEqWeight (unsigned eqIdx, Scalar value) |
| Set weights for equation. | |
| std::size_t | numAuxiliaryModules () const |
| Return number of auxillary modules. | |
| std::size_t | numAuxiliaryDof () const |
| Return number of auxillary degrees of freedom. | |
| const MaterialState & | materialState (const unsigned globalIdx, unsigned) const |
| Return current material state. | |
| DimVector | disp (const unsigned globalIdx, const bool) const |
| Output displacement vector. | |
| SymTensor | delstress (const unsigned) const |
| Output (del?)stress tensor. | |
| SymTensor | fractureStress (const unsigned) const |
| Output fracture stress tensor. | |
| SymTensor | linstress (const unsigned) const |
| Output linear stress tensor. | |
| SymTensor | stress (const unsigned, const bool) const |
| Output stress tensor. | |
| SymTensor | strain (const unsigned, const bool) const |
| Output strain tensor. | |
| Scalar | mechPotentialForce (unsigned) const |
| Output potential forces. | |
| Scalar | mechPotentialPressForce (unsigned) const |
| Output potential pressure forces. | |
| Scalar | mechPotentialTempForce (unsigned) const |
| Output potential temparature forces. | |
Static Public Member Functions | |
| static void | registerParameters () |
| Register runtime parameters. | |
Protected Member Functions | |
| void | resizeMaterialState_ () |
| Resize material state vector. | |
TPSA geomechanics model.
Solves the (linear) elasticity equations using Newton method.
|
inlineexplicit |
Constructor.
| simulator | Simulator object |
|
inline |
Output (del?)stress tensor.
| globalIdx | Cell index |
|
inline |
Output displacement vector.
| globalIdx | Cell index |
| with_fracture | Boolean to activate fracture output |
|
inline |
Return the total grid volume from the Flow model.
| globalIdx | Cell index |
|
inline |
Return equation weights.
| dofIdx | Degree-of-freedom index |
| eqIdx | Equation index |
|
inline |
Output fracture stress tensor.
| globalIdx | Cell index |
|
inline |
Return the linearizer.
|
inline |
Return the linearizer.
|
inline |
Output linear stress tensor.
| globalIdx | Cell index |
|
inline |
Return current material state.
| globalIdx | Cell index |
| timeIdx | Time index |
|
inline |
Output potential forces.
| globalIdx | Cell index |
|
inline |
Output potential pressure forces.
| globalIdx | Cell index |
|
inline |
Output potential temparature forces.
| globalIdx | Cell index |
|
inline |
Return the Newton method.
|
inline |
Return the Newton method.
|
inline |
Return number of auxillary degrees of freedom.
|
inline |
Return number of auxillary modules.
|
inline |
Return number of degrees of freedom in the grid from the Flow model.
|
inline |
Return the total number of degrees of freedom.
|
inlineprotected |
Resize material state vector.
|
inline |
Set weights for equation.
| eqIdx | Equation index |
| value | Weight value to set |
|
inline |
Get reference to history solution vector.
| timeIdx | Time index |
|
inline |
Get reference to history solution vector.
| timeIdx | Time index |
|
inline |
Output strain tensor.
| globalIdx | Cell index |
| with_fracture | Boolean to activate fracture output |
|
inline |
Output stress tensor.
| globalIdx | Cell index |
| with_fracture | Boolean to activate fracture output |
|
inline |
Sync primary variables in overlapping cells.
Copied code from EcfvDiscretization::syncOverlap() to sync TPSA primary variables
|
inline |
Update material state for all cells.
| timeIdx | Time index |