NeoPZ
|
Implementa a plastificacao do criterio de Von Mises. More...
#include <TPZYCVonMises.h>
Public Types | |
enum | { NYield } |
Public Member Functions | |
const char * | Name () const |
virtual int | ClassId () const override |
Define the class id associated with the class. More... | |
void | Print (std::ostream &out) const override |
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 |
void | Write (TPZStream &buf, int withclassid) const override |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More... | |
void | Read (TPZStream &buf, void *context) 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 |
int | NumCases () |
void | LoadState (TPZFMatrix< REAL > &state) |
void | ComputeTangent (TPZFMatrix< REAL > &tangent, TPZVec< REAL > &, int icase) |
void | Residual (TPZFMatrix< REAL > &res, int icase) |
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 | |
Static Public Attributes | |
static TPZTensor< REAL > | gRefTension |
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 17 of file TPZYCVonMises.h.
anonymous enum |
Enumerator | |
---|---|
NYield |
Definition at line 22 of file TPZYCVonMises.h.
|
inline |
Multiplicador para o caso onde utilizamos uma variavel de dano modificada
Definition at line 94 of file TPZYCVonMises.h.
|
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 5 of file TPZYCVonMises.cpp.
References Hash().
Referenced by Name().
void TPZYCVonMises::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 224 of file TPZYCVonMises.h.
References TPZTensor< T >::J2(), and sqrt.
Referenced by TPZYCVonMisesCombTresca::Compute(), Residual(), SetYieldStatusMode(), and YieldFunction().
|
inline |
Definition at line 145 of file TPZYCVonMises.h.
References TPZTensor< T >::dJ2(), TPZTensor< T >::J2(), LOGPZ_DEBUG, TPZTensor< T >::Multiply(), N(), TPZFMatrix< TVar >::Redim(), and sqrt.
|
inline |
Definition at line 38 of file TPZYCVonMises.h.
|
inlineoverridevirtual |
Implements TPZPlasticCriterion.
Definition at line 111 of file TPZYCVonMises.h.
References as_integer(), and NYield.
void TPZYCVonMises::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 249 of file TPZYCVonMises.h.
Referenced by TPZYCVonMisesCombTresca::H(), and SetYieldStatusMode().
|
inline |
LoadState will keep a given state as static variable of the class
Definition at line 131 of file TPZYCVonMises.h.
References LOGPZ_DEBUG.
void TPZYCVonMises::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 233 of file TPZYCVonMises.h.
References TPZTensor< T >::dJ2(), TPZTensor< T >::J2(), TPZTensor< T >::S(), and sqrt.
Referenced by ComputeTangent(), TPZYCVonMisesCombTresca::N(), and SetYieldStatusMode().
|
inline |
|
inline |
number of types of residuals
Definition at line 122 of file TPZYCVonMises.h.
|
inlineoverridevirtual |
Reimplemented from TPZPlasticCriterion.
Definition at line 33 of file TPZYCVonMises.h.
References Name().
Referenced by TPZYCVonMisesCombTresca::Print().
|
overridevirtual |
read objects from the stream
Reimplemented from TPZSavable.
Definition at line 13 of file TPZYCVonMises.cpp.
Referenced by AlphaMultiplier(), and TPZYCVonMisesCombTresca::Read().
|
inline |
Definition at line 183 of file TPZYCVonMises.h.
References Compute(), TPZTensor< T >::J2(), LOGPZ_DEBUG, TPZFMatrix< TVar >::Redim(), test::res, and sqrt.
|
inline |
Definition at line 43 of file TPZYCVonMises.h.
|
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 55 of file TPZYCVonMises.h.
|
overridevirtual |
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 9 of file TPZYCVonMises.cpp.
Referenced by AlphaMultiplier(), and TPZYCVonMisesCombTresca::Write().
|
inlineoverridevirtual |
Implements TPZPlasticCriterion.
Definition at line 103 of file TPZYCVonMises.h.
References Compute(), TPZTensor< T >::XX(), TPZTensor< T >::YY(), and TPZTensor< T >::ZZ().
|
static |
Definition at line 127 of file TPZYCVonMises.h.