GRINS-0.6.0
|
Elasticity tensor for Hooke's law. More...
#include <hookes_law.h>
Public Member Functions | |
HookesLaw (const GetPot &input) | |
virtual | ~HookesLaw () |
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... | |
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 | register_parameter (const std::string ¶m_name, libMesh::ParameterMultiPointer< 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 > |
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 34 of file hookes_law.C.
References read_input_options().
|
virtual |
Definition at line 46 of file hookes_law.C.
|
private |
|
inherited |
This is primarily a helper function for the plane stress cases.
|
private |
Definition at line 132 of file hookes_law.C.
|
inherited |
|
inherited |
|
private |
Definition at line 117 of file hookes_law.C.
References _C, and compute_stress_imp().
|
private |
Definition at line 86 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 51 of file hookes_law.C.
References _lambda, _mu, and GRINS::ParameterUser::set_parameter().
Referenced by HookesLaw().
|
virtualinherited |
Each subclass will register its copy of an independent.
Reimplemented in GRINS::AxisymmetricHeatTransfer< Conductivity >, GRINS::LowMachNavierStokesBase< Viscosity, SpecificHeat, ThermalConductivity >, GRINS::IncompressibleNavierStokesBase< Viscosity >, GRINS::BoussinesqBuoyancySPGSMStabilization< Viscosity >, GRINS::HeatConduction< Conductivity >, GRINS::HeatTransferBase< Conductivity >, and GRINS::BoussinesqBuoyancyAdjointStabilization< Viscosity >.
Definition at line 50 of file parameter_user.C.
Referenced by GRINS::BoussinesqBuoyancyAdjointStabilization< Viscosity >::register_parameter(), GRINS::HeatTransferBase< Conductivity >::register_parameter(), GRINS::HeatConduction< Conductivity >::register_parameter(), GRINS::BoussinesqBuoyancySPGSMStabilization< Viscosity >::register_parameter(), GRINS::IncompressibleNavierStokesBase< Viscosity >::register_parameter(), GRINS::LowMachNavierStokesBase< Viscosity, SpecificHeat, ThermalConductivity >::register_parameter(), and GRINS::AxisymmetricHeatTransfer< Conductivity >::register_parameter().
|
virtualinherited |
Each subclass can simultaneously read a parameter value from.
Definition at line 35 of file parameter_user.C.
References GRINS::ParameterUser::_my_name, and GRINS::ParameterUser::_my_parameters.
Referenced by GRINS::AveragedFanAdjointStabilization< Viscosity >::AveragedFanAdjointStabilization(), GRINS::AveragedTurbineAdjointStabilization< Viscosity >::AveragedTurbineAdjointStabilization(), GRINS::BoussinesqBuoyancyAdjointStabilization< Viscosity >::BoussinesqBuoyancyAdjointStabilization(), GRINS::BoussinesqBuoyancyBase::BoussinesqBuoyancyBase(), GRINS::BoussinesqBuoyancySPGSMStabilization< Viscosity >::BoussinesqBuoyancySPGSMStabilization(), GRINS::ConstantConductivity::ConstantConductivity(), GRINS::ConstantPrandtlConductivity::ConstantPrandtlConductivity(), GRINS::ConstantSourceFunction::ConstantSourceFunction(), GRINS::ConstantSourceTerm::ConstantSourceTerm(), GRINS::ConstantSpecificHeat::ConstantSpecificHeat(), GRINS::ConstantViscosity::ConstantViscosity(), GRINS::ElasticCable< StressStrainLaw >::ElasticCable(), GRINS::ElasticCableConstantGravity::ElasticCableConstantGravity(), GRINS::ElasticMembrane< StressStrainLaw >::ElasticMembrane(), GRINS::ElasticMembraneConstantPressure::ElasticMembraneConstantPressure(), GRINS::HeatConduction< Conductivity >::HeatConduction(), GRINS::HeatTransferBase< Conductivity >::HeatTransferBase(), GRINS::IncompressibleNavierStokesBase< Viscosity >::IncompressibleNavierStokesBase(), GRINS::AverageNusseltNumber::init(), GRINS::MooneyRivlin::MooneyRivlin(), GRINS::ReactingLowMachNavierStokesBase< Mixture, Evaluator >::ReactingLowMachNavierStokesBase(), GRINS::HookesLaw1D::read_input_options(), read_input_options(), GRINS::AxisymmetricBoussinesqBuoyancy::read_input_options(), and GRINS::VelocityDragAdjointStabilization< Viscosity >::VelocityDragAdjointStabilization().
|
friend |
Definition at line 55 of file hookes_law.h.
|
private |
Definition at line 84 of file hookes_law.h.
Referenced by compute_stress_and_elasticity_imp(), and compute_stress_imp().
|
private |
Lam\'{e} constant.
Definition at line 87 of file hookes_law.h.
Referenced by compute_33_stress_imp(), compute_stress_imp(), and read_input_options().
|
private |
Lam\'{e} constant.
Definition at line 90 of file hookes_law.h.
Referenced by compute_33_stress_imp(), compute_stress_imp(), and read_input_options().