109 normeps2 = eps.
at(1) * eps.
at(1) + eps.
at(2) * eps.
at(2) + 0.5 * ( eps.
at(3) * eps.
at(3) );
112 normeps2 = eps.
at(1) * eps.
at(1) + eps.
at(2) * eps.
at(2) + eps.
at(3) * eps.
at(3) + 0.5 * ( eps.
at(4) * eps.
at(4) );
115 normeps2 = eps.
at(1) * eps.
at(1) + eps.
at(2) * eps.
at(2) + eps.
at(3) * eps.
at(3) + 0.5 * ( eps.
at(4) * eps.
at(4) + eps.
at(5) * eps.
at(5) + eps.
at(6) * eps.
at(6) );
142 answer.
at(i, i) = 1.;
145 answer.
at(3, 3) *= 0.5;
147 answer.
at(4, 4) *= 0.5;
149 answer.
at(4, 4) *= 0.5;
150 answer.
at(5, 5) *= 0.5;
151 answer.
at(6, 6) *= 0.5;
154 if ( normeps2 != 0 ) {
190 temp_deviatoricStressVector(),
191 temp_deviatoricStrainVector(),
virtual void updateYourself(TimeStep *)
Update equilibrium history variables according to temp-variables.
virtual MaterialStatus * giveStatus(GaussPoint *gp) const
Returns material status of receiver in given integration point.
FloatArray deviatoricStressVector
Stress vector in reduced form.
#define _IFT_NonlinearFluidMaterial_alpha
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
#define _IFT_NonlinearFluidMaterial_mu
Domain * domain
Link to domain object, useful for communicating with other FEM components.
double & at(int aKey)
Returns the value of the pair which key is aKey.
double & at(int i)
Coefficient access function.
#define _IFT_NonlinearFluidMaterial_C
virtual double giveEffectiveViscosity(GaussPoint *gp, TimeStep *tStep)
Gives the effective viscosity for the given integration point.
EngngModel * giveEngngModel()
Returns engineering model to which receiver is associated.
Dictionary propertyDictionary
Property dictionary.
virtual void updateYourself(TimeStep *)
Update equilibrium history variables according to temp-variables.
void letTempStrainNorm2Be(double v)
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
double c
Material constant .
MatResponseMode
Describes the character of characteristic material matrix.
void letTempDeviatoricStrainVectorBe(FloatArray v)
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
void letTempDeviatoricStressVectorBe(FloatArray v)
Material status class for NonlinearFluidMaterial.
virtual double give(int aProperty, GaussPoint *gp)
Returns the value of material property 'aProperty'.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
FloatArray deviatoricStrainRateVector
Strain vector in reduced form.
This class implements a transport material status information.
double viscosity
Viscosity of material.
double alpha
Material constant .
virtual double giveVariableScale(VarScaleType varId)
Returns the scale factor for given variable type.
void times(double f)
Multiplies receiver by factor f.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
virtual double give(int aProperty, GaussPoint *)
Returns the value of material property 'aProperty'.
FloatArray temp_deviatoricStrainVector
double at(int i, int j) const
Coefficient access function.
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.
double giveTempStrainNorm2()
FloatArray temp_deviatoricStressVector
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual bool giveEquationScalingFlag()
Returns the Equation scaling flag, which is used to indicate that governing equation(s) are scaled...
void add(const FloatMatrix &a)
Adds matrix to the receiver.
const FloatArray & giveTempDeviatoricStrainVector()
void beDyadicProductOf(const FloatArray &vec1, const FloatArray &vec2)
Assigns to the receiver the dyadic product .
void times(double s)
Multiplies receiver with scalar.
NonlinearFluidMaterialStatus(int n, Domain *d, GaussPoint *g)
void zero()
Zeroes all coefficient of receiver.
Domain * giveDomain() const
REGISTER_Material(DummyMaterial)
int giveSize() const
Returns the size of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
int giveNumberOfRows() const
Returns number of rows of receiver.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Class representing integration point in finite element program.
Class representing solution step.
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; .