60 void SetParameters(STATE MU, STATE RHO, STATE Cmu, STATE SigmaK, STATE SigmaEps, STATE Cepsilon1, STATE Cepsilon2,
TPZVec<STATE> &BodyForce );
62 void GetParameters(STATE &MU, STATE &RHO, STATE &Cmu, STATE &SigmaK, STATE &SigmaEps, STATE &Cepsilon1, STATE &Cepsilon2,
TPZVec<STATE> &BodyForce );
72 virtual void Print(std::ostream &out = std::cout)
override;
127 PZError << __PRETTY_FUNCTION__ << std::endl;
128 PZError <<
"Method not implemented! Error comparison not available. Please, implement it." << std::endl;
131 virtual int ClassId()
const override;
virtual void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout)
Returns the solution associated with the var index based on the finite element approximation.
clarg::argBool bc("-bc", "binary checkpoints", false)
virtual int ClassId() const override
Define the class id associated with the class.
clarg::argInt dimension("-d", "Matrices dimension M x M", 1000)
TPZIncNavierStokesKEps(int id, int dimension)
virtual int NSolutionVariables(int var) override
Returns the number of variables associated with the variable indexed by var. var is obtained by cal...
REAL val(STATE &number)
Returns value of the variable.
This abstract class defines the behaviour which each derived class needs to implement.
virtual void Solution(TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
void GetParameters(STATE &MU, STATE &RHO, STATE &Cmu, STATE &SigmaK, STATE &SigmaEps, STATE &Cepsilon1, STATE &Cepsilon2, TPZVec< STATE > &BodyForce)
virtual ~TPZIncNavierStokesKEps()
This class defines the boundary condition for TPZMaterial objects.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Computes contribution to the tangent matrix and residual at an integration point. ...
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Computes contribution to the stiffness matrix and right hand side at the integration point of a bound...
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc)=0
It computes a contribution to the stiffness matrix and load vector at one BC integration point...
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Computes contribution to the stiffness matrix and right hand side at the integration point of a bound...
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.
virtual void Errors(TPZVec< REAL > &x, TPZVec< STATE > &sol, TPZFMatrix< STATE > &dsol, TPZFMatrix< REAL > &axes, TPZVec< STATE > &flux, TPZVec< STATE > &uexact, TPZFMatrix< STATE > &duexact, TPZVec< REAL > &val) override
Computes the error due to the difference between the interpolated flux and the flux computed based o...
TPZVec< STATE > fBodyForce
void SetParameters(STATE MU, STATE RHO, STATE Cmu, STATE SigmaK, STATE SigmaEps, STATE Cepsilon1, STATE Cepsilon2, TPZVec< STATE > &BodyForce)
virtual int Dimension() const override
Returns the integrable dimension of the material.
This class implements an imcompressible Navier-Stokes formulation with modified KEpsilon turbulence m...
virtual void Print(std::ostream &out=std::cout) override
Print out the data associated with the material.
STATE Dot(TPZFMatrix< STATE > &A, TPZFMatrix< STATE > &B)
Dot for matrices with same dimensions. No consistence test is made.
#define PZError
Defines the output device to error messages and the DebugStop() function.