93 virtual void Print(std::ostream & out = std::cout)
override;
96 std::string
Name()
override {
return "TPZElasticityAxiMaterial"; }
117 PZError <<
"\nFATAL ERROR - Method not implemented: " << __PRETTY_FUNCTION__ <<
"\n";
156 virtual int ClassId()
const override;
161 virtual void Write(
TPZStream &buf,
int withclassid)
const override;
Defines the interface which material objects need to implement for discontinuous Galerkin formulation...
REAL fPenaltyConstant
Penalty term.
void Errors(TPZVec< REAL > &x, TPZVec< STATE > &u, TPZFMatrix< STATE > &dudx, TPZFMatrix< REAL > &axes, TPZVec< STATE > &flux, TPZVec< STATE > &u_exact, TPZFMatrix< STATE > &du_exact, TPZVec< REAL > &values) override
Computes the error due to the difference between the interpolated flux and the flux computed based o...
void SetMohrCoulomb(double c, double phi)
TPZManVector< REAL > f_AxisZ
Revolution Axis.
Implements a two dimensional elastic material in plane stress or strain.
REAL fAlpha
Thermal expansion coeficient.
REAL fDelTemperature
Temperature difference.
clarg::argBool bc("-bc", "binary checkpoints", false)
TPZManVector< REAL > f_Origin
Origin of AxisR and AxisZ.
virtual void Flux(TPZVec< REAL > &x, TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, TPZVec< STATE > &flux) override
Computes the value of the flux function to be used by ZZ error estimator.
virtual void ContributeInterface(TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
It computes a contribution to stiffness matrix and load vector at one integration point...
virtual int ClassId() const override
Unique identifier for serialization purposes.
REAL f_phi
Mohr Coulomb Plasticity Criteria Data.
void SetOrigin(TPZManVector< REAL > &Orig, TPZManVector< REAL > &AxisZ, TPZManVector< REAL > &AxisR)
Set the origin of Revolution Axis ( ), the direction of Revolution Axis ( ), and the Radius vector (...
REAL E()
Returns the elasticity modulus E.
void SetTemperature(REAL delt)
void SetTemperatureFunction(void(*func)(const TPZVec< REAL > &rz, REAL &temperature))
REAL Nu()
Returns the poison coefficient modulus E.
TPZElasticityAxiMaterial()
Default constructor.
virtual void Write(TPZStream &buf, int withclassid) const override
Saves the element data to a stream.
virtual int Dimension() const override
Returns the model dimension.
This abstract class defines the behaviour which each derived class needs to implement.
TPZManVector< REAL > GetAxisZ()
REAL fSymmetric
Symmetric.
REAL ComputeR(TPZVec< REAL > &x)
REAL ff[3]
Forcing vector.
virtual void Print(std::ostream &out=std::cout) override
Prints the material data.
virtual TPZMaterial * NewMaterial() override
Creates a new material from the current object ??
#define DebugStop()
Returns a message to user put a breakpoint in.
TPZManVector< REAL > GetAxisR()
This class defines the boundary condition for TPZMaterial objects.
virtual int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
virtual ~TPZElasticityAxiMaterial()
Destructor.
virtual void Read(TPZStream &buf, void *context) override
Reads the element data from a stream.
void SetPreStress(REAL Sigxx, REAL Sigyy, REAL Sigxy)
Sets PresStress Tensor.
virtual int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var. var is obtained by cal...
virtual void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
std::string Name() override
Returns the material name.
REAL f_c
Mohr Coulomb Plasticity Criteria Data.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Calculates the element stiffness matrix.
void(* fTemperatureFunction)(const TPZVec< REAL > &rz, REAL &temperature)
Function which defines the temperature.
void SetThermalExpansionCoefficient(REAL alpha)
TPZManVector< REAL > GetOrigin()
virtual short NumberOfFluxes()
Return the number of components which form the flux function.
REAL fnu
Poison coeficient.
Defines the interface for saving and reading data. Persistency.
virtual int NFluxes() override
Return the number of components which form the flux function.
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.
Contains the TPZDiscontinuousGalerkin class which implements the interface for discontinuous Galerkin...
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Applies the element boundary conditions.
REAL fE
Elasticity modulus.
virtual void ContributeBCInterface(TPZMaterialData &data, TPZMaterialData &dataleft, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to stiffness matrix and load vector at one BC integration point...
TPZManVector< REAL > f_AxisR
Direction of Surface.
#define PZError
Defines the output device to error messages and the DebugStop() function.