5 #ifndef TPZYCWILLAMWARNKE_H 6 #define TPZYCWILLAMWARNKE_H 42 return "TPZYCDruckerPrager";
45 void Print(std::ostream & out)
const override 53 void SetUp(
const REAL a,
const REAL b,
const REAL fConcrete)
125 virtual int ClassId()
const override;
140 for(i=0; i<6; i++) gRefTension[i] = state(i,0);
154 for(
int i=0; i<6; i++)
156 tangent(0,i) = Ndir[0][i];
176 this->
Compute(gRefTension,yield,phi,0);
216 sigmaTensor.
XX() = sigma[0];
217 sigmaTensor.
YY() = sigma[1];
218 sigmaTensor.
ZZ() = sigma[2];
219 Compute(sigmaTensor, kprev, yield, 0);
244 sigma.
Eigenvalue(eigenval, dSigma1, dSigma2, dSigma3);
300 T cos3lode =
cos(T(3.)*lode);
301 T temp4 = ( T(
fb) - ( A * cos3lode ) );
314 T resp = (temp1 + temp2) - 1.;
417 dI1.
Add(gradlode,T(1));
431 #endif//TPZYCWillamWarnke Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
void LoadState(TPZFMatrix< REAL > &state)
void Add(const TPZTensor< T1 > &tensor, const T2 &constant)
const char * Name() const
void Multiply(const T1 &multipl, const T2 &constant)
void Write(TPZStream &out, int withclassid=0) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
void AlphaMultiplier(const T &A, T &multiplier) const
std::underlying_type< Enumeration >::type as_integer(const Enumeration value)
clarg::argBool h("-h", "help message", false)
clarg::argString input("-if", "input file", "cube1.txt")
This class implements a simple vector storage scheme for a templated class T. Utility.
void Compute(const TPZTensor< T > &sigma, const T &A, TPZVec< T > &res, int checkForcedYield=0) const
void YieldFunction(const TPZVec< STATE > &sigma, STATE kprev, TPZVec< STATE > &yield) const override
void N(const TPZTensor< T > &sigma, const T &A, TPZVec< TPZTensor< T > > &Ndir, int checkForcedYield=0) const
virtual void Write(const bool val)
Implementa a plastificacao do criterio de Von Mises.
TPZTensor< REAL > gRefTension
Contains TPZMatrixclass which implements full matrix (using column major representation).
void dJ3(TPZTensor< T > &deriv) const
void Lodeangle(TPZTensor< T > &GradLode, T &Lode) const
void dJ2(TPZTensor< T > &Tangent) const
virtual int ClassId() const override
Define the class id associated with the class.
void SetForceYield(const int forceYield)
void Read(TPZStream &input, void *context=0) override
read objects from the stream
expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ expr_ sqrt
void Print(std::ostream &out) const override
int Redim(const int64_t newRows, const int64_t newCols) override
Redimension a matrix and ZERO your elements.
virtual int GetNYield() const override
void Eigenvalue(TPZTensor< T > &eigenval, TPZTensor< T > &dSigma1, TPZTensor< T > &dSigma2, TPZTensor< T > &dSigma3) const
void SetUp(const REAL a, const REAL b, const REAL fConcrete)
void SetYieldStatusMode(const TPZTensor< REAL > &sigma, const REAL &A)
Defines the interface for saving and reading data. Persistency.
void Residual(TPZFMatrix< REAL > &res, int icase)
TPZFlopCounter cos(const TPZFlopCounter &orig)
Returns the cosine in radians and increments the counter of the Cosine.
void H(const TPZTensor< T > &sigma, const T &A, TPZVec< T > &h, int checkForcedYield=0) const
void ComputeTangent(TPZFMatrix< REAL > &tangent, TPZVec< REAL > &coefs, int icase)
TPZYCWillamWarnke(const TPZYCWillamWarnke &source)
void S(TPZTensor< T > &s) const
virtual void Read(bool &val)