35 #ifndef newtonianfluid_h 36 #define newtonianfluid_h 46 #define _IFT_NewtonianFluidMaterial_Name "newtonianfluid" 47 #define _IFT_NewtonianFluidMaterial_mu "mu" 79 virtual const char *
giveClassName()
const {
return "NewtonianFluidMaterial"; }
85 #endif // newtonianfluid_h
virtual ~NewtonianFluidMaterial()
Destructor.
Abstract base class for all fluid materials.
Constitutive model of Newtonian fluid.
Defines several material constant (respective their representative number).
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual const char * giveInputRecordName() const
MatResponseMode
Describes the character of characteristic material matrix.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
NewtonianFluidMaterial(int n, Domain *d)
Constructor.
virtual const char * giveClassName() const
virtual double give(int aProperty, GaussPoint *gp)
Returns the value of material property 'aProperty'.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
#define _IFT_NewtonianFluidMaterial_Name
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
Abstract base class representing a material status information.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void computeDeviatoricStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &eps, TimeStep *tStep)
Computes the deviatoric stress vector from given strain.
virtual void giveDeviatoricStiffnessMatrix(FloatMatrix &answer, MatResponseMode, GaussPoint *gp, TimeStep *tStep)
Computes the deviatoric stiffness; .
virtual double giveEffectiveViscosity(GaussPoint *gp, TimeStep *tStep)
Gives the effective viscosity for the given integration point.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Class representing solution step.