35 #ifndef binghamfluid2_h 36 #define binghamfluid2_h 46 #define _IFT_BinghamFluidMaterial2_Name "binghamfluid" 47 #define _IFT_BinghamFluidMaterial2_mu0 "mu0" 48 #define _IFT_BinghamFluidMaterial2_tau0 "tau0" 49 #define _IFT_BinghamFluidMaterial2_muinf "muinf" 50 #define _IFT_BinghamFluidMaterial2_stressGrowthRate "stressgrowthrate" 56 #define BINGHAM_DEFAULT_STRESS_GROWTH_RATE 400.0 96 virtual const char *
giveClassName()
const {
return "BinghamFluidMaterialStatus"; }
133 virtual double give(
int aProperty,
GaussPoint *gp);
136 virtual const char *
giveClassName()
const {
return "BinghamFluidMaterial2"; }
142 double computeActualViscosity(
double Tau,
double shearRate);
152 #endif // binghamfluid2_h
const FloatArray & giveTempDeviatoricStrainVector()
GaussPoint * gp
Associated integration point.
Abstract base class for all fluid materials.
void letTempDevStrainMagnitudeBe(double _val)
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Defines several material constant (respective their representative number).
#define _IFT_BinghamFluidMaterial2_Name
double giveDevStrainMagnitude() const
virtual const char * giveClassName() const
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
virtual const char * giveClassName() const
double giveTempDevStrainMagnitude() const
BinghamFluidMaterial2Status(int n, Domain *d, GaussPoint *g)
Constructor - creates new BinghamFluidMaterial2Status with number n, belonging to domain d and Integr...
MaterialMode
Type representing material mode of integration point.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
MatResponseMode
Describes the character of characteristic material matrix.
void letTempDevStressMagnitudeBe(double _val)
void letTempDeviatoricStrainVectorBe(FloatArray v)
double devStressMagnitude
Magnitude of deviatoric stresses.
This class implements a transport material status information.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
Class representing material status for Bingham material.
FloatArray temp_deviatoricStrainVector
Deviatoric stresses and strains (reduced form).
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
Constitutive model of Bingham fluid for concentrated suspensions and pastes.
Abstract base class representing a material status information.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual ~BinghamFluidMaterial2()
Destructor.
double giveDevStressMagnitude() const
double devStrainMagnitude
Magnitude of deviatoric strains.
virtual ~BinghamFluidMaterial2Status()
Destructor.
double temp_devStrainMagnitude
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
double tau_0
Yield stress.
double giveTempDevStressMagnitude() const
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveInputRecordName() const
Class representing integration point in finite element program.
double temp_devStressMagnitude
Class representing solution step.