NeoPZ
Public Types | Public Member Functions | Static Public Attributes | List of all members
TPZYCVonMises Class Reference

Implementa a plastificacao do criterio de Von Mises. More...

#include <TPZYCVonMises.h>

Inheritance diagram for TPZYCVonMises:
[legend]
Collaboration diagram for TPZYCVonMises:
[legend]

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 TPZSavableCreateInstance (const int &classId)
 

Detailed Description

Implementa a plastificacao do criterio de Von Mises.

Definition at line 17 of file TPZYCVonMises.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NYield 

Definition at line 22 of file TPZYCVonMises.h.

Member Function Documentation

◆ AlphaMultiplier()

template<class T >
void TPZYCVonMises::AlphaMultiplier ( const T &  A,
T &  multiplier 
) const
inline

Multiplicador para o caso onde utilizamos uma variavel de dano modificada

Definition at line 94 of file TPZYCVonMises.h.

References Read(), and Write().

◆ ClassId()

int TPZYCVonMises::ClassId ( ) const
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().

◆ Compute()

template<class T >
void TPZYCVonMises::Compute ( const TPZTensor< T > &  sigma,
const T &  A,
TPZVec< T > &  res,
int  checkForcedYield = 0 
) const

Calculo do criterio de plastificacao

Parameters
[in]sigmatensao atual
[in]Aforca thermodinamica atual
[out]resDerivative
[in]checkForcedYieldindicates 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().

◆ ComputeTangent()

void TPZYCVonMises::ComputeTangent ( TPZFMatrix< REAL > &  tangent,
TPZVec< REAL > &  ,
int  icase 
)
inline

◆ GetForceYield()

int TPZYCVonMises::GetForceYield ( )
inline

Definition at line 38 of file TPZYCVonMises.h.

◆ GetNYield()

virtual int TPZYCVonMises::GetNYield ( ) const
inlineoverridevirtual

Implements TPZPlasticCriterion.

Definition at line 111 of file TPZYCVonMises.h.

References as_integer(), and NYield.

◆ H()

template<class T >
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

Parameters
[in]sigmatensao atual
[in]Aforca termodinamica atual
[out]hDerivada com respeito a forca termodinamica
[in]checkForcedYieldindicates wether to force post-peak failure behavior

Definition at line 249 of file TPZYCVonMises.h.

Referenced by TPZYCVonMisesCombTresca::H(), and SetYieldStatusMode().

◆ LoadState()

void TPZYCVonMises::LoadState ( TPZFMatrix< REAL > &  state)
inline

LoadState will keep a given state as static variable of the class

Definition at line 131 of file TPZYCVonMises.h.

References LOGPZ_DEBUG.

◆ N()

template<class T >
void TPZYCVonMises::N ( const TPZTensor< T > &  sigma,
const T &  A,
TPZVec< TPZTensor< T > > &  Ndir,
int  checkForcedYield = 0 
) const

Derivada da funcao de plastificacao

Parameters
[in]sigmatensao atual
[in]Aforca termodinamica atual
[out]NdirDerivada com respeito a tensao
[in]checkForcedYieldindicates 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().

◆ Name()

const char* TPZYCVonMises::Name ( ) const
inline

Definition at line 24 of file TPZYCVonMises.h.

References ClassId().

Referenced by Print().

◆ NumCases()

int TPZYCVonMises::NumCases ( )
inline

number of types of residuals

Definition at line 122 of file TPZYCVonMises.h.

◆ Print()

void TPZYCVonMises::Print ( std::ostream &  out) const
inlineoverridevirtual

Reimplemented from TPZPlasticCriterion.

Definition at line 33 of file TPZYCVonMises.h.

References Name().

Referenced by TPZYCVonMisesCombTresca::Print().

◆ Read()

void TPZYCVonMises::Read ( TPZStream buf,
void *  context 
)
overridevirtual

read objects from the stream

Reimplemented from TPZSavable.

Definition at line 13 of file TPZYCVonMises.cpp.

Referenced by AlphaMultiplier(), and TPZYCVonMisesCombTresca::Read().

◆ Residual()

void TPZYCVonMises::Residual ( TPZFMatrix< REAL > &  res,
int  icase 
)
inline

◆ SetForceYield()

void TPZYCVonMises::SetForceYield ( const int  forceYield)
inline

Definition at line 43 of file TPZYCVonMises.h.

◆ SetYieldStatusMode()

void TPZYCVonMises::SetYieldStatusMode ( const TPZTensor< REAL > &  sigma,
const REAL &  A 
)
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.

Parameters
[in]sigmastress state
[in]AThermo Force

Definition at line 55 of file TPZYCVonMises.h.

References Compute(), h, H(), N(), and test::res.

◆ Write()

void TPZYCVonMises::Write ( TPZStream buf,
int  withclassid 
) const
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().

◆ YieldFunction()

void TPZYCVonMises::YieldFunction ( const TPZVec< STATE > &  sigma,
STATE  kprev,
TPZVec< STATE > &  yield 
) const
inlineoverridevirtual

Member Data Documentation

◆ gRefTension

TPZTensor<REAL> TPZYCVonMises::gRefTension
static

Definition at line 127 of file TPZYCVonMises.h.


The documentation for this class was generated from the following files: