35 #ifndef twofluidmaterial_h 36 #define twofluidmaterial_h 46 #define _IFT_TwoFluidMaterial_Name "twofluidmat" 47 #define _IFT_TwoFluidMaterial_mat "mat" 81 virtual const char *
giveClassName()
const {
return "TwoFluidMaterial"; }
107 virtual void updateYourself(
TimeStep *tStep);
111 virtual const char *
giveClassName()
const {
return "TwoFluidMaterialStatus"; }
117 #endif // twofluidmaterial_h InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Abstract base class for all fluid materials.
GaussPoint * giveSlaveGaussPoint0()
virtual void computeDeviatoricStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &eps, TimeStep *tStep)
Computes the deviatoric stress vector from given strain.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
std::unique_ptr< GaussPoint > slaveGp1
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
GaussPoint * giveSlaveGaussPoint1()
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual double giveEffectiveViscosity(GaussPoint *gp, TimeStep *tStep)
Gives the effective viscosity for the given integration point.
double giveTempVOF(GaussPoint *gp)
Material coupling the behavior of two particular materials based on rule of mixture.
FluidDynamicMaterial * giveMaterial(int i) const
This class implements a transport material status information.
virtual ~TwoFluidMaterialStatus()
Destructor.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
std::unique_ptr< GaussPoint > slaveGp0
Abstract base class representing a material status information.
virtual const char * giveInputRecordName() const
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual double give(int aProperty, GaussPoint *gp)
Returns the value of material property 'aProperty'.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual void giveDeviatoricStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes the deviatoric stiffness; .
TwoFluidMaterial(int n, Domain *d)
Constructor.
#define _IFT_TwoFluidMaterial_Name
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Prints output of receiver to stream, for given time step.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
virtual const char * giveClassName() const
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void initTempStatus(GaussPoint *gp)
Initializes temporary variables stored in integration point status at the beginning of new time step...
virtual const char * giveClassName() const
virtual ~TwoFluidMaterial()
Destructor.
Class representing integration point in finite element program.
Class representing solution step.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.