8 #ifndef ELASTICITY_3D_ASSEMBLE_FUNCTIONS_ELASTICITY_3D_H_
9 #define ELASTICITY_3D_ASSEMBLE_FUNCTIONS_ELASTICITY_3D_H_
26 libMesh::Real
eval_lambda_1(libMesh::Real E, libMesh::Real mu);
41 const std::vector<std::vector<libMesh::RealGradient> >& dphi,
43 const unsigned int n_components,
44 const unsigned int n_u_dofs,
45 const std::vector<libMesh::Real>& JxW,
46 libMesh::Number E = 1.0,
47 libMesh::Number mu = 0.4,
53 const std::string& system_name,
59 const std::string& system_name,
62 int traction_boundary_id,
63 std::vector<double> traction_density);
67 const std::string& system_name,
void set_homogeneous_physical_properties(libMesh::EquationSystems &es, std::string &physicalParamsFile)
Set the homogeneous physical properties from a file.
void compute_stresses(libMesh::EquationSystems &es)
Compute the stress (based on one of libMesh's examples)
void assemble_elasticity_heterogeneous_with_weight(libMesh::EquationSystems &es, const std::string &system_name, weight_parameter_function &weight_mask, WeightFunctionSystemType system_type)
Assemble heterogeneous elasticity with domain weights.
void assemble_elasticity_with_weight_and_traction(libMesh::EquationSystems &es, const std::string &system_name, weight_parameter_function &weight_mask, WeightFunctionSystemType system_type, int traction_boundary_id, std::vector< double > traction_density)
Assemble homogeneous elasticity with domain weights and traction.
libMesh::Real eval_lambda_1(libMesh::Real E, libMesh::Real mu)
Calculate lambda_1 from E and Mu.
WeightFunctionSystemType
Enumerate used to define which weight function must be used to assemble the system.
void assemble_elasticity_with_weight(libMesh::EquationSystems &es, const std::string &system_name, weight_parameter_function &weight_mask, WeightFunctionSystemType system_type)
Assemble homogeneous elasticity with domain weights.
void set_heterogeneous_physical_properties(libMesh::EquationSystems &es, std::string &physicalParamsFile)
Set the heterogeneous, isotropic physical properties from a file.
libMesh::Real eval_elasticity_tensor(unsigned int i, unsigned int j, unsigned int k, unsigned int l, libMesh::Number E, libMesh::Number mu)
Calculate the elasticity tensor.
void Update_SubK_isotropic(libMesh::DenseSubMatrix< libMesh::Number > &SubK, unsigned int qp, unsigned int C_i, unsigned int C_k, const std::vector< std::vector< libMesh::RealGradient > > &dphi, const unsigned int n_components, const unsigned int n_u_dofs, const std::vector< libMesh::Real > &JxW, libMesh::Number E=1.0, libMesh::Number mu=0.4, double cte=1)
Calculate the rigidity sub-matrix contribution.
const bool MASTER_bPerfLog_assemble_fem