11 #ifndef TPZFLOWCOMPMESH_H 12 #define TPZFLOWCOMPMESH_H REAL ComputeTimeStep()
Computes the current time step for the mesh.
void Read(TPZStream &buf, void *context) override
Read the element data from a stream.
int NFlowMaterials()
Returns the number of Flow materials.
void ScaleCFL(REAL scale)
Scales the CFL of all materials.
Contains declaration of TPZCompEl class which defines the interface of a computational element...
void CollectFluidMaterials()
Should be called after all materials have been added to the mesh.
virtual void ExpandSolution2()
Adapt the solution vector to new block dimensions.
This abstract class defines the behaviour which each derived class needs to implement.
Computational mesh with additional data for CFD problems. Computational Mesh.
int ClassId() const override
Returns the unique identifier for reading/writing objects to streams.
TPZMaterial * GetFlowMaterial()
Returns the first flow material in the mesh.
REAL MaxVelocityOfMesh()
According to each material settings, it returns the greatest velocity in the mesh.
void Write(TPZStream &buf, int withclassid) const override
Saves the element data to a stream.
TPZResidualType
Which terms are being contributed.
void SetContributionTime(TPZContributeTime time)
Informs the time at which the current solution in the computational mesh belongs, so that the materia...
std::map< int, TPZMaterial *> fFluidMaterial
This vector of pointers represent the collection of all fluid materials in the mesh.
void SetResidualType(TPZResidualType type)
Sets the kind of residual to be computed.
void SetFlowforcingFunction(TPZAutoPointer< TPZFunction< STATE > > fp)
Sets the forcing funtion for all fluid materials in the mesh.
Contains declaration of TPZCompMesh class which is a repository for computational elements...
virtual void AutoBuild() override
Creates the computational elements, and the degree of freedom nodes.
This class implements a geometric mesh for the pz environment. Geometry.
Implements computational mesh. Computational Mesh.
void SetCFL(REAL CFL)
Informs all materials the CFL number.
Defines the interface for saving and reading data. Persistency.
Contains the TPZConservationLaw class which implements the interface for conservation laws...
TPZContributeTime
Indicates which term is put in the right hand side and tangent matrix.
This class implements a reference counter mechanism to administer a dynamically allocated object...