My Project
Loading...
Searching...
No Matches
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.
 
 ~OrthotropicD () override
 Empty virtual destructor.
 
int numPar () const override
 Returns the number of parameters describing this material.
 
double getPar (int ipar=1) const override
 Returns the ipar'th parameter describing this material.
 
bool getConstitutiveMatrix (Dune::FieldMatrix< double, 6, 6 > &C, bool invers=false) const override
 Establishes the full constitutive matrix for this material.
 
bool getConstitutiveMatrix (Dune::FieldMatrix< double, 3, 3 > &C, bool invers=false) const override
 Establishes the full constitutive matrix for this material.
 
- 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

std::ostream & write (std::ostream &os) const override
 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.
 
static Materialcreate (int ID, const std::string &file)
 Creates a material object from a rocklist.
 

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, 3, 3 > &  C,
bool  invers = false 
) const
overridevirtual

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.

◆ getConstitutiveMatrix() [2/2]

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

Establishes the full constitutive matrix for this material.

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

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

Implements Opm::Elasticity::Material.

◆ getPar()

double Opm::Elasticity::OrthotropicD::getPar ( int  ipar = 1) const
overridevirtual

Returns the ipar'th parameter describing this material.

Reimplemented from Opm::Elasticity::Material.

◆ numPar()

int Opm::Elasticity::OrthotropicD::numPar ( ) const
inlineoverridevirtual

Returns the number of parameters describing this material.

Implements Opm::Elasticity::Material.

◆ write()

std::ostream & Opm::Elasticity::OrthotropicD::write ( std::ostream &  os) const
overrideprotectedvirtual

Prints the material properties to a stream.

Reimplemented from Opm::Elasticity::Material.


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