Public Types | Public Member Functions | Private Attributes

LCM::Porosity< EvalT, Traits > Class Template Reference

Evaluates porosity, either as a constant or a truncated KL expansion. More...

#include <Porosity.hpp>

Collaboration diagram for LCM::Porosity< EvalT, Traits >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef EvalT::ScalarT ScalarT
typedef EvalT::MeshScalarT MeshScalarT

Public Member Functions

 Porosity (Teuchos::ParameterList &p, const Teuchos::RCP< Albany::Layouts > &dl)
 Constructor.
void postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)
 Phalanx method to allocate space.
void evaluateFields (typename Traits::EvalData d)
 Implementation of physics.
ScalarTgetValue (const std::string &n)
 Sacado method to access parameters.

Private Attributes

std::size_t numQPs
 Number of integration points.
std::size_t numDims
 Number of problem dimensions.
PHX::MDField< MeshScalarT,
Cell, QuadPoint, Dim
coordVec
 Container for coordinates.
PHX::MDField< ScalarT, Cell,
QuadPoint
porosity
 Container for porosity.
bool is_constant
 Is porosity constant, or random field.
ScalarT constant_value
 Constant value.
PHX::MDField< ScalarT, Cell,
QuadPoint, Dim, Dim
strain
 Optional dependence on strain and porePressure.
PHX::MDField< ScalarT, Cell,
QuadPoint
J
 Optional dependence on det(F).
bool isPoroElastic
 flag to indicated usage in poroelastic context
bool isCompressibleSolidPhase
 flag
bool isCompressibleFluidPhase
 flag
ScalarT initialPorosityValue
 initial state
PHX::MDField< ScalarT, Cell,
QuadPoint
biotCoefficient
 For compressible grain.
PHX::MDField< ScalarT, Cell,
QuadPoint
porePressure
 For compressible grain.
ScalarT GrainBulkModulus
 For compressible grain.
PHX::MDField< ScalarT, Cell,
QuadPoint
Temperature
 For THM porous media.
PHX::MDField< ScalarT, Cell,
QuadPoint
skeletonThermalExpansion
 For THM porous media.
PHX::MDField< ScalarT, Cell,
QuadPoint
refTemperature
 For THM porous media.
Teuchos::RCP
< Stokhos::KL::ExponentialRandomField
< MeshScalarT > > 
exp_rf_kl
 Exponential random field.
Teuchos::Array< ScalarTrv
 Values of the random variables.
bool hasStrain
 Strain flag.
bool hasJ
 J flag.
bool hasTemp
 J flag.

Detailed Description

template<typename EvalT, typename Traits>
class LCM::Porosity< EvalT, Traits >

Evaluates porosity, either as a constant or a truncated KL expansion.

Porosity update is the most important part for the poromechanics formulation. All poroelasticity parameters (Biot Coefficient, Biot modulus, permeability, and consistent tangential tensor) depend on porosity. The definition we used here is from Coussy's poromechanics p.85.

Definition at line 33 of file Porosity.hpp.


Member Typedef Documentation

template<typename EvalT, typename Traits>
typedef EvalT::ScalarT LCM::Porosity< EvalT, Traits >::ScalarT

Definition at line 39 of file Porosity.hpp.

template<typename EvalT, typename Traits>
typedef EvalT::MeshScalarT LCM::Porosity< EvalT, Traits >::MeshScalarT

Definition at line 40 of file Porosity.hpp.


Constructor & Destructor Documentation

template<typename EvalT , typename Traits >
LCM::Porosity< EvalT, Traits >::Porosity ( Teuchos::ParameterList &  p,
const Teuchos::RCP< Albany::Layouts > &  dl 
)

Constructor.

Definition at line 18 of file Porosity_Def.hpp.


Member Function Documentation

template<typename EvalT , typename Traits >
void LCM::Porosity< EvalT, Traits >::postRegistrationSetup ( typename Traits::SetupData  d,
PHX::FieldManager< Traits > &  vm 
)

Phalanx method to allocate space.

Definition at line 180 of file Porosity_Def.hpp.

template<typename EvalT , typename Traits >
void LCM::Porosity< EvalT, Traits >::evaluateFields ( typename Traits::EvalData  d  ) 

Implementation of physics.

Definition at line 198 of file Porosity_Def.hpp.

template<typename EvalT , typename Traits >
Porosity< EvalT, Traits >::ScalarT & LCM::Porosity< EvalT, Traits >::getValue ( const std::string &  n  ) 

Sacado method to access parameters.

Definition at line 304 of file Porosity_Def.hpp.


Member Data Documentation

template<typename EvalT, typename Traits>
std::size_t LCM::Porosity< EvalT, Traits >::numQPs [private]

Number of integration points.

Definition at line 69 of file Porosity.hpp.

template<typename EvalT, typename Traits>
std::size_t LCM::Porosity< EvalT, Traits >::numDims [private]

Number of problem dimensions.

Definition at line 74 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> LCM::Porosity< EvalT, Traits >::coordVec [private]

Container for coordinates.

Definition at line 79 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Porosity< EvalT, Traits >::porosity [private]

Container for porosity.

Definition at line 84 of file Porosity.hpp.

template<typename EvalT, typename Traits>
bool LCM::Porosity< EvalT, Traits >::is_constant [private]

Is porosity constant, or random field.

Definition at line 89 of file Porosity.hpp.

template<typename EvalT, typename Traits>
ScalarT LCM::Porosity< EvalT, Traits >::constant_value [private]

Constant value.

Definition at line 94 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint,Dim,Dim> LCM::Porosity< EvalT, Traits >::strain [private]

Optional dependence on strain and porePressure.

porosity holds linear relation to volumetric strain

Definition at line 100 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Porosity< EvalT, Traits >::J [private]

Optional dependence on det(F).

Definition at line 105 of file Porosity.hpp.

template<typename EvalT, typename Traits>
bool LCM::Porosity< EvalT, Traits >::isPoroElastic [private]

flag to indicated usage in poroelastic context

Definition at line 110 of file Porosity.hpp.

template<typename EvalT, typename Traits>
bool LCM::Porosity< EvalT, Traits >::isCompressibleSolidPhase [private]

flag

Definition at line 115 of file Porosity.hpp.

template<typename EvalT, typename Traits>
bool LCM::Porosity< EvalT, Traits >::isCompressibleFluidPhase [private]

flag

Definition at line 120 of file Porosity.hpp.

template<typename EvalT, typename Traits>
ScalarT LCM::Porosity< EvalT, Traits >::initialPorosityValue [private]

initial state

Definition at line 125 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Porosity< EvalT, Traits >::biotCoefficient [private]

For compressible grain.

Definition at line 130 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Porosity< EvalT, Traits >::porePressure [private]

For compressible grain.

Definition at line 135 of file Porosity.hpp.

template<typename EvalT, typename Traits>
ScalarT LCM::Porosity< EvalT, Traits >::GrainBulkModulus [private]

For compressible grain.

Definition at line 140 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Porosity< EvalT, Traits >::Temperature [private]

For THM porous media.

Definition at line 145 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Porosity< EvalT, Traits >::skeletonThermalExpansion [private]

For THM porous media.

Definition at line 150 of file Porosity.hpp.

template<typename EvalT, typename Traits>
PHX::MDField<ScalarT,Cell,QuadPoint> LCM::Porosity< EvalT, Traits >::refTemperature [private]

For THM porous media.

Definition at line 155 of file Porosity.hpp.

template<typename EvalT, typename Traits>
Teuchos::RCP< Stokhos::KL::ExponentialRandomField<MeshScalarT> > LCM::Porosity< EvalT, Traits >::exp_rf_kl [private]

Exponential random field.

Definition at line 160 of file Porosity.hpp.

template<typename EvalT, typename Traits>
Teuchos::Array<ScalarT> LCM::Porosity< EvalT, Traits >::rv [private]

Values of the random variables.

Definition at line 165 of file Porosity.hpp.

template<typename EvalT, typename Traits>
bool LCM::Porosity< EvalT, Traits >::hasStrain [private]

Strain flag.

Definition at line 170 of file Porosity.hpp.

template<typename EvalT, typename Traits>
bool LCM::Porosity< EvalT, Traits >::hasJ [private]

J flag.

Definition at line 175 of file Porosity.hpp.

template<typename EvalT, typename Traits>
bool LCM::Porosity< EvalT, Traits >::hasTemp [private]

J flag.

Definition at line 180 of file Porosity.hpp.


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