Orthotropic linear elastic material with diagonal constitutive matrix.
More...
#include <materials.hh>
|
| 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. More...
|
|
virtual int | numPar () const |
| Returns the number of parameters describing this material. More...
|
|
virtual double | getPar (int ipar=1) const |
| Returns the ipar'th parameter describing this material. More...
|
|
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...
|
|
int | num () const |
| Returns the external material id. More...
|
|
double | getMassDensity () const |
| Returns the mass density of this material. More...
|
|
|
static Material * | create (int ID, const Dune::DynamicVector< double > ¶ms) |
| Creates a material object of a given type. More...
|
|
static Material * | create (int ID, const std::string &file) |
| Creates a material object from a rocklist. More...
|
|
|
virtual std::ostream & | write (std::ostream &os) const |
| Prints the material properties to a stream. More...
|
|
Orthotropic linear elastic material with diagonal constitutive matrix.
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] | ID | External material number |
[in] | Ex | Elasticity modulus in local x-direction |
[in] | Ey | Elasticity modulus in local y-direction |
[in] | Ez | Elasticity modulus in local z-direction |
[in] | Gxy | Shear modulus in the local xy-plane |
[in] | Gxz | Shear modulus in the local xz-plane, default = Gxy |
[in] | Gyz | Shear modulus in the local yz-plane, default = Gxz |
virtual Opm::Elasticity::OrthotropicD::~OrthotropicD |
( |
| ) |
|
|
inlinevirtual |
Empty virtual destructor.
static Material* Opm::Elasticity::Material::create |
( |
int |
ID, |
|
|
const Dune::DynamicVector< double > & |
params |
|
) |
| |
|
staticinherited |
Creates a material object of a given type.
The material type depends on the number of parameters provided.
- Parameters
-
[in] | ID | External number for this material |
[in] | params | Array of material parameters |
Referenced by Opm::Elasticity::IMPL_FUNC().
static Material* Opm::Elasticity::Material::create |
( |
int |
ID, |
|
|
const std::string & |
file |
|
) |
| |
|
staticinherited |
Creates a material object from a rocklist.
- Parameters
-
[in] | ID | ID of the material |
[in] | file | The URL to the rocklist |
virtual bool Opm::Elasticity::OrthotropicD::getConstitutiveMatrix |
( |
Dune::FieldMatrix< double, 6, 6 > & |
C, |
|
|
bool |
invers = false |
|
) |
| const |
|
virtual |
Establishes the full constitutive matrix for this material.
- Parameters
-
[out] | C | The constitutive matrix |
[in] | invers | If true, set up the inverse matrix instead |
Implements Opm::Elasticity::Material.
virtual 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] | C | The constitutive matrix |
[in] | invers | If true, set up the inverse matrix instead |
Implements Opm::Elasticity::Material.
double Opm::Elasticity::Material::getMassDensity |
( |
| ) |
const |
|
inlineinherited |
Returns the mass density of this material.
virtual double Opm::Elasticity::OrthotropicD::getPar |
( |
int |
ipar = 1 | ) |
const |
|
virtual |
int Opm::Elasticity::Material::num |
( |
| ) |
const |
|
inlineinherited |
Returns the external material id.
virtual int Opm::Elasticity::OrthotropicD::numPar |
( |
| ) |
const |
|
inlinevirtual |
virtual std::ostream& Opm::Elasticity::OrthotropicD::write |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
The documentation for this class was generated from the following file: