104 answer.
times(1.0 - vof);
106 answer.
add(vof, tmp);
134 answer.
add(1.0 - vof, v0);
153 answer.
add(1.0 - vof, a0);
165 if ( ( vof.
at(1) < 0. ) || ( vof.
at(1) > 1.0 ) ) {
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
virtual void updateYourself(TimeStep *)
Update equilibrium history variables according to temp-variables.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
virtual MaterialStatus * giveStatus(GaussPoint *gp) const
Returns material status of receiver in given integration point.
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
virtual double giveEffectiveViscosity(GaussPoint *gp, TimeStep *tStep)=0
Gives the effective viscosity for the given integration point.
Abstract base class for all fluid materials.
Domain * domain
Link to domain object, useful for communicating with other FEM components.
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...
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
double & at(int i)
Coefficient access function.
void clear()
Clears receiver (zero size).
virtual MaterialInterface * giveMaterialInterface(int n)
Returns material interface representation for given domain.
void letDeviatoricStrainRateVectorBe(FloatArray v)
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
EngngModel * giveEngngModel()
Returns engineering model to which receiver is associated.
std::unique_ptr< GaussPoint > slaveGp1
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
GaussPoint * giveSlaveGaussPoint1()
Element * giveElement()
Returns corresponding element to receiver.
int giveNumber()
Returns domain number.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
TwoFluidMaterialStatus(int n, Domain *d, GaussPoint *g, const IntArray &slaveMaterial)
Constructor.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
virtual double giveEffectiveViscosity(GaussPoint *gp, TimeStep *tStep)
Gives the effective viscosity for the given integration point.
double giveTempVOF(GaussPoint *gp)
void letDeviatoricStressVectorBe(FloatArray v)
Sets the deviatoric stress.
virtual double give(int aProperty, GaussPoint *gp)
Returns the value of material property 'aProperty'.
FluidDynamicMaterial * giveMaterial(int i) const
virtual void giveElementMaterialMixture(FloatArray &answer, int ielem)=0
Returns volumetric (or other based measure) of relative material contents in given element...
This class implements a transport material status information.
virtual void computeDeviatoricStressVector(FloatArray &stress_dev, double &epsp_vol, GaussPoint *gp, const FloatArray &eps, double pressure, TimeStep *tStep)
Computes the deviatoric stress vector and volumetric strain rate from given deviatoric strain and pre...
Material * giveMaterial(int n)
Service for accessing particular domain material model.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
Abstract base class representing (moving) material interfaces.
std::unique_ptr< GaussPoint > slaveGp0
Abstract base class representing a material status information.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
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 contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
IntegrationPointStatus * giveMaterialStatus()
Returns reference to associated material status (NULL if not defined).
virtual void giveDeviatoricStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes the deviatoric stiffness; .
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
void add(const FloatMatrix &a)
Adds matrix to the receiver.
void times(double s)
Multiplies receiver with scalar.
virtual void updateYourself(TimeStep *)
Update equilibrium history variables according to temp-variables.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
Domain * giveDomain() const
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
REGISTER_Material(DummyMaterial)
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
#define _IFT_TwoFluidMaterial_mat
the oofem namespace is to define a context or scope in which all oofem names are defined.
void clear()
Sets size of receiver to be an empty matrix. It will have zero rows and zero columns size...
Class representing integration point in finite element program.
#define OOFEM_WARNING(...)
Class representing solution step.
void add(const FloatArray &src)
Adds array src to receiver.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
virtual void giveDeviatoricStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)=0
Computes the deviatoric stiffness; .