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.
|
|
| ~Isotropic () 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.
|
|
void | setE (double E_) |
| Set the E modulus of the material.
|
|
double | getE () const |
| Returns the E modulus of the 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.
|
|
virtual | ~Material () |
| Empty virtual destructor.
|
|
int | num () const |
| Returns the external material id.
|
|
double | getMassDensity () const |
| Returns the mass density of this material.
|
|
|
std::ostream & | write (std::ostream &os) const override |
| Prints the material properties to a stream.
|
|
| Material (int ID=0, double density=0.0) |
| Default constructor creating an empty material.
|
|
|
static Material * | create (int ID, const Dune::DynamicVector< double > ¶ms) |
| Creates a material object of a given type.
|
|
static Material * | create (int ID, const std::string &file) |
| Creates a material object from a rocklist.
|
|
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 |
◆ getConstitutiveMatrix() [1/2]
bool Opm::Elasticity::Isotropic::getConstitutiveMatrix |
( |
Dune::FieldMatrix< double, 3, 3 > & |
C, |
|
|
bool |
invers = false |
|
) |
| const |
|
overridevirtual |
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]
bool Opm::Elasticity::Isotropic::getConstitutiveMatrix |
( |
Dune::FieldMatrix< double, 6, 6 > & |
C, |
|
|
bool |
invers = false |
|
) |
| const |
|
overridevirtual |
Establishes the full constitutive matrix for this material.
For edim = 3:
- Parameters
-
[out] | C | The constitutive matrix |
[in] | invers | If true, set up the inverse matrix instead |
For edim = 2 (plain strain):
Implements Opm::Elasticity::Material.
◆ getPar()
double Opm::Elasticity::Isotropic::getPar |
( |
int |
ipar = 1 | ) |
const |
|
inlineoverridevirtual |
◆ numPar()
int Opm::Elasticity::Isotropic::numPar |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ 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()
std::ostream & Opm::Elasticity::Isotropic::write |
( |
std::ostream & |
os | ) |
const |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: