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

#include <TPZLadeKimThermoForceA.h>

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

Public Member Functions

int ClassId () const override
 Define the class id associated with the class. More...
 
 TPZLadeKimThermoForceA ()
 
 TPZLadeKimThermoForceA (const TPZLadeKimThermoForceA &source)
 
TPZLadeKimThermoForceAoperator= (const TPZLadeKimThermoForceA &source)
 
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...
 
const char * Name () const
 
void Print (std::ostream &out) const
 
void SetUp (REAL ksi1, REAL p, REAL h, REAL C, REAL pa)
 
template<class T >
Compute (const T &alpha) const
 
REAL Compute (const REAL &alpha) const
 
template<class T >
ComputeTangent (const T &alpha) const
 
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 Member Functions

static void CheckConv ()
 
- 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)
 

Public Attributes

REAL fRho
 
REAL fD
 
REAL fPa
 

Static Public Attributes

static REAL gRefThermoForce
 

Detailed Description

Classe que implementa o calculo da forca termodinamica (Souza Neto p. 144) e suas derivadas Neste caso utiliza-se encruamento linear

Definition at line 17 of file TPZLadeKimThermoForceA.h.

Constructor & Destructor Documentation

◆ TPZLadeKimThermoForceA() [1/2]

TPZLadeKimThermoForceA::TPZLadeKimThermoForceA ( )
inline

Definition at line 23 of file TPZLadeKimThermoForceA.h.

◆ TPZLadeKimThermoForceA() [2/2]

TPZLadeKimThermoForceA::TPZLadeKimThermoForceA ( const TPZLadeKimThermoForceA source)
inline

Definition at line 27 of file TPZLadeKimThermoForceA.h.

References fD, fPa, and fRho.

Member Function Documentation

◆ CheckConv()

static void TPZLadeKimThermoForceA::CheckConv ( )
inlinestatic

Definition at line 196 of file TPZLadeKimThermoForceA.h.

References CheckConvergence(), h, m, pow(), and SetUp().

◆ ClassId()

int TPZLadeKimThermoForceA::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 4 of file TPZLadeKimThermoForceA.cpp.

References Hash().

◆ Compute() [1/2]

template<class T >
T TPZLadeKimThermoForceA::Compute ( const T &  alpha) const
inline

Calculo do valor da forca termo dinamica

Definition at line 223 of file TPZLadeKimThermoForceA.h.

References exp, fD, fPa, fRho, log, pow(), and TPZExtractVal::val().

Referenced by Residual(), and SetUp().

◆ Compute() [2/2]

REAL TPZLadeKimThermoForceA::Compute ( const REAL &  alpha) const
inline

Specialization

Definition at line 233 of file TPZLadeKimThermoForceA.h.

References fD, fPa, fRho, and pow().

◆ ComputeTangent() [1/2]

template<class T >
T TPZLadeKimThermoForceA::ComputeTangent ( const T &  alpha) const
inline

Calculo da derivada da forca termodinamica

Definition at line 244 of file TPZLadeKimThermoForceA.h.

References fD, fPa, fRho, and pow().

Referenced by ComputeTangent(), and SetUp().

◆ ComputeTangent() [2/2]

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

◆ LoadState()

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

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

Definition at line 139 of file TPZLadeKimThermoForceA.h.

References LOGPZ_DEBUG.

◆ Name()

const char* TPZLadeKimThermoForceA::Name ( ) const
inline

Definition at line 54 of file TPZLadeKimThermoForceA.h.

Referenced by Print().

◆ NumCases()

int TPZLadeKimThermoForceA::NumCases ( )
inline

number of types of residuals

Definition at line 130 of file TPZLadeKimThermoForceA.h.

◆ operator=()

TPZLadeKimThermoForceA& TPZLadeKimThermoForceA::operator= ( const TPZLadeKimThermoForceA source)
inline

Definition at line 34 of file TPZLadeKimThermoForceA.h.

References fD, fPa, and fRho.

◆ Print()

void TPZLadeKimThermoForceA::Print ( std::ostream &  out) const
inline

Definition at line 59 of file TPZLadeKimThermoForceA.h.

References fD, fPa, fRho, and Name().

◆ Read()

void TPZLadeKimThermoForceA::Read ( TPZStream buf,
void *  context 
)
inlineoverridevirtual

read objects from the stream

Reimplemented from TPZSavable.

Definition at line 48 of file TPZLadeKimThermoForceA.h.

References fD, fPa, fRho, and TPZStream::Read().

◆ Residual()

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

◆ SetUp()

void TPZLadeKimThermoForceA::SetUp ( REAL  ksi1,
REAL  p,
REAL  h,
REAL  C,
REAL  pa 
)
inline

Definition at line 69 of file TPZLadeKimThermoForceA.h.

References Compute(), ComputeTangent(), fD, fPa, fRho, h, and pow().

Referenced by CheckConv().

◆ Write()

void TPZLadeKimThermoForceA::Write ( TPZStream buf,
int  withclassid 
) 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 42 of file TPZLadeKimThermoForceA.h.

References fD, fPa, fRho, and TPZStream::Write().

Member Data Documentation

◆ fD

REAL TPZLadeKimThermoForceA::fD

Parameter related to the ThermoForceA (Hardening) D is the constant multiplier in the hardening function. It is computed from Ksi1, C and Rho ->C defines the constant of the evolution of plastic work along with I1 in pure isotropic compression. (Wp = C * I1^p) ->Ksi1 models the shape of the yield funcition at the deviatoric planes. ->rho is defined above.

Definition at line 116 of file TPZLadeKimThermoForceA.h.

Referenced by Compute(), ComputeTangent(), operator=(), Print(), Read(), SetUp(), TPZLadeKimThermoForceA(), and Write().

◆ fPa

REAL TPZLadeKimThermoForceA::fPa

Atmospheric pression to hold stress conversion constant

Definition at line 121 of file TPZLadeKimThermoForceA.h.

Referenced by Compute(), ComputeTangent(), operator=(), Print(), Read(), SetUp(), TPZLadeKimThermoForceA(), and Write().

◆ fRho

REAL TPZLadeKimThermoForceA::fRho

Parameter related to the ThermoForceA (Hardening) Rho is the inverse of the exponent of the plastic work in the hardening function. It is compute from p and h. ->p defines the exponent of the evolution of plastic work along with I1 in pure isotropic compression. (Wp = C * I1^p) ->the h constant (YC) models the curvature of the YC meridians, i.e., how the meridians vary along with the level of hydrostatic stress (I1/3).

Definition at line 105 of file TPZLadeKimThermoForceA.h.

Referenced by Compute(), ComputeTangent(), operator=(), Print(), Read(), SetUp(), TPZLadeKimThermoForceA(), and Write().

◆ gRefThermoForce

REAL TPZLadeKimThermoForceA::gRefThermoForce
static

Definition at line 135 of file TPZLadeKimThermoForceA.h.


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