6 #ifndef PZTHERMICELAST3D 7 #define PZTHERMICELAST3D 61 this->fFinalTemperature = FinalTemp;
62 this->fReferred =
false;
66 this->fFinalTemperature = 0.;
67 this->fReferred =
true;
95 int numbersol = data.
sol.
size();
bool fReferred
Flag indicating a constant field of temperature (fReferred = false) or a field obtained in a previou...
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.
This class implements a 3D isotropic elasticity material with thermal stress.
This class implements a 3D isotropic elasticity material.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
It computes a contribution to the stiffness matrix and load vector at one integration point...
TPZGradSolVec dsol
vector of the derivatives of the solution at the integration point
STATE fThermalCoeff
Thermal expansion coefficient of the material.
Contains the TPZElasticity3D class which implements a 3D isotropic elasticity material.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef) override
It computes a contribution to the residual vector at one integration point.
bool IsReferredTemperatureField()
int64_t size() const
Returns the number of elements of the vector.
#define DebugStop()
Returns a message to user put a breakpoint in.
TPZThermicElast3D(int nummat, STATE ThermalCoeff, STATE RefTemp, STATE E, STATE poisson, TPZVec< STATE > &force)
Class constructor.
void ContributeThermalStress(TPZVec< STATE > &sol, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, REAL weight, TPZFMatrix< STATE > &ef)
TPZFNMatrix< 9, REAL > axes
axes indicating the directions of the derivatives of the shapefunctions
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Contribute to stiff matrix and load vector.
void SetReferredTemperatureField()
virtual ~TPZThermicElast3D()
Default destructor.
STATE fRefTemperature
Temperature of reference. The thermal stress is given by the difference of the temperature field to t...
int ClassId() const override
Define the class id associated with the class.
virtual void Solution(TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, int var, TPZVec< STATE > &Solout) override
Post-processing method. Based on solution Sol and its derivatives DSol, it computes the post-processe...
STATE fFinalTemperature
When solving problem with a constant field of temperature (fReferred = false) fFinalTemperature is t...
TPZSolVec sol
vector of the solutions at the integration point
void SetConstantTemperatureField(STATE FinalTemp)