NeoPZ
|
#include <tpzycvonmisescombtresca.h>
Public Types | |
enum | { NYield } |
Public Member Functions | |
virtual int | ClassId () const override |
Define the class id associated with the class. More... | |
const char * | Name () const |
void | Print (std::ostream &out) const override |
int | GetForceYield () |
void | SetForceYield (const int forceYield) |
void | SetYieldStatusMode (const TPZTensor< REAL > &sigma, const REAL &A) |
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... | |
TPZYCVonMisesCombTresca () | |
Constructor. More... | |
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 | 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 | |
Protected Attributes | |
TPZYCVonMises | fVonMises |
Pointer to Von Mises's yield criteria object. More... | |
TPZYCTrescaRegularized | fTresca |
Pointer to Tresca's yield criteria object. More... | |
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) |
Definition at line 16 of file tpzycvonmisescombtresca.h.
anonymous enum |
Enumerator | |
---|---|
NYield |
Definition at line 79 of file tpzycvonmisescombtresca.h.
|
inline |
Constructor.
Definition at line 139 of file tpzycvonmisescombtresca.h.
|
inline |
Multiplicador para o caso onde utilizamos uma variavel de dano modificada
Definition at line 118 of file tpzycvonmisescombtresca.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 4 of file tpzycvonmisescombtresca.cpp.
References Hash().
void TPZYCVonMisesCombTresca::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 145 of file tpzycvonmisescombtresca.h.
References TPZYCTrescaRegularized::Compute(), TPZYCVonMises::Compute(), cos(), fTresca, fVonMises, LOGPZ_DEBUG, LOGPZ_ERROR, TPZVec< T >::NElements(), and test::res.
Referenced by YieldFunction().
|
inline |
Definition at line 38 of file tpzycvonmisescombtresca.h.
|
inlineoverridevirtual |
Implements TPZPlasticCriterion.
Definition at line 131 of file tpzycvonmisescombtresca.h.
References as_integer(), and NYield.
void TPZYCVonMisesCombTresca::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 204 of file tpzycvonmisescombtresca.h.
References fTresca, fVonMises, TPZYCTresca::H(), TPZYCVonMises::H(), LOGPZ_ERROR, and TPZVec< T >::NElements().
void TPZYCVonMisesCombTresca::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 180 of file tpzycvonmisescombtresca.h.
References fTresca, fVonMises, LOGPZ_ERROR, TPZYCTrescaRegularized::N(), and TPZYCVonMises::N().
|
inline |
Definition at line 24 of file tpzycvonmisescombtresca.h.
Referenced by Print().
|
inlineoverridevirtual |
Reimplemented from TPZPlasticCriterion.
Definition at line 29 of file tpzycvonmisescombtresca.h.
References fTresca, fVonMises, Name(), TPZYCTrescaRegularized::Print(), and TPZYCVonMises::Print().
|
inlineoverridevirtual |
read objects from the stream
Reimplemented from TPZSavable.
Definition at line 65 of file tpzycvonmisescombtresca.h.
References fTresca, fVonMises, TPZYCTrescaRegularized::Read(), and TPZYCVonMises::Read().
|
inline |
Definition at line 43 of file tpzycvonmisescombtresca.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 tpzycvonmisescombtresca.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 60 of file tpzycvonmisescombtresca.h.
References fTresca, fVonMises, TPZYCTrescaRegularized::Write(), and TPZYCVonMises::Write().
|
inlineoverridevirtual |
Implements TPZPlasticCriterion.
Definition at line 123 of file tpzycvonmisescombtresca.h.
References Compute(), TPZTensor< T >::XX(), TPZTensor< T >::YY(), and TPZTensor< T >::ZZ().
|
protected |
|
protected |