NeoPZ
|
Implementa a plastificacao do criterio de Von Mises. More...
#include <TPZYCWillamWarnke.h>
Public Types | |
enum | { NYield } |
Public Member Functions | |
TPZYCWillamWarnke () | |
TPZYCWillamWarnke (const TPZYCWillamWarnke &source) | |
const char * | Name () const |
void | Print (std::ostream &out) const override |
void | SetUp (const REAL a, const REAL b, const REAL fConcrete) |
int | GetForceYield () |
void | SetForceYield (const int forceYield) |
void | SetYieldStatusMode (const TPZTensor< REAL > &sigma, const REAL &A) |
template<class T > | |
void | Compute (const TPZTensor< T > &sigma, const T &A, TPZVec< T > &res, int checkForcedYield=0) const |
template<class T > | |
void | N (const TPZTensor< T > &sigma, const T &A, TPZVec< TPZTensor< T > > &Ndir, int checkForcedYield=0) const |
template<class T > | |
void | H (const TPZTensor< T > &sigma, const T &A, TPZVec< T > &h, int checkForcedYield=0) const |
template<class T > | |
void | AlphaMultiplier (const T &A, T &multiplier) const |
virtual int | ClassId () const override |
Define the class id associated with the class. More... | |
int | NumCases () |
void | LoadState (TPZFMatrix< REAL > &state) |
void | ComputeTangent (TPZFMatrix< REAL > &tangent, TPZVec< REAL > &coefs, int icase) |
void | Residual (TPZFMatrix< REAL > &res, int icase) |
void | Write (TPZStream &out, int withclassid=0) const override |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More... | |
void | Read (TPZStream &input, void *context=0) override |
read objects from the stream More... | |
void | YieldFunction (const TPZVec< STATE > &sigma, STATE kprev, TPZVec< STATE > &yield) const override |
virtual int | GetNYield () const override |
Public Member Functions inherited from TPZSavable | |
TPZSavable () | |
virtual | ~TPZSavable () |
virtual std::list< std::map< std::string, uint64_t > > | VersionHistory () const |
virtual std::pair< std::string, uint64_t > | Version () const |
virtual bool | Compare (TPZSavable *copy, bool override=false) |
Compares the object for identity with the object pointed to, eventually copy the object. More... | |
virtual bool | Compare (TPZSavable *copy, bool override=false) const |
Compares the object for identity with the object pointed to, eventually copy the object. More... | |
Public Member Functions inherited from TPZRegisterClassId | |
template<typename T > | |
TPZRegisterClassId (int(T::*)() const) | |
TPZRegisterClassId ()=default | |
Public Attributes | |
TPZTensor< REAL > | gRefTension |
REAL | fPhi |
REAL | fa |
REAL | fb |
REAL | fcConcrete |
REAL | fcoesion |
REAL | fa0 |
REAL | fa1 |
REAL | fa2 |
REAL | fb0 |
REAL | fb1 |
REAL | fb2 |
Additional Inherited Members | |
Static Public Member Functions inherited from TPZSavable | |
static std::set< TPZRestoreClassBase * > & | RestoreClassSet () |
This static function guarantees that the gMap object is available when needed. More... | |
static std::map< int, TPZRestore_t > & | ClassIdMap () |
This static function guarantees that the gMap object is available when needed. More... | |
static std::pair< std::string, uint64_t > | NeoPZVersion () |
static void | Register (TPZRestoreClassBase *restore) |
static void | RegisterClassId (int classid, TPZRestore_t fun) |
static TPZSavable * | CreateInstance (const int &classId) |
Implementa a plastificacao do criterio de Von Mises.
Definition at line 19 of file TPZYCWillamWarnke.h.
anonymous enum |
Enumerator | |
---|---|
NYield |
Definition at line 38 of file TPZYCWillamWarnke.h.
|
inline |
Definition at line 23 of file TPZYCWillamWarnke.h.
|
inline |
|
inline |
Multiplicador para o caso onde utilizamos uma variavel de dano modificada
Definition at line 117 of file TPZYCWillamWarnke.h.
References ClassId().
|
overridevirtual |
Define the class id associated with the class.
This id has to be unique for all classes A non unique id is flagged at the startup of the program
Implements TPZSavable.
Definition at line 12 of file TPZYCWillamWarnke.cpp.
References Hash().
Referenced by AlphaMultiplier().
void TPZYCWillamWarnke::Compute | ( | const TPZTensor< T > & | sigma, |
const T & | A, | ||
TPZVec< T > & | res, | ||
int | checkForcedYield = 0 |
||
) | const |
Calculo do criterio de plastificacao
[in] | sigma | tensao atual |
[in] | A | forca thermodinamica atual |
[out] | res | Derivative |
[in] | checkForcedYield | indicates wether to force post-peak failure behavior |
Definition at line 238 of file TPZYCWillamWarnke.h.
References cos(), TPZTensor< T >::dJ2(), TPZTensor< T >::dJ3(), TPZTensor< T >::Eigenvalue(), fa, fb, fcConcrete, TPZTensor< T >::I1(), TPZTensor< T >::J2(), TPZTensor< T >::J3(), TPZTensor< T >::Lodeangle(), and sqrt.
Referenced by Residual(), SetYieldStatusMode(), and YieldFunction().
|
inline |
Definition at line 143 of file TPZYCWillamWarnke.h.
References gRefTension, and TPZFMatrix< TVar >::Redim().
|
inline |
Definition at line 61 of file TPZYCWillamWarnke.h.
|
inlineoverridevirtual |
Implements TPZPlasticCriterion.
Definition at line 222 of file TPZYCWillamWarnke.h.
References as_integer(), and NYield.
void TPZYCWillamWarnke::H | ( | const TPZTensor< T > & | sigma, |
const T & | A, | ||
TPZVec< T > & | h, | ||
int | checkForcedYield = 0 |
||
) | const |
Derivada da funcao de plastificacao com respeito a forca termodinamica
[in] | sigma | tensao atual |
[in] | A | forca termodinamica atual |
[out] | h | Derivada com respeito a forca termodinamica |
[in] | checkForcedYield | indicates wether to force post-peak failure behavior |
Definition at line 424 of file TPZYCWillamWarnke.h.
Referenced by SetYieldStatusMode().
|
inline |
LoadState will keep a given state as static variable of the class
Definition at line 137 of file TPZYCWillamWarnke.h.
void TPZYCWillamWarnke::N | ( | const TPZTensor< T > & | sigma, |
const T & | A, | ||
TPZVec< TPZTensor< T > > & | Ndir, | ||
int | checkForcedYield = 0 |
||
) | const |
Derivada da funcao de plastificacao
[in] | sigma | tensao atual |
[in] | A | forca termodinamica atual |
[out] | Ndir | Derivada com respeito a tensao |
[in] | checkForcedYield | indicates wether to force post-peak failure behavior |
Definition at line 324 of file TPZYCWillamWarnke.h.
References TPZTensor< T >::Add(), cos(), TPZTensor< T >::dJ2(), TPZTensor< T >::dJ3(), fa, fb, fcConcrete, TPZTensor< T >::I1(), TPZTensor< T >::Identity(), TPZTensor< T >::J2(), TPZTensor< T >::J3(), TPZTensor< T >::Lodeangle(), TPZTensor< T >::Multiply(), TPZTensor< T >::S(), sin, and sqrt.
Referenced by SetYieldStatusMode().
|
inline |
Definition at line 40 of file TPZYCWillamWarnke.h.
Referenced by Print().
|
inline |
Definition at line 130 of file TPZYCWillamWarnke.h.
|
inlineoverridevirtual |
Reimplemented from TPZPlasticCriterion.
Definition at line 45 of file TPZYCWillamWarnke.h.
References Name().
|
inlineoverridevirtual |
read objects from the stream
Reimplemented from TPZSavable.
Definition at line 199 of file TPZYCWillamWarnke.h.
References fa, fa0, fa1, fa2, fb, fb0, fb1, fb2, fcConcrete, fcoesion, fPhi, and TPZStream::Read().
|
inline |
Definition at line 164 of file TPZYCWillamWarnke.h.
References Compute(), TPZFMatrix< TVar >::Redim(), and test::res.
|
inline |
Definition at line 66 of file TPZYCWillamWarnke.h.
|
inline |
Setup of material parameters
Definition at line 53 of file TPZYCWillamWarnke.h.
References fa, fb, and fcConcrete.
|
inline |
Checks if the proposed yield state leads to post-peak material behaviour. If so, the material is forced to behave in post-peak in order to avoid equation switching during Newton's method in the PlasticLoop routines.
[in] | sigma | stress state |
[in] | A | Thermo Force |
Definition at line 78 of file TPZYCWillamWarnke.h.
|
inlineoverridevirtual |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
Writes this object to the TPZStream buffer. Include the classid if withclassid = true
Reimplemented from TPZSavable.
Definition at line 184 of file TPZYCWillamWarnke.h.
References fa, fa0, fa1, fa2, fb, fb0, fb1, fb2, fcConcrete, fcoesion, fPhi, and TPZStream::Write().
|
inlineoverridevirtual |
Implements TPZPlasticCriterion.
Definition at line 214 of file TPZYCWillamWarnke.h.
References Compute(), TPZTensor< T >::XX(), TPZTensor< T >::YY(), and TPZTensor< T >::ZZ().
REAL TPZYCWillamWarnke::fa |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Compute(), N(), Read(), SetUp(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fa0 |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Read(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fa1 |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Read(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fa2 |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Read(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fb |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Compute(), N(), Read(), SetUp(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fb0 |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Read(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fb1 |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Read(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fb2 |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Read(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fcConcrete |
Definition at line 228 of file TPZYCWillamWarnke.h.
Referenced by Compute(), N(), Read(), SetUp(), TPZYCWillamWarnke(), and Write().
REAL TPZYCWillamWarnke::fcoesion |
Definition at line 228 of file TPZYCWillamWarnke.h.
REAL TPZYCWillamWarnke::fPhi |
Definition at line 227 of file TPZYCWillamWarnke.h.
TPZTensor<REAL> TPZYCWillamWarnke::gRefTension |
Definition at line 128 of file TPZYCWillamWarnke.h.
Referenced by ComputeTangent().