67 for(
int i = 0; i < data.
phi.
Rows(); i++)
69 ef(i,0) += (STATE)(weight * (1./
f_deltaT) * data.
phi(i,0)) * wn;
75 STATE wnplus1 = (STATE)simmetryy * data.
sol[1][1];
76 STATE w3 = wnplus1*wnplus1*wnplus1;
77 REAL carterGAMMA = 1.;
78 for(
int i = 0; i < data.
phi.
Rows(); i++)
82 for(
int i = 0; i < data.
phi.
Rows(); i++)
84 for(
int j = 0; j < data.
phi.
Rows(); j++)
87 ek(i,j) += (STATE)(weight*carterGAMMA*data.
phi(j,0)*data.
phi(i,0));
106 for(
int i = 0; i < data.
phi.
Rows(); i++)
108 ef(i,0) += (STATE)(weight* data.
phi(i,0)) * bc.
Val2()(0,0);
virtual void Read(TPZStream &buf, void *context) override
Reads the element data from a stream.
clarg::argBool bc("-bc", "binary checkpoints", false)
virtual ~TPZReynoldsFlow()
virtual void Write(TPZStream &buf, int withclassid) const override
Saves the element data to a stream.
virtual int Dimension() const override
Returns the integrable dimension of the material.
This abstract class defines the behaviour which each derived class needs to implement.
TPZFMatrix< STATE > & Val2(int loadcase=0)
TPZFNMatrix< 220, REAL > phi
vector of shapefunctions (format is dependent on the value of shapetype)
TPZFNMatrix< 660, REAL > dphix
values of the derivative of the shape functions
This abstract class defines the behaviour which each derived class needs to implement.
Contains the TPZBndCond class which implements a boundary condition for TPZMaterial objects...
virtual TPZMaterial * NewMaterial() override
It computes a contribution to the stiffness matrix and load vector at one BC integration point to mul...
#define DebugStop()
Returns a message to user put a breakpoint in.
This class defines the boundary condition for TPZMaterial objects.
int64_t Rows() const
Returns number of rows.
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...
virtual int ClassId() const override
Unique identifier for serialization purposes.
int32_t Hash(std::string str)
int ClassId() const override
Unique identifier for serialization purposes.
virtual int NStateVariables() const override
Returns the number of state variables associated with the material.
Defines the interface for saving and reading data. Persistency.
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to the stiffness matrix and load vector at one integration point to multip...
TPZSolVec sol
vector of the solutions at the integration point