GRINS-0.8.0
|
Elasticity tensor for Hooke's law. More...
#include <hookes_law.h>
Public Member Functions | |
HookesLaw (const GetPot &input) | |
HookesLaw (const GetPot &input, const std::string &material) | |
virtual | ~HookesLaw () |
Public Member Functions inherited from GRINS::StressStrainLaw< HookesLaw > | |
StressStrainLaw () | |
virtual | ~StressStrainLaw () |
void | compute_stress (unsigned int dim, const libMesh::TensorValue< libMesh::Real > &g_contra, const libMesh::TensorValue< libMesh::Real > &g_cov, const libMesh::TensorValue< libMesh::Real > &G_contra, const libMesh::TensorValue< libMesh::Real > &G_cov, libMesh::TensorValue< libMesh::Real > &stress) |
void | compute_stress_and_elasticity (unsigned int dim, const libMesh::TensorValue< libMesh::Real > &g_contra, const libMesh::TensorValue< libMesh::Real > &g_cov, const libMesh::TensorValue< libMesh::Real > &G_contra, const libMesh::TensorValue< libMesh::Real > &G_cov, libMesh::TensorValue< libMesh::Real > &stress, ElasticityTensor &C) |
libMesh::Real | compute_33_stress (const libMesh::TensorValue< libMesh::Real > &g_contra, const libMesh::TensorValue< libMesh::Real > &g_cov, const libMesh::TensorValue< libMesh::Real > &G_contra, const libMesh::TensorValue< libMesh::Real > &G_cov) |
This is primarily a helper function for the plane stress cases. More... | |
Public Member Functions inherited from GRINS::ParameterUser | |
ParameterUser (const std::string &user_name) | |
virtual | ~ParameterUser () |
virtual void | set_parameter (libMesh::Number ¶m_variable, const GetPot &input, const std::string ¶m_name, libMesh::Number param_default) |
Each subclass can simultaneously read a parameter value from. More... | |
virtual void | set_parameter (libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | set_parameter (libMesh::ParsedFEMFunction< libMesh::Number > &func, const GetPot &input, const std::string &func_param_name, const std::string ¶m_default) |
Each subclass can simultaneously read a parsed function from. More... | |
virtual void | move_parameter (const libMesh::Number &old_parameter, libMesh::Number &new_parameter) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &old_func, libMesh::ParsedFunction< libMesh::Number, libMesh::Gradient > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | move_parameter (const libMesh::ParsedFEMFunction< libMesh::Number > &old_func, libMesh::ParsedFEMFunction< libMesh::Number > &new_func) |
When cloning an object, we need to update parameter pointers. More... | |
virtual void | register_parameter (const std::string ¶m_name, libMesh::ParameterMultiAccessor< libMesh::Number > ¶m_pointer) const |
Each subclass will register its copy of an independent. More... | |
Private Member Functions | |
HookesLaw () | |
void | read_input_options (const GetPot &input) |
Parse properties from input. More... | |
void | compute_stress_imp (unsigned int dim, const libMesh::TensorValue< libMesh::Real > &g_contra, const libMesh::TensorValue< libMesh::Real > &g_cov, const libMesh::TensorValue< libMesh::Real > &G_contra, const libMesh::TensorValue< libMesh::Real > &G_cov, libMesh::TensorValue< libMesh::Real > &stress) |
void | compute_stress_and_elasticity_imp (unsigned int dim, const libMesh::TensorValue< libMesh::Real > &g_contra, const libMesh::TensorValue< libMesh::Real > &g_cov, const libMesh::TensorValue< libMesh::Real > &G_contra, const libMesh::TensorValue< libMesh::Real > &G_cov, libMesh::TensorValue< libMesh::Real > &stress, ElasticityTensor &C) |
libMesh::Real | compute_33_stress_imp (const libMesh::TensorValue< libMesh::Real > &g_contra, const libMesh::TensorValue< libMesh::Real > &g_cov, const libMesh::TensorValue< libMesh::Real > &G_contra, const libMesh::TensorValue< libMesh::Real > &G_cov) |
Private Attributes | |
ElasticityTensor | _C |
libMesh::Real | _lambda |
Lam\'{e} constant. More... | |
libMesh::Real | _mu |
Lam\'{e} constant. More... | |
Friends | |
class | StressStrainLaw< HookesLaw > |
Additional Inherited Members | |
Static Public Attributes inherited from GRINS::ParameterUser | |
static std::string | zero_vector_function = std::string("{0}") |
A parseable function string with LIBMESH_DIM components, all 0. More... | |
Elasticity tensor for Hooke's law.
Uses Lam\'{e} constants, but can parse Young's modulus and Poisson's ratio if desired. By default, is constructed for Cartesian coordinate systems. If working with curvilinear coordinate systems, the user should call the set_deformation method before calling operator().
Definition at line 46 of file hookes_law.h.
GRINS::HookesLaw::HookesLaw | ( | const GetPot & | input | ) |
Definition at line 38 of file hookes_law.C.
References grins_warning, and read_input_options().
GRINS::HookesLaw::HookesLaw | ( | const GetPot & | input, |
const std::string & | material | ||
) |
Definition at line 57 of file hookes_law.C.
References _lambda, _mu, GRINS::MaterialsParsing::dep_input_warning(), GRINS::MaterialsParsing::duplicate_input_test(), grins_warning, and GRINS::ParameterUser::set_parameter().
|
virtual |
Definition at line 140 of file hookes_law.C.
|
private |
|
private |
Definition at line 226 of file hookes_law.C.
|
private |
Definition at line 211 of file hookes_law.C.
References _C, and compute_stress_imp().
|
private |
Definition at line 180 of file hookes_law.C.
References _C, _lambda, and _mu.
Referenced by compute_stress_and_elasticity_imp().
|
private |
Parse properties from input.
Definition at line 145 of file hookes_law.C.
References _lambda, _mu, and GRINS::ParameterUser::set_parameter().
Referenced by HookesLaw().
|
friend |
Definition at line 58 of file hookes_law.h.
|
private |
Definition at line 87 of file hookes_law.h.
Referenced by compute_stress_and_elasticity_imp(), and compute_stress_imp().
|
private |
Lam\'{e} constant.
Definition at line 90 of file hookes_law.h.
Referenced by compute_33_stress_imp(), compute_stress_imp(), HookesLaw(), and read_input_options().
|
private |
Lam\'{e} constant.
Definition at line 93 of file hookes_law.h.
Referenced by compute_33_stress_imp(), compute_stress_imp(), HookesLaw(), and read_input_options().