LifeV
StructuralConstitutiveLawData Class Reference

DataElasticStructure - Data container for solid problems with elastic structure. More...

#include <StructuralConstitutiveLawData.hpp>

+ Collaboration diagram for StructuralConstitutiveLawData:

Private Attributes

timePtr_Type M_time
 Data containers for time and mesh. More...
 
timeAdvancePtr_Type M_timeAdvance
 
Real M_density
 Physics. More...
 
Real M_thickness
 
Real M_externalPressure
 
bool M_materialsFlagSet
 
materialContainer_Type M_poisson
 Young Modulus and Poisson ratio. More...
 
materialContainer_Type M_young
 
materialContainer_Type M_bulk
 Bulk modulus k, alpha, gamma. More...
 
materialContainer_Type M_alpha
 
materialContainer_Type M_gamma
 
std::string M_order
 Space discretization. More...
 
UInt M_verbose
 Miscellaneous. More...
 
std::string M_solidTypeIsotropic
 
std::string M_constitutiveLaw
 
std::string M_solidTypeAnisotropic
 
UInt M_numberFibers
 
vectorParameters_Type M_stiffnessParametersFibers
 
vectorParameters_Type M_nonlinearityParametersFibers
 
vectorParameters_Type M_characteristicStretch
 
vectorParameters_Type M_distributionParametersFibers
 
Real M_epsilon
 
std::string M_fiberActivation
 
Real M_toleranceActivation
 
std::string M_lawType
 
bool M_useExactJacobian
 
vectorFlags_Type M_vectorMaterialFlags
 
UInt M_maxSubIterationNumber
 
Real M_absoluteTolerance
 
Real M_relativeTolerance
 
Real M_errorTolerance
 
UInt M_NonLinearLineSearch
 

Type definitions

typedef TimeData time_Type
 
typedef std::shared_ptr< time_TypetimePtr_Type
 
typedef TimeAdvanceData timeAdvance_Type
 
typedef std::shared_ptr< timeAdvance_TypetimeAdvancePtr_Type
 
typedef std::map< UInt, RealmaterialContainer_Type
 
typedef materialContainer_Type::const_iterator materialContainerIterator_Type
 
typedef std::vector< UIntvectorFlags_Type
 
typedef std::vector< RealvectorParameters_Type
 

Constructors & Destructor

 StructuralConstitutiveLawData ()
 Empty Constructor. More...
 
 StructuralConstitutiveLawData (const StructuralConstitutiveLawData &structuralConstitutiveLawData)
 Copy constructor. More...
 

Operators

StructuralConstitutiveLawDataoperator= (const StructuralConstitutiveLawData &structuralConstitutiveLawData)
 Operator=. More...
 

Methods

void setup (const GetPot &dataFile, const std::string &section="solid")
 Read the dataFile and set all the quantities. More...
 
void showMe (std::ostream &output=std::cout) const
 Display the values. More...
 

Set methods

void setTimeData (const timePtr_Type timeData)
 Set data time container. More...
 
void setTimeAdvanceData (const timeAdvancePtr_Type timeAdvanceData)
 Set data time advance container. More...
 
void setExternalPressure (const Real &externalPressure)
 Set data external pressure for the external surface of the solid. More...
 
void setDensity (const Real &density)
 Set density. More...
 
void setThickness (const Real &thickness)
 Set thickness. More...
 
void setPoisson (const Real &poisson, const UInt &material)
 Set poisson. More...
 
void setYoung (const Real &young, const UInt &material)
 Set Young modulus. More...
 
void setBulk (const Real &bulk, const UInt &material)
 Set bulk modulus (nearly incompressible materials) More...
 
void setAlpha (const Real &alpha, const UInt &material)
 Set Alfa modulus (nearly incompressible materials) More...
 
void setGamma (const Real &gamma, const UInt &material)
 Set Gamma (nearly imcompressible materials) More...
 

Get methods

timePtr_Type dataTime () const
 Get data time container. More...
 
timeAdvancePtr_Type dataTimeAdvance () const
 Get data time advance container. More...
 
const RealexternalPressure () const
 Get the external pressure to be applied to the external surface of the solid. More...
 
const Realrho () const
 Get solid density. More...
 
const Realthickness () const
 Get solid thickness. More...
 
const UInt maxSubIterationNumber () const
 Get solid thickness. More...
 
const Real absoluteTolerance () const
 Get solid thickness. More...
 
const Real relativeTolerance () const
 Get solid reltol newton. More...
 
const Real errorTolerance () const
 Get solid etamax. More...
 
const UInt NonLinearLineSearch () const
 Get solid nonLinear Line Search ofr Newton. More...
 
Real poisson (const UInt &material) const
 Get solid poisson coefficient. More...
 
Real young (const UInt &material) const
 Get solid young modulus. More...
 
Real lambda (const UInt &material) const
 Get solid first lame coefficient. More...
 
Real mu (const UInt &material) const
 Get solid second Lame coefficient. More...
 
Real bulk (const UInt &material=1) const
 Get bulk modulus (nearly incompressible materials) More...
 
Real alpha (const UInt &material=1) const
 Get alpha parameter (nearly incompressible materials) More...
 
Real gamma (const UInt &material=1) const
 Get gamma parameter (nearly incompressible materials) More...
 
const std::string & order () const
 Get FE order. More...
 
const UIntverbose () const
 Get verbose level. More...
 
const std::string & solidTypeIsotropic ()
 Get isotropic law. More...
 
const std::string & constitutiveLaw ()
 Get anisotropic law. More...
 
const std::string & solidTypeAnisotropic ()
 
const UInt numberFibersFamilies ()
 
const Real ithStiffnessFibers (const UInt i)
 
const Real ithNonlinearityFibers (const UInt i)
 
const Real ithCharacteristicStretch (const UInt i)
 
const Real ithDistributionFibers (const UInt i)
 
const Real smoothness (void)
 
const std::string fiberActivation (void)
 
const Real toleranceActivation (void)
 
const std::string & lawType ()
 Get law type. More...
 
const bool & getUseExactJacobian () const
 Get whether to use or not exact Jacobian. More...
 
const vectorFlags_TypevectorFlags () const
 Get the vector of the set material_flags. More...
 

Detailed Description

DataElasticStructure - Data container for solid problems with elastic structure.

Definition at line 61 of file StructuralConstitutiveLawData.hpp.

Member Typedef Documentation

◆ time_Type

Definition at line 68 of file StructuralConstitutiveLawData.hpp.

◆ timePtr_Type

typedef std::shared_ptr< time_Type > timePtr_Type

Definition at line 69 of file StructuralConstitutiveLawData.hpp.

◆ timeAdvance_Type

◆ timeAdvancePtr_Type

typedef std::shared_ptr<timeAdvance_Type> timeAdvancePtr_Type

Definition at line 72 of file StructuralConstitutiveLawData.hpp.

◆ materialContainer_Type

typedef std::map<UInt, Real> materialContainer_Type

Definition at line 74 of file StructuralConstitutiveLawData.hpp.

◆ materialContainerIterator_Type

typedef materialContainer_Type::const_iterator materialContainerIterator_Type

Definition at line 75 of file StructuralConstitutiveLawData.hpp.

◆ vectorFlags_Type

typedef std::vector<UInt> vectorFlags_Type

Definition at line 76 of file StructuralConstitutiveLawData.hpp.

◆ vectorParameters_Type

typedef std::vector<Real> vectorParameters_Type

Definition at line 77 of file StructuralConstitutiveLawData.hpp.

Constructor & Destructor Documentation

◆ StructuralConstitutiveLawData() [1/2]

Empty Constructor.

Definition at line 54 of file StructuralConstitutiveLawData.cpp.

◆ StructuralConstitutiveLawData() [2/2]

StructuralConstitutiveLawData ( const StructuralConstitutiveLawData structuralConstitutiveLawData)

Copy constructor.

Parameters
StructuralConstitutiveLawData- StructuralConstitutiveLawData

Definition at line 90 of file StructuralConstitutiveLawData.cpp.

Member Function Documentation

◆ operator=()

StructuralConstitutiveLawData & operator= ( const StructuralConstitutiveLawData structuralConstitutiveLawData)

◆ setup()

void setup ( const GetPot dataFile,
const std::string &  section = "solid" 
)

Read the dataFile and set all the quantities.

Parameters
dataFiledata file
sectionsection of the file

Definition at line 176 of file StructuralConstitutiveLawData.cpp.

◆ showMe()

void showMe ( std::ostream &  output = std::cout) const

Display the values.

Definition at line 344 of file StructuralConstitutiveLawData.cpp.

◆ setTimeData()

void setTimeData ( const timePtr_Type  timeData)
inline

Set data time container.

Parameters
TimeDatashared_ptr to TimeData container

Definition at line 132 of file StructuralConstitutiveLawData.hpp.

◆ setTimeAdvanceData()

void setTimeAdvanceData ( const timeAdvancePtr_Type  timeAdvanceData)
inline

Set data time advance container.

Parameters
timeAdvanceDatashared_ptr to TimeAdvanceData container

Definition at line 141 of file StructuralConstitutiveLawData.hpp.

◆ setExternalPressure()

void setExternalPressure ( const Real externalPressure)
inline

Set data external pressure for the external surface of the solid.

Parameters
externalPressureexternal pressure value

Definition at line 150 of file StructuralConstitutiveLawData.hpp.

◆ setDensity()

void setDensity ( const Real density)
inline

Set density.

Parameters
densitysolid density value

Definition at line 159 of file StructuralConstitutiveLawData.hpp.

◆ setThickness()

void setThickness ( const Real thickness)
inline

Set thickness.

Parameters
thicknesssolid thickness value

Definition at line 168 of file StructuralConstitutiveLawData.hpp.

◆ setPoisson()

void setPoisson ( const Real poisson,
const UInt material 
)
inline

Set poisson.

Parameters
poissonsolid poisson value
materialmaterial ID (1 by default)

Definition at line 178 of file StructuralConstitutiveLawData.hpp.

◆ setYoung()

void setYoung ( const Real young,
const UInt material 
)
inline

Set Young modulus.

Parameters
SolidYoung modulus value
materialmaterial ID (1 by default)

Definition at line 189 of file StructuralConstitutiveLawData.hpp.

◆ setBulk()

void setBulk ( const Real bulk,
const UInt material 
)
inline

Set bulk modulus (nearly incompressible materials)

Parameters
bulkmodulus value
materialmaterial ID (1 by default)

Definition at line 200 of file StructuralConstitutiveLawData.hpp.

◆ setAlpha()

void setAlpha ( const Real alpha,
const UInt material 
)
inline

Set Alfa modulus (nearly incompressible materials)

Parameters
Alfamodulus value
materialmaterial ID (1 by default)

Definition at line 211 of file StructuralConstitutiveLawData.hpp.

◆ setGamma()

void setGamma ( const Real gamma,
const UInt material 
)
inline

Set Gamma (nearly imcompressible materials)

Parameters
Gammamodulus value
materialmaterial ID (1 by default)

Definition at line 222 of file StructuralConstitutiveLawData.hpp.

◆ dataTime()

timePtr_Type dataTime ( ) const
inline

Get data time container.

Returns
shared_ptr to TimeData container

Definition at line 238 of file StructuralConstitutiveLawData.hpp.

◆ dataTimeAdvance()

timeAdvancePtr_Type dataTimeAdvance ( ) const
inline

Get data time advance container.

Returns
shared_ptr to TimeAdvanceData container

Definition at line 247 of file StructuralConstitutiveLawData.hpp.

◆ externalPressure()

const Real& externalPressure ( ) const
inline

Get the external pressure to be applied to the external surface of the solid.

Returns
the value of the external pressure

Definition at line 256 of file StructuralConstitutiveLawData.hpp.

◆ rho()

const Real& rho ( ) const
inline

Get solid density.

Returns
Solid density

Definition at line 265 of file StructuralConstitutiveLawData.hpp.

◆ thickness()

const Real& thickness ( ) const
inline

Get solid thickness.

Returns
Solid thickness

Definition at line 274 of file StructuralConstitutiveLawData.hpp.

◆ maxSubIterationNumber()

const UInt maxSubIterationNumber ( ) const
inline

Get solid thickness.

Returns
Solid thickness

Definition at line 283 of file StructuralConstitutiveLawData.hpp.

◆ absoluteTolerance()

const Real absoluteTolerance ( ) const
inline

Get solid thickness.

Returns
Solid thickness

Definition at line 291 of file StructuralConstitutiveLawData.hpp.

◆ relativeTolerance()

const Real relativeTolerance ( ) const
inline

Get solid reltol newton.

Returns
Solid reltol newton

Definition at line 299 of file StructuralConstitutiveLawData.hpp.

◆ errorTolerance()

const Real errorTolerance ( ) const
inline

Get solid etamax.

Returns
Solid etamax

Definition at line 307 of file StructuralConstitutiveLawData.hpp.

◆ NonLinearLineSearch()

const UInt NonLinearLineSearch ( ) const
inline

Get solid nonLinear Line Search ofr Newton.

Returns
nonLinearLineSearch

Definition at line 315 of file StructuralConstitutiveLawData.hpp.

◆ poisson()

Real poisson ( const UInt material) const

Get solid poisson coefficient.

Parameters
materialmaterial ID (1 by default)
Returns
Solid poisson coefficient

Definition at line 438 of file StructuralConstitutiveLawData.cpp.

◆ young()

Real young ( const UInt material) const

Get solid young modulus.

Parameters
materialmaterial ID (1 by default)
Returns
Solid young modulus

Definition at line 463 of file StructuralConstitutiveLawData.cpp.

◆ lambda()

Real lambda ( const UInt material) const

Get solid first lame coefficient.

Parameters
materialmaterial ID (1 by default)
Returns
Solid first Lame coefficient

Definition at line 560 of file StructuralConstitutiveLawData.cpp.

◆ mu()

Real mu ( const UInt material) const

Get solid second Lame coefficient.

Parameters
materialmaterial ID (1 by default)
Returns
Solid second Lame coefficient

Definition at line 571 of file StructuralConstitutiveLawData.cpp.

◆ bulk()

Real bulk ( const UInt material = 1) const

Get bulk modulus (nearly incompressible materials)

Parameters
materialmaterial ID (1 by default)
Returns
bulk modulus

Definition at line 487 of file StructuralConstitutiveLawData.cpp.

◆ alpha()

Real alpha ( const UInt material = 1) const

Get alpha parameter (nearly incompressible materials)

Parameters
materialmaterial ID (1 by default)
Returns
alpha parameter (neraly incompressible materials)

Definition at line 511 of file StructuralConstitutiveLawData.cpp.

◆ gamma()

Real gamma ( const UInt material = 1) const

Get gamma parameter (nearly incompressible materials)

Parameters
materialmaterial ID (1 by default)
Returns
gamma parameter (nearly incompressible materials)

Definition at line 535 of file StructuralConstitutiveLawData.cpp.

◆ order()

const std::string& order ( ) const
inline

Get FE order.

Returns
FE order

Definition at line 374 of file StructuralConstitutiveLawData.hpp.

◆ verbose()

const UInt& verbose ( ) const
inline

Get verbose level.

Returns
verbose level

Definition at line 383 of file StructuralConstitutiveLawData.hpp.

◆ solidTypeIsotropic()

const std::string& solidTypeIsotropic ( )
inline

Get isotropic law.

Returns
solid type isotropic

Definition at line 392 of file StructuralConstitutiveLawData.hpp.

◆ constitutiveLaw()

const std::string& constitutiveLaw ( )
inline

Get anisotropic law.

Returns
solid type anisotropic

Definition at line 402 of file StructuralConstitutiveLawData.hpp.

◆ solidTypeAnisotropic()

const std::string& solidTypeAnisotropic ( )
inline

Definition at line 407 of file StructuralConstitutiveLawData.hpp.

◆ numberFibersFamilies()

const UInt numberFibersFamilies ( )
inline

Definition at line 412 of file StructuralConstitutiveLawData.hpp.

◆ ithStiffnessFibers()

const Real ithStiffnessFibers ( const UInt  i)
inline

Definition at line 417 of file StructuralConstitutiveLawData.hpp.

◆ ithNonlinearityFibers()

const Real ithNonlinearityFibers ( const UInt  i)
inline

Definition at line 422 of file StructuralConstitutiveLawData.hpp.

◆ ithCharacteristicStretch()

const Real ithCharacteristicStretch ( const UInt  i)
inline

Definition at line 427 of file StructuralConstitutiveLawData.hpp.

◆ ithDistributionFibers()

const Real ithDistributionFibers ( const UInt  i)
inline

Definition at line 432 of file StructuralConstitutiveLawData.hpp.

◆ smoothness()

const Real smoothness ( void  )
inline

Definition at line 437 of file StructuralConstitutiveLawData.hpp.

◆ fiberActivation()

const std::string fiberActivation ( void  )
inline

Definition at line 442 of file StructuralConstitutiveLawData.hpp.

◆ toleranceActivation()

const Real toleranceActivation ( void  )
inline

Definition at line 447 of file StructuralConstitutiveLawData.hpp.

◆ lawType()

const std::string& lawType ( )
inline

Get law type.

Returns
law type

Definition at line 458 of file StructuralConstitutiveLawData.hpp.

◆ getUseExactJacobian()

const bool& getUseExactJacobian ( ) const
inline

Get whether to use or not exact Jacobian.

Returns
true: if using exact Jacobian, false: otherwise

Definition at line 467 of file StructuralConstitutiveLawData.hpp.

◆ vectorFlags()

const vectorFlags_Type& vectorFlags ( ) const
inline

Get the vector of the set material_flags.

Returns
the vector of the material_flags set in the data file

Definition at line 477 of file StructuralConstitutiveLawData.hpp.

Field Documentation

◆ M_time

timePtr_Type M_time
private

Data containers for time and mesh.

Definition at line 487 of file StructuralConstitutiveLawData.hpp.

◆ M_timeAdvance

timeAdvancePtr_Type M_timeAdvance
private

Definition at line 488 of file StructuralConstitutiveLawData.hpp.

◆ M_density

Real M_density
private

Physics.

Definition at line 491 of file StructuralConstitutiveLawData.hpp.

◆ M_thickness

Real M_thickness
private

Definition at line 492 of file StructuralConstitutiveLawData.hpp.

◆ M_externalPressure

Real M_externalPressure
private

Definition at line 493 of file StructuralConstitutiveLawData.hpp.

◆ M_materialsFlagSet

bool M_materialsFlagSet
private

Definition at line 495 of file StructuralConstitutiveLawData.hpp.

◆ M_poisson

materialContainer_Type M_poisson
private

Young Modulus and Poisson ratio.

Definition at line 498 of file StructuralConstitutiveLawData.hpp.

◆ M_young

materialContainer_Type M_young
private

Definition at line 499 of file StructuralConstitutiveLawData.hpp.

◆ M_bulk

materialContainer_Type M_bulk
private

Bulk modulus k, alpha, gamma.

Definition at line 502 of file StructuralConstitutiveLawData.hpp.

◆ M_alpha

materialContainer_Type M_alpha
private

Definition at line 503 of file StructuralConstitutiveLawData.hpp.

◆ M_gamma

materialContainer_Type M_gamma
private

Definition at line 504 of file StructuralConstitutiveLawData.hpp.

◆ M_order

std::string M_order
private

Space discretization.

Definition at line 507 of file StructuralConstitutiveLawData.hpp.

◆ M_verbose

UInt M_verbose
private

Miscellaneous.

Definition at line 510 of file StructuralConstitutiveLawData.hpp.

◆ M_solidTypeIsotropic

std::string M_solidTypeIsotropic
private

Definition at line 512 of file StructuralConstitutiveLawData.hpp.

◆ M_constitutiveLaw

std::string M_constitutiveLaw
private

Definition at line 513 of file StructuralConstitutiveLawData.hpp.

◆ M_solidTypeAnisotropic

std::string M_solidTypeAnisotropic
private

Definition at line 514 of file StructuralConstitutiveLawData.hpp.

◆ M_numberFibers

UInt M_numberFibers
private

Definition at line 515 of file StructuralConstitutiveLawData.hpp.

◆ M_stiffnessParametersFibers

vectorParameters_Type M_stiffnessParametersFibers
private

Definition at line 516 of file StructuralConstitutiveLawData.hpp.

◆ M_nonlinearityParametersFibers

vectorParameters_Type M_nonlinearityParametersFibers
private

Definition at line 517 of file StructuralConstitutiveLawData.hpp.

◆ M_characteristicStretch

vectorParameters_Type M_characteristicStretch
private

Definition at line 518 of file StructuralConstitutiveLawData.hpp.

◆ M_distributionParametersFibers

vectorParameters_Type M_distributionParametersFibers
private

Definition at line 519 of file StructuralConstitutiveLawData.hpp.

◆ M_epsilon

Real M_epsilon
private

Definition at line 520 of file StructuralConstitutiveLawData.hpp.

◆ M_fiberActivation

std::string M_fiberActivation
private

Definition at line 521 of file StructuralConstitutiveLawData.hpp.

◆ M_toleranceActivation

Real M_toleranceActivation
private

Definition at line 522 of file StructuralConstitutiveLawData.hpp.

◆ M_lawType

std::string M_lawType
private

Definition at line 523 of file StructuralConstitutiveLawData.hpp.

◆ M_useExactJacobian

bool M_useExactJacobian
private

Definition at line 524 of file StructuralConstitutiveLawData.hpp.

◆ M_vectorMaterialFlags

vectorFlags_Type M_vectorMaterialFlags
private

Definition at line 526 of file StructuralConstitutiveLawData.hpp.

◆ M_maxSubIterationNumber

UInt M_maxSubIterationNumber
private

Definition at line 528 of file StructuralConstitutiveLawData.hpp.

◆ M_absoluteTolerance

Real M_absoluteTolerance
private

Definition at line 529 of file StructuralConstitutiveLawData.hpp.

◆ M_relativeTolerance

Real M_relativeTolerance
private

Definition at line 530 of file StructuralConstitutiveLawData.hpp.

◆ M_errorTolerance

Real M_errorTolerance
private

Definition at line 531 of file StructuralConstitutiveLawData.hpp.

◆ M_NonLinearLineSearch

UInt M_NonLinearLineSearch
private

Definition at line 532 of file StructuralConstitutiveLawData.hpp.


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