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

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

#include <TPZYCWillamWarnke.h>

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

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

Detailed Description

Implementa a plastificacao do criterio de Von Mises.

Author
Diogo Cecilio
Since
12/13/2010.

Definition at line 19 of file TPZYCWillamWarnke.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NYield 

Definition at line 38 of file TPZYCWillamWarnke.h.

Constructor & Destructor Documentation

◆ TPZYCWillamWarnke() [1/2]

TPZYCWillamWarnke::TPZYCWillamWarnke ( )
inline

Definition at line 23 of file TPZYCWillamWarnke.h.

◆ TPZYCWillamWarnke() [2/2]

TPZYCWillamWarnke::TPZYCWillamWarnke ( const TPZYCWillamWarnke source)
inline

Definition at line 25 of file TPZYCWillamWarnke.h.

References fa, fa0, fa1, fa2, fb, fb0, fb1, fb2, and fcConcrete.

Member Function Documentation

◆ AlphaMultiplier()

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

Multiplicador para o caso onde utilizamos uma variavel de dano modificada

Definition at line 117 of file TPZYCWillamWarnke.h.

References ClassId().

◆ ClassId()

int TPZYCWillamWarnke::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 12 of file TPZYCWillamWarnke.cpp.

References Hash().

Referenced by AlphaMultiplier().

◆ Compute()

template<class T >
void TPZYCWillamWarnke::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 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().

◆ ComputeTangent()

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

Definition at line 143 of file TPZYCWillamWarnke.h.

References gRefTension, and TPZFMatrix< TVar >::Redim().

◆ GetForceYield()

int TPZYCWillamWarnke::GetForceYield ( )
inline

Definition at line 61 of file TPZYCWillamWarnke.h.

◆ GetNYield()

virtual int TPZYCWillamWarnke::GetNYield ( ) const
inlineoverridevirtual

Implements TPZPlasticCriterion.

Definition at line 222 of file TPZYCWillamWarnke.h.

References as_integer(), and NYield.

◆ H()

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

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 424 of file TPZYCWillamWarnke.h.

Referenced by SetYieldStatusMode().

◆ LoadState()

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

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

Definition at line 137 of file TPZYCWillamWarnke.h.

◆ N()

template<class T >
void TPZYCWillamWarnke::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 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().

◆ Name()

const char* TPZYCWillamWarnke::Name ( ) const
inline

Definition at line 40 of file TPZYCWillamWarnke.h.

Referenced by Print().

◆ NumCases()

int TPZYCWillamWarnke::NumCases ( )
inline

Definition at line 130 of file TPZYCWillamWarnke.h.

◆ Print()

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

Reimplemented from TPZPlasticCriterion.

Definition at line 45 of file TPZYCWillamWarnke.h.

References Name().

◆ Read()

void TPZYCWillamWarnke::Read ( TPZStream buf,
void *  context = 0 
)
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().

◆ Residual()

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

Definition at line 164 of file TPZYCWillamWarnke.h.

References Compute(), TPZFMatrix< TVar >::Redim(), and test::res.

◆ SetForceYield()

void TPZYCWillamWarnke::SetForceYield ( const int  forceYield)
inline

Definition at line 66 of file TPZYCWillamWarnke.h.

◆ SetUp()

void TPZYCWillamWarnke::SetUp ( const REAL  a,
const REAL  b,
const REAL  fConcrete 
)
inline

Setup of material parameters

Definition at line 53 of file TPZYCWillamWarnke.h.

References fa, fb, and fcConcrete.

◆ SetYieldStatusMode()

void TPZYCWillamWarnke::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 78 of file TPZYCWillamWarnke.h.

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

◆ Write()

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

◆ YieldFunction()

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

Member Data Documentation

◆ fa

REAL TPZYCWillamWarnke::fa

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Compute(), N(), Read(), SetUp(), TPZYCWillamWarnke(), and Write().

◆ fa0

REAL TPZYCWillamWarnke::fa0

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Read(), TPZYCWillamWarnke(), and Write().

◆ fa1

REAL TPZYCWillamWarnke::fa1

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Read(), TPZYCWillamWarnke(), and Write().

◆ fa2

REAL TPZYCWillamWarnke::fa2

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Read(), TPZYCWillamWarnke(), and Write().

◆ fb

REAL TPZYCWillamWarnke::fb

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Compute(), N(), Read(), SetUp(), TPZYCWillamWarnke(), and Write().

◆ fb0

REAL TPZYCWillamWarnke::fb0

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Read(), TPZYCWillamWarnke(), and Write().

◆ fb1

REAL TPZYCWillamWarnke::fb1

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Read(), TPZYCWillamWarnke(), and Write().

◆ fb2

REAL TPZYCWillamWarnke::fb2

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Read(), TPZYCWillamWarnke(), and Write().

◆ fcConcrete

REAL TPZYCWillamWarnke::fcConcrete

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Compute(), N(), Read(), SetUp(), TPZYCWillamWarnke(), and Write().

◆ fcoesion

REAL TPZYCWillamWarnke::fcoesion

Definition at line 228 of file TPZYCWillamWarnke.h.

Referenced by Read(), and Write().

◆ fPhi

REAL TPZYCWillamWarnke::fPhi

Definition at line 227 of file TPZYCWillamWarnke.h.

Referenced by Read(), and Write().

◆ gRefTension

TPZTensor<REAL> TPZYCWillamWarnke::gRefTension

Definition at line 128 of file TPZYCWillamWarnke.h.

Referenced by ComputeTangent().


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