v0.15.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp > Struct Template Reference

#include "users_modules/multifield-thermoplasticity-private/tutorials/adv-0/src/PlasticOpsGeneric.hpp"

Inheritance diagram for PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >:
[legend]
Collaboration diagram for PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >:
[legend]

Public Member Functions

DEPRECATED OpPlasticStressImpl (const std::string field_name, boost::shared_ptr< CommonData > common_data_ptr, boost::shared_ptr< MatrixDouble > mDPtr)
 
 OpPlasticStressImpl (boost::shared_ptr< CommonData > common_data_ptr, boost::shared_ptr< MatrixDouble > mDPtr)
 
MoFEMErrorCode doWork (int side, EntityType type, EntData &data)
 [Calculate stress]
 
DEPRECATED OpPlasticStressImpl (const std::string field_name, boost::shared_ptr< CommonData > common_data_ptr, boost::shared_ptr< MatrixDouble > mDPtr)
 
 OpPlasticStressImpl (boost::shared_ptr< CommonData > common_data_ptr, boost::shared_ptr< MatrixDouble > mDPtr)
 
MoFEMErrorCode doWork (int side, EntityType type, EntData &data)
 

Private Attributes

boost::shared_ptr< MatrixDouble > mDPtr
 
boost::shared_ptr< CommonDatacommonDataPtr
 

Detailed Description

template<int DIM, typename DomainEleOp>
struct PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >

Definition at line 753 of file PlasticOpsGeneric.hpp.

Constructor & Destructor Documentation

◆ OpPlasticStressImpl() [1/4]

template<int DIM, typename DomainEleOp >
PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::OpPlasticStressImpl ( const std::string  field_name,
boost::shared_ptr< CommonData common_data_ptr,
boost::shared_ptr< MatrixDouble >  mDPtr 
)
Deprecated:
do not use this constructor

Definition at line 772 of file PlasticOpsGeneric.hpp.

◆ OpPlasticStressImpl() [2/4]

template<int DIM, typename DomainEleOp >
PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::OpPlasticStressImpl ( boost::shared_ptr< CommonData common_data_ptr,
boost::shared_ptr< MatrixDouble >  mDPtr 
)

Definition at line 783 of file PlasticOpsGeneric.hpp.

◆ OpPlasticStressImpl() [3/4]

template<int DIM, typename DomainEleOp >
DEPRECATED PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::OpPlasticStressImpl ( const std::string  field_name,
boost::shared_ptr< CommonData common_data_ptr,
boost::shared_ptr< MatrixDouble >  mDPtr 
)
Deprecated:
do not use this constructor

◆ OpPlasticStressImpl() [4/4]

template<int DIM, typename DomainEleOp >
PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::OpPlasticStressImpl ( boost::shared_ptr< CommonData common_data_ptr,
boost::shared_ptr< MatrixDouble >  mDPtr 
)

Member Function Documentation

◆ doWork() [1/2]

template<int DIM, typename DomainEleOp >
MoFEMErrorCode PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::doWork ( int  side,
EntityType  type,
EntData data 
)

[Calculate stress]

Definition at line 792 of file PlasticOpsGeneric.hpp.

808 { return c; };
809
810 auto get_res_c_dstrain = [&](auto &t_diff_res) {
811 t_diff_res(i, j) = c_f * t_flow_dstrain(i, j);
812 };
813
814 auto get_res_c_dplastic_strain = [&](auto &t_diff_res) {
815 t_diff_res(i, j) = (this->getTSa() * c_equiv) * t_diff_eqiv(i, j);
816 t_diff_res(k, l) -= c_f * t_flow(i, j) * t_alpha_dir(i, j, k, l);
817 };
818
819 auto get_res_c_dtau = [&]() {
820 return this->getTSa() * c_dot_tau + c_sigma_y * d_sigma_y;
FTensor::Index< 'i', SPACE_DIM > i
const double c
speed of light (cm/ns)
FTensor::Index< 'l', 3 > l
FTensor::Index< 'j', 3 > j
FTensor::Index< 'k', 3 > k

◆ doWork() [2/2]

template<int DIM, typename DomainEleOp >
MoFEMErrorCode PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::doWork ( int  side,
EntityType  type,
EntData data 
)

Member Data Documentation

◆ commonDataPtr

template<int DIM, typename DomainEleOp >
boost::shared_ptr< CommonData > PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::commonDataPtr
private

Definition at line 768 of file PlasticOpsGeneric.hpp.

◆ mDPtr

template<int DIM, typename DomainEleOp >
boost::shared_ptr< MatrixDouble > PlasticOps::OpPlasticStressImpl< DIM, GAUSS, DomainEleOp >::mDPtr
private

Definition at line 767 of file PlasticOpsGeneric.hpp.


The documentation for this struct was generated from the following file: