Isotropic linear elastic material.
More...
#include <materials.hh>
|
| Isotropic (int ID, double Emod, double Poisson, double rho_=0.0) |
| Constructor creating a new isotropic material. More...
|
|
virtual | ~Isotropic () |
| 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...
|
|
void | setE (double E_) |
| Set the E modulus of the material. More...
|
|
double | getE () const |
| Returns the E modulus of the 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...
|
|
Isotropic linear elastic material.
◆ Isotropic()
Opm::Elasticity::Isotropic::Isotropic |
( |
int |
ID, |
|
|
double |
Emod, |
|
|
double |
Poisson, |
|
|
double |
rho_ = 0.0 |
|
) |
| |
|
inline |
Constructor creating a new isotropic material.
- Parameters
-
[in] | ID | External material number |
[in] | Emod | Young's modulus |
[in] | Poisson | Poisson's ratio |
[in] | rho_ | Mass density |
References Opm::Elasticity::Emod.
◆ ~Isotropic()
virtual Opm::Elasticity::Isotropic::~Isotropic |
( |
| ) |
|
|
inlinevirtual |
Empty virtual destructor.
◆ create() [1/2]
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().
◆ create() [2/2]
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 |
◆ getConstitutiveMatrix() [1/2]
virtual bool Opm::Elasticity::Isotropic::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.
◆ getConstitutiveMatrix() [2/2]
virtual bool Opm::Elasticity::Isotropic::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.
◆ getE()
double Opm::Elasticity::Isotropic::getE |
( |
| ) |
const |
|
inline |
Returns the E modulus of the material.
◆ getMassDensity()
double Opm::Elasticity::Material::getMassDensity |
( |
| ) |
const |
|
inlineinherited |
Returns the mass density of this material.
◆ getPar()
virtual double Opm::Elasticity::Isotropic::getPar |
( |
int |
ipar = 1 | ) |
const |
|
inlinevirtual |
◆ num()
int Opm::Elasticity::Material::num |
( |
| ) |
const |
|
inlineinherited |
Returns the external material id.
◆ numPar()
virtual int Opm::Elasticity::Isotropic::numPar |
( |
| ) |
const |
|
inlinevirtual |
◆ setE()
void Opm::Elasticity::Isotropic::setE |
( |
double |
E_ | ) |
|
|
inline |
Set the E modulus of the material.
- Parameters
-
[in] | E_ | The E modulus to be set |
◆ write()
virtual std::ostream & Opm::Elasticity::Isotropic::write |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
The documentation for this class was generated from the following file: