GRINS-0.8.0
|
Hooke's law specialized for one-dimensional problems. More...
#include <hookes_law_1d.h>
Public Member Functions | |
HookesLaw1D (const GetPot &input) | |
HookesLaw1D (const GetPot &input, const std::string &material) | |
virtual | ~HookesLaw1D () |
Public Member Functions inherited from GRINS::StressStrainLaw< HookesLaw1D > | |
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 | |
HookesLaw1D () | |
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 | |
libMesh::Real | _E |
Lam\'{e} constant. More... | |
libMesh::Real | _nu |
Lam\'{e} constant. More... | |
Friends | |
class | StressStrainLaw< HookesLaw1D > |
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... | |
Hooke's law specialized for one-dimensional problems.
General form is not conducive to one-dimensional problems so this should be used in those cases.
Definition at line 43 of file hookes_law_1d.h.
GRINS::HookesLaw1D::HookesLaw1D | ( | const GetPot & | input | ) |
Definition at line 39 of file hookes_law_1d.C.
References grins_warning, and read_input_options().
GRINS::HookesLaw1D::HookesLaw1D | ( | const GetPot & | input, |
const std::string & | material | ||
) |
Definition at line 57 of file hookes_law_1d.C.
References _E, _nu, GRINS::MaterialsParsing::dep_input_warning(), GRINS::MaterialsParsing::duplicate_input_test(), grins_warning, and GRINS::ParameterUser::set_parameter().
|
virtual |
Definition at line 138 of file hookes_law_1d.C.
|
private |
|
private |
Definition at line 209 of file hookes_law_1d.C.
|
private |
Definition at line 194 of file hookes_law_1d.C.
References _E, and compute_stress_imp().
|
private |
Definition at line 178 of file hookes_law_1d.C.
References _E.
Referenced by compute_stress_and_elasticity_imp().
|
private |
Parse properties from input.
Definition at line 143 of file hookes_law_1d.C.
References _E, _nu, and GRINS::ParameterUser::set_parameter().
Referenced by HookesLaw1D().
|
friend |
Definition at line 55 of file hookes_law_1d.h.
|
private |
Lam\'{e} constant.
Definition at line 85 of file hookes_law_1d.h.
Referenced by compute_stress_and_elasticity_imp(), compute_stress_imp(), HookesLaw1D(), and read_input_options().
|
private |
Lam\'{e} constant.
Definition at line 88 of file hookes_law_1d.h.
Referenced by HookesLaw1D(), and read_input_options().