![]() |
v0.16.0 |
#include "src/materials/UmatInterface.hpp"
Public Member Functions | |
| UmatInterface (int nstatv=0, int nprops=2) | |
| ~UmatInterface () | |
| MoFEMErrorCode | initialise (const std::string &library_path="./umat.so", const std::string &material_name="UMAT") |
| MoFEMErrorCode | setIdentityDeformationGradient () |
| MoFEMErrorCode | setProperties (const std::vector< double > &properties) |
| MoFEMErrorCode | storeStateVar (int n_state_var, const std::vector< double > &state_var_values) |
| MoFEMErrorCode | setTimeData (double current_time, double time_increment) |
| MoFEMErrorCode | setStepData (int step_number, int increment_number) |
| MoFEMErrorCode | setDeformationGradient (const MatrixDouble &grad, bool use_deformation_gradient) |
| MoFEMErrorCode | setStrainIncrementFromDeformationGradient () |
| MoFEMErrorCode | callUmat () |
| MoFEMErrorCode | getDeformationGradient (MatrixDouble &F) const |
| MoFEMErrorCode | getCauchyStressTensor (MatrixDouble &sigma) const |
| MoFEMErrorCode | getCauchyTangentTensor (MatrixDouble &cauchy_tangent) const |
Public Attributes | |
| boost::shared_ptr< MatOps::MatOpsData > | matOpsDataPtr |
| umat_f | umat = nullptr |
| void * | handle = nullptr |
| char | filename [256] = {} |
| int | ndi = NDI |
| int | nshr = NSHR |
| int | ntens = NTENS |
| int | nstatv |
| int | nprops |
| int | noel = 1 |
| int | npt = 1 |
| int | layer = 1 |
| int | kspt = 1 |
| int | kstep = 1 |
| int | kinc = 1 |
| std::vector< double > | props |
| std::vector< double > | statev |
| std::array< double, NTENS > | stress {} |
| std::array< double, NTENS > | stran {} |
| std::array< double, NTENS > | dstran {} |
| std::array< double, NTANGENT > | ddsdde {} |
| std::array< double, 9 > | dfgrd0 {} |
| std::array< double, 9 > | dfgrd1 {} |
| std::array< double, 9 > | drot {} |
| double | ddsddt [6] |
| double | drplde [6] |
| double | coords [3] = {} |
| char | cmname [80] |
| double | time [2] = {} |
| double | dtime = 0.0 |
| double | temp = 0.0 |
| double | dtemp = 0.0 |
| std::vector< double > | predef {0.0} |
| std::vector< double > | dpred {0.0} |
| double | pnewdt = 1.0 |
| double | celent = 0.0 |
| double | sse = 0.0 |
| double | spd = 0.0 |
| double | scd = 0.0 |
| double | rpl = 0.0 |
| double | drpldt = 0.0 |
Static Public Attributes | |
| static constexpr int | DIM = (MODEL_TYPE == MatOps::MODEL_3D) ? 3 : 2 |
| static constexpr int | NTENS |
| static constexpr int | NTANGENT = NTENS * NTENS |
| static constexpr int | NDI |
| static constexpr int | NSHR = (MODEL_TYPE == MatOps::MODEL_3D) ? 3 : 1 |
Definition at line 30 of file UmatInterface.hpp.
| MoFEM::UmatInterface< MODEL_TYPE >::UmatInterface | ( | int | nstatv = 0, |
| int | nprops = 2 |
||
| ) |
Definition at line 36 of file UmatInterface.cpp.
| MoFEM::UmatInterface< MODEL_TYPE >::~UmatInterface | ( | ) |
Definition at line 39 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::callUmat | ( | ) |
Definition at line 84 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::getCauchyStressTensor | ( | MatrixDouble & | sigma | ) | const |
Definition at line 226 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::getCauchyTangentTensor | ( | MatrixDouble & | cauchy_tangent | ) | const |
Definition at line 254 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::getDeformationGradient | ( | MatrixDouble & | F | ) | const |
Definition at line 215 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::initialise | ( | const std::string & | library_path = "./umat.so", |
| const std::string & | material_name = "UMAT" |
||
| ) |
Definition at line 49 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::setDeformationGradient | ( | const MatrixDouble & | grad, |
| bool | use_deformation_gradient | ||
| ) |
Definition at line 115 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::setIdentityDeformationGradient | ( | ) |
Definition at line 104 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::setProperties | ( | const std::vector< double > & | properties | ) |
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::setStepData | ( | int | step_number, |
| int | increment_number | ||
| ) |
Definition at line 150 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::setStrainIncrementFromDeformationGradient | ( | ) |
Definition at line 162 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::setTimeData | ( | double | current_time, |
| double | time_increment | ||
| ) |
Definition at line 137 of file UmatInterface.cpp.
| MoFEMErrorCode MoFEM::UmatInterface< MODEL_TYPE >::storeStateVar | ( | int | n_state_var, |
| const std::vector< double > & | state_var_values | ||
| ) |
Definition at line 207 of file UmatInterface.cpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::celent = 0.0 |
Definition at line 104 of file UmatInterface.hpp.
| char MoFEM::UmatInterface< MODEL_TYPE >::cmname[80] |
Definition at line 98 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::coords[3] = {} |
Definition at line 97 of file UmatInterface.hpp.
| std::array<double, NTANGENT> MoFEM::UmatInterface< MODEL_TYPE >::ddsdde {} |
Definition at line 89 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::ddsddt[6] |
Definition at line 95 of file UmatInterface.hpp.
| std::array<double, 9> MoFEM::UmatInterface< MODEL_TYPE >::dfgrd0 {} |
Definition at line 91 of file UmatInterface.hpp.
| std::array<double, 9> MoFEM::UmatInterface< MODEL_TYPE >::dfgrd1 {} |
Definition at line 92 of file UmatInterface.hpp.
|
staticconstexpr |
Definition at line 32 of file UmatInterface.hpp.
| std::vector<double> MoFEM::UmatInterface< MODEL_TYPE >::dpred {0.0} |
Definition at line 103 of file UmatInterface.hpp.
| std::array<double, 9> MoFEM::UmatInterface< MODEL_TYPE >::drot {} |
Definition at line 93 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::drplde[6] |
Definition at line 96 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::drpldt = 0.0 |
Definition at line 105 of file UmatInterface.hpp.
| std::array<double, NTENS> MoFEM::UmatInterface< MODEL_TYPE >::dstran {} |
Definition at line 87 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::dtemp = 0.0 |
Definition at line 101 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::dtime = 0.0 |
Definition at line 100 of file UmatInterface.hpp.
| char MoFEM::UmatInterface< MODEL_TYPE >::filename[256] = {} |
Definition at line 70 of file UmatInterface.hpp.
| void* MoFEM::UmatInterface< MODEL_TYPE >::handle = nullptr |
Definition at line 69 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::kinc = 1 |
Definition at line 79 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::kspt = 1 |
Definition at line 79 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::kstep = 1 |
Definition at line 79 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::layer = 1 |
Definition at line 79 of file UmatInterface.hpp.
| boost::shared_ptr<MatOps::MatOpsData> MoFEM::UmatInterface< MODEL_TYPE >::matOpsDataPtr |
Definition at line 66 of file UmatInterface.hpp.
|
staticconstexpr |
Definition at line 72 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::ndi = NDI |
Definition at line 78 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::noel = 1 |
Definition at line 79 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::nprops |
Definition at line 78 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::npt = 1 |
Definition at line 79 of file UmatInterface.hpp.
|
staticconstexpr |
Definition at line 76 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::nshr = NSHR |
Definition at line 78 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::nstatv |
Definition at line 78 of file UmatInterface.hpp.
|
staticconstexpr |
Definition at line 39 of file UmatInterface.hpp.
|
staticconstexpr |
Definition at line 34 of file UmatInterface.hpp.
| int MoFEM::UmatInterface< MODEL_TYPE >::ntens = NTENS |
Definition at line 78 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::pnewdt = 1.0 |
Definition at line 104 of file UmatInterface.hpp.
| std::vector<double> MoFEM::UmatInterface< MODEL_TYPE >::predef {0.0} |
Definition at line 102 of file UmatInterface.hpp.
| std::vector<double> MoFEM::UmatInterface< MODEL_TYPE >::props |
Definition at line 81 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::rpl = 0.0 |
Definition at line 105 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::scd = 0.0 |
Definition at line 105 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::spd = 0.0 |
Definition at line 105 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::sse = 0.0 |
Definition at line 105 of file UmatInterface.hpp.
| std::vector<double> MoFEM::UmatInterface< MODEL_TYPE >::statev |
Definition at line 82 of file UmatInterface.hpp.
| std::array<double, NTENS> MoFEM::UmatInterface< MODEL_TYPE >::stran {} |
Definition at line 86 of file UmatInterface.hpp.
| std::array<double, NTENS> MoFEM::UmatInterface< MODEL_TYPE >::stress {} |
Definition at line 85 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::temp = 0.0 |
Definition at line 101 of file UmatInterface.hpp.
| double MoFEM::UmatInterface< MODEL_TYPE >::time[2] = {} |
Definition at line 99 of file UmatInterface.hpp.
| umat_f MoFEM::UmatInterface< MODEL_TYPE >::umat = nullptr |
Definition at line 68 of file UmatInterface.hpp.