Opm::Elasticity::OrthotropicD Class Reference

Orthotropic linear elastic material with diagonal constitutive matrix. More...

#include <materials.hh>

Inheritance diagram for Opm::Elasticity::OrthotropicD:
Opm::Elasticity::Material

Public Member Functions

 OrthotropicD (int ID, double Ex, double Ey, double Ez, double Gxy, double Gxz=double(-1), double Gyz=double(-1))
 Constructor creating a new material. More...
 
virtual ~OrthotropicD ()
 Empty virtual destructor.
 
virtual int numPar () const
 Returns the number of parameters describing this material.
 
virtual double getPar (int ipar=1) const
 Returns the ipar'th parameter describing this material.
 
virtual bool getConstitutiveMatrix (Dune::FieldMatrix< double, 6, 6 > &C, bool invers=false) const
 Establishes the full constitutive matrix for this material. More...
 
virtual bool getConstitutiveMatrix (Dune::FieldMatrix< double, 3, 3 > &C, bool invers=false) const
 Establishes the full constitutive matrix for this material. More...
 
- Public Member Functions inherited from Opm::Elasticity::Material
virtual ~Material ()
 Empty virtual destructor.
 
int num () const
 Returns the external material id.
 
double getMassDensity () const
 Returns the mass density of this material.
 

Protected Member Functions

virtual std::ostream & write (std::ostream &os) const
 Prints the material properties to a stream.
 
- Protected Member Functions inherited from Opm::Elasticity::Material
 Material (int ID=0, double density=0.0)
 Default constructor creating an empty material.
 

Additional Inherited Members

- Static Public Member Functions inherited from Opm::Elasticity::Material
static Materialcreate (int ID, const Dune::DynamicVector< double > &params)
 Creates a material object of a given type. More...
 
static Materialcreate (int ID, const std::string &file)
 Creates a material object from a rocklist. More...
 

Detailed Description

Orthotropic linear elastic material with diagonal constitutive matrix.

Constructor & Destructor Documentation

◆ OrthotropicD()

Opm::Elasticity::OrthotropicD::OrthotropicD ( int  ID,
double  Ex,
double  Ey,
double  Ez,
double  Gxy,
double  Gxz = double(-1),
double  Gyz = double(-1) 
)

Constructor creating a new material.

Parameters
[in]IDExternal material number
[in]ExElasticity modulus in local x-direction
[in]EyElasticity modulus in local y-direction
[in]EzElasticity modulus in local z-direction
[in]GxyShear modulus in the local xy-plane
[in]GxzShear modulus in the local xz-plane, default = Gxy
[in]GyzShear modulus in the local yz-plane, default = Gxz

Member Function Documentation

◆ getConstitutiveMatrix() [1/2]

bool Opm::Elasticity::OrthotropicD::getConstitutiveMatrix ( Dune::FieldMatrix< double, 6, 6 > &  C,
bool  invers = false 
) const
virtual

Establishes the full constitutive matrix for this material.

\[ [C] = \left[\begin{array}{cccccc} E_x \\ & E_y \\ & & E_z \\ & & & G_{xy} \\ & & & & G_{xz} \\ & & & & & G_{yz} \end{array}\right] \]

Parameters
[out]CThe constitutive matrix
[in]inversIf true, set up the inverse matrix instead

Implements Opm::Elasticity::Material.

◆ getConstitutiveMatrix() [2/2]

bool Opm::Elasticity::OrthotropicD::getConstitutiveMatrix ( Dune::FieldMatrix< double, 3, 3 > &  C,
bool  invers = false 
) const
virtual

Establishes the full constitutive matrix for this material.

Parameters
[out]CThe constitutive matrix
[in]inversIf true, set up the inverse matrix instead

Implements Opm::Elasticity::Material.


The documentation for this class was generated from the following files: