|
| v0.14.0
|
Implentation of thermal stress element.
More...
#include <users_modules/basic_finite_elements/src/ThermalStressElement.hpp>
Implentation of thermal stress element.
- Examples
- elasticity.cpp.
Definition at line 15 of file ThermalStressElement.hpp.
◆ ThermalStressElement()
◆ addThermalSterssElement()
DEPRECATED MoFEMErrorCode ThermalStressElement::addThermalSterssElement |
( |
const std::string |
fe_name, |
|
|
const std::string |
field_name, |
|
|
const std::string |
thermal_field_name, |
|
|
const std::string |
mesh_nodals_positions = "MESH_NODE_POSITIONS" |
|
) |
| |
|
inline |
◆ addThermalStressElement()
MoFEMErrorCode ThermalStressElement::addThermalStressElement |
( |
const std::string |
fe_name, |
|
|
const std::string |
field_name, |
|
|
const std::string |
thermal_field_name, |
|
|
const std::string |
mesh_nodals_positions = "MESH_NODE_POSITIONS" |
|
) |
| |
|
inline |
Definition at line 155 of file ThermalStressElement.hpp.
170 fe_name, mesh_nodals_positions);
175 CHKERR it->getAttributeDataStructure(mydata);
176 setOfBlocks[it->getMeshsetId()].youngModulus = mydata.data.Young;
177 setOfBlocks[it->getMeshsetId()].poissonRatio = mydata.data.Poisson;
179 mydata.data.ThermalExpansion;
181 it->meshset, MBTET,
setOfBlocks[it->getMeshsetId()].tEts,
true);
183 setOfBlocks[it->getMeshsetId()].tEts, MBTET, fe_name);
188 if (flg == PETSC_TRUE) {
189 PetscPrintf(
mField.
get_comm(),
"set refernce temperature %3.2f\n",
◆ getLoopThermalStressRhs()
MyVolumeFE& ThermalStressElement::getLoopThermalStressRhs |
( |
| ) |
|
|
inline |
◆ setThermalStressRhsOperators()
MoFEMErrorCode ThermalStressElement::setThermalStressRhsOperators |
( |
string |
field_name, |
|
|
string |
thermal_field_name, |
|
|
Vec & |
F, |
|
|
int |
verb = 0 |
|
) |
| |
|
inline |
◆ commonData
◆ feThermalStressRhs
MyVolumeFE ThermalStressElement::feThermalStressRhs |
◆ mField
◆ setOfBlocks
std::map<int, BlockData> ThermalStressElement::setOfBlocks |
The documentation for this struct was generated from the following file:
MoFEM::Interface & mField
virtual MPI_Comm & get_comm() const =0
virtual MoFEMErrorCode modify_finite_element_add_field_row(const std::string &fe_name, const std::string name_row)=0
set field row which finite element use
#define _IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT)
Iterator that loops over a specific Cubit MeshSet in a moFEM field.
MoFEMErrorCode addThermalStressElement(const std::string fe_name, const std::string field_name, const std::string thermal_field_name, const std::string mesh_nodals_positions="MESH_NODE_POSITIONS")
virtual MoFEMErrorCode add_ents_to_finite_element_by_type(const EntityHandle entities, const EntityType type, const std::string &name, const bool recursive=true)=0
add entities to finite element
#define CHKERR
Inline error check.
virtual MoFEMErrorCode add_finite_element(const std::string &fe_name, enum MoFEMTypes bh=MF_EXCL, int verb=DEFAULT_VERBOSITY)=0
add finite element
virtual moab::Interface & get_moab()=0
virtual MoFEMErrorCode modify_finite_element_add_field_col(const std::string &fe_name, const std::string name_row)=0
set field col which finite element use
PetscErrorCode PetscOptionsGetReal(PetscOptions *, const char pre[], const char name[], PetscReal *dval, PetscBool *set)
@ MAT_ELASTICSET
block name is "MAT_ELASTIC"
virtual bool check_field(const std::string &name) const =0
check if field is in database
virtual MoFEMErrorCode modify_finite_element_add_field_data(const std::string &fe_name, const std::string name_field)=0
set finite element field data
MyVolumeFE feThermalStressRhs
constexpr auto field_name
std::map< int, BlockData > setOfBlocks
boost::ptr_deque< UserDataOperator > & getOpPtrVector()
Use to push back operator for row operator.
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...