b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2000::b2dbv3::ElasticityHelperShellResultants< T > Struct Template Reference

#include "b2material_util.H"

Public Member Functions

 ElasticityHelperShellResultants (const T material_ref[3][3], const T covariant_base[3][3])
 
void set_strain (const T strain[8], const T temperature, const T alpha[8])
 
void set_stress_and_or_d_stress_d_strain_mat (const T stress_mat[8], const T d_stress_d_strain_mat[36], T stress[8], T d_stress_d_strain[36])
 
void store (const bool linear, const b2dbv3::FailureCriterion *failure_criterion, b2000::GradientContainer *gradient_container)
 

Public Attributes

bool has_thermal_expansion
 Whether STRAIN_MECHANICAL fields will be written.
 
bool has_material_ref
 
M [3][3]
 
bool has_covariant_base
 
G [3][3]
 
G_d [3][3]
 
strain_gl_mat [8]
 
strain_gl_mat_te [8]
 
stress_pk2_mat [8]
 
failure_index
 

Detailed Description

template<typename T>
struct b2000::b2dbv3::ElasticityHelperShellResultants< T >

Helper class for elastic material models for shell resultants in conjunction with Total-Lagrange 2.5D (shell) elements. It simplifies the implementation of material formulations, but does not need to be used for implementing new material models.

Constructor & Destructor Documentation

◆ ElasticityHelperShellResultants()

template<typename T >
b2000::b2dbv3::ElasticityHelperShellResultants< T >::ElasticityHelperShellResultants ( const T  material_ref[3][3],
const T  covariant_base[3][3] 
)
inline
Parameters
material_refThe orthogonal material reference frame (row-major), typically calculated by the element property from user-specified MBASE. May be 0 for isotropic materials.
covariant_baseThe non-orthogonal covariant basis of the (shell) element. May be 0, depending on the element formulation.

Member Function Documentation

◆ set_strain()

template<typename T >
void b2000::b2dbv3::ElasticityHelperShellResultants< T >::set_strain ( const T  strain[8],
const T  temperature,
const T  alpha[8] 
)
inline

Enter the calculated strain, transform it, and calculate the thermal pre-strain.

Parameters
strainThe linear or Green-Lagrange shell strain as calculated by the element formulation, depending on the covariant_base parameter it is expressed either in the element covariant basis or in the branch-global orthogonal reference frame. The order of the components is [M11, M22, M12, B11, B22, B12, T23, T13]. The shear components are assumed energy-equivalent, hence they must be premultiplied by a factor of 2. The parameter strain may be 0.
temperatureThe temperature difference, invoking a thermal expansion or contraction.
alphaThe thermal expansion coefficients. May be 0.

◆ set_stress_and_or_d_stress_d_strain_mat()

template<typename T >
void b2000::b2dbv3::ElasticityHelperShellResultants< T >::set_stress_and_or_d_stress_d_strain_mat ( const T  stress_mat[8],
const T  d_stress_d_strain_mat[36],
stress[8],
d_stress_d_strain[36] 
)
inline

Enter the calculated stress and/or the tangent constitutive matrix.

Parameters
stress_matThe linear or Second Piola-Kirchhoff shell stress, expressed in the orthogonal material reference frame. The order of the components is [M11, M22, M12, B11, B22, B12, T23, T13]. The parameter stress_mat may be 0. In this case, the stress will be calculated from the strain and the constitutive matrix.
d_stress_d_strain_matThe (tangent) constitutive symmetric 8x8 shell material matrix in lower-packed column-major format, expressed in the orthogonal material reference frame. May be 0 (if d_stress_d_strain is 0).
stressThe transformed shell stress, it is expressed either in the element covariant basis or in the branch-global orthogonal reference frame, depending on the covariant_base parameter. May be 0.
d_stress_d_strainThe (tangent) constitutive symmetric 8x8 shell material matrix in lower-packed column-major format. Depending on the covariant_base parameter, it is expressed either in the element covariant basis or in the branch-global orthogonal reference frame. May be 0.

◆ store()

template<typename T >
void b2000::b2dbv3::ElasticityHelperShellResultants< T >::store ( const bool  linear,
const b2dbv3::FailureCriterion failure_criterion,
b2000::GradientContainer gradient_container 
)
inline

Store the different calculated shell stresses and shell strains, and evaluate the failure index.

Parameters
linearWhether the analysis is geometrically linear.
failure_criterionPointer to a FailureCriterion instance. May be 0.
gradient_containerIs used to store the strains and stresses, the failure indices, etc.

Member Data Documentation

◆ failure_index

template<typename T >
T b2000::b2dbv3::ElasticityHelperShellResultants< T >::failure_index

The failure index as returned from the FailureCriterion instance. Is initialized in the store() method.

◆ G

template<typename T >
T b2000::b2dbv3::ElasticityHelperShellResultants< T >::G[3][3]

Covariant tangent vectors (row-major). Is initialized in the constructor.

◆ G_d

template<typename T >
T b2000::b2dbv3::ElasticityHelperShellResultants< T >::G_d[3][3]

Contravariant tangent vectors (row-major). Is initialized in the constructor.

◆ has_covariant_base

template<typename T >
bool b2000::b2dbv3::ElasticityHelperShellResultants< T >::has_covariant_base

If the covariant basis differs from the identity matrix. Is initialized in the constructor.

◆ has_material_ref

template<typename T >
bool b2000::b2dbv3::ElasticityHelperShellResultants< T >::has_material_ref

If the material reference frame differs from the identity matrix. Is initialized in the constructor.

◆ M

template<typename T >
T b2000::b2dbv3::ElasticityHelperShellResultants< T >::M[3][3]

Material reference frame and its transpose (inverse). Is initialized in the constructor.

◆ strain_gl_mat

template<typename T >
T b2000::b2dbv3::ElasticityHelperShellResultants< T >::strain_gl_mat[8]

Green-Lagrange strain in the material reference frame (mat), without thermal expansion. Is initialized in the set_strain() method.

◆ strain_gl_mat_te

template<typename T >
T b2000::b2dbv3::ElasticityHelperShellResultants< T >::strain_gl_mat_te[8]

Green-Lagrange strain in the material reference frame (mat), including thermal expansion. Is initialized in the set_strain() method.

◆ stress_pk2_mat

template<typename T >
T b2000::b2dbv3::ElasticityHelperShellResultants< T >::stress_pk2_mat[8]

Second Piola-Kirchhoff stress in the material (mat) reference frame. Is initialized in the set_stress_and_or_d_stress_d_strain_mat() method.


The documentation for this struct was generated from the following file: