#include <tutorials/adv-2/src/ThermoElasticOps.hpp>
|
DEPRECATED | OpStressThermal (const std::string field_name, boost::shared_ptr< MatrixDouble > strain_ptr, boost::shared_ptr< VectorDouble > temp_ptr, boost::shared_ptr< MatrixDouble > m_D_ptr, boost::shared_ptr< VectorDouble > coeff_expansion_ptr, boost::shared_ptr< MatrixDouble > stress_ptr) |
|
| OpStressThermal (boost::shared_ptr< MatrixDouble > strain_ptr, boost::shared_ptr< VectorDouble > temp_ptr, boost::shared_ptr< MatrixDouble > m_D_ptr, boost::shared_ptr< VectorDouble > coeff_expansion_ptr, boost::shared_ptr< MatrixDouble > stress_ptr) |
|
MoFEMErrorCode | doWork (int side, EntityType type, EntData &data) |
| [Calculate stress] More...
|
|
◆ OpStressThermal() [1/2]
ThermoElasticOps::OpStressThermal::OpStressThermal |
( |
const std::string |
field_name, |
|
|
boost::shared_ptr< MatrixDouble > |
strain_ptr, |
|
|
boost::shared_ptr< VectorDouble > |
temp_ptr, |
|
|
boost::shared_ptr< MatrixDouble > |
m_D_ptr, |
|
|
boost::shared_ptr< VectorDouble > |
coeff_expansion_ptr, |
|
|
boost::shared_ptr< MatrixDouble > |
stress_ptr |
|
) |
| |
◆ OpStressThermal() [2/2]
ThermoElasticOps::OpStressThermal::OpStressThermal |
( |
boost::shared_ptr< MatrixDouble > |
strain_ptr, |
|
|
boost::shared_ptr< VectorDouble > |
temp_ptr, |
|
|
boost::shared_ptr< MatrixDouble > |
m_D_ptr, |
|
|
boost::shared_ptr< VectorDouble > |
coeff_expansion_ptr, |
|
|
boost::shared_ptr< MatrixDouble > |
stress_ptr |
|
) |
| |
◆ doWork()
MoFEMErrorCode ThermoElasticOps::OpStressThermal::doWork |
( |
int |
side, |
|
|
EntityType |
type, |
|
|
EntData & |
data |
|
) |
| |
[Calculate stress]
- Examples
- ThermoElasticOps.hpp.
Definition at line 139 of file ThermoElasticOps.hpp.
142 const auto nb_gauss_pts = getGaussPts().size2();
145 auto t_D = getFTensor4DdgFromMat<SPACE_DIM, SPACE_DIM, 0>(*
mDPtr);
146 auto t_strain = getFTensor2SymmetricFromMat<SPACE_DIM>(*
strainPtr);
147 auto t_stress = getFTensor2SymmetricFromMat<SPACE_DIM>(*
stressPtr);
156 t_coeff_exp(
i,
j) = 0;
158 t_coeff_exp(
d,
d) = (*coeffExpansionPtr)[
d];
161 for (
size_t gg = 0; gg != nb_gauss_pts; ++gg) {
162 t_stress(
i,
j) = t_D(
i,
j,
k,
l) *
163 (t_strain(
k,
l) - t_coeff_exp(
k,
l) * (t_temp -
ref_temp));
◆ coeffExpansionPtr
boost::shared_ptr<VectorDouble> ThermoElasticOps::OpStressThermal::coeffExpansionPtr |
|
private |
◆ mDPtr
boost::shared_ptr<MatrixDouble> ThermoElasticOps::OpStressThermal::mDPtr |
|
private |
◆ strainPtr
boost::shared_ptr<MatrixDouble> ThermoElasticOps::OpStressThermal::strainPtr |
|
private |
◆ stressPtr
boost::shared_ptr<MatrixDouble> ThermoElasticOps::OpStressThermal::stressPtr |
|
private |
◆ tempPtr
boost::shared_ptr<VectorDouble> ThermoElasticOps::OpStressThermal::tempPtr |
|
private |
The documentation for this struct was generated from the following file: