OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Class representing material status for Bingham material. More...
#include <binghamfluid2.h>
Public Member Functions | |
BinghamFluidMaterial2Status (int n, Domain *d, GaussPoint *g) | |
Constructor - creates new BinghamFluidMaterial2Status with number n, belonging to domain d and IntegrationPoint g. More... | |
virtual | ~BinghamFluidMaterial2Status () |
Destructor. More... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Print receiver's output to given stream. More... | |
virtual void | initTempStatus () |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables. More... | |
virtual void | updateYourself (TimeStep *tStep) |
Update equilibrium history variables according to temp-variables. More... | |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Stores receiver state to output stream. More... | |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Restores the receiver state previously written in stream. More... | |
double | giveTempDevStressMagnitude () const |
double | giveTempDevStrainMagnitude () const |
double | giveDevStressMagnitude () const |
double | giveDevStrainMagnitude () const |
void | letTempDevStrainMagnitudeBe (double _val) |
void | letTempDevStressMagnitudeBe (double _val) |
const FloatArray & | giveTempDeviatoricStrainVector () |
void | letTempDeviatoricStrainVectorBe (FloatArray v) |
virtual const char * | giveClassName () const |
Public Member Functions inherited from oofem::FluidDynamicMaterialStatus | |
FluidDynamicMaterialStatus (int n, Domain *d, GaussPoint *g) | |
Constructor - creates new TransportMaterialStatus with number n, belonging to domain d and integration point g. More... | |
virtual | ~FluidDynamicMaterialStatus () |
Destructor. More... | |
const FloatArray & | giveDeviatoricStressVector () |
Gives the deviatoric stress. More... | |
const FloatArray & | giveDeviatoricStrainRateVector () |
void | letDeviatoricStressVectorBe (FloatArray v) |
Sets the deviatoric stress. More... | |
void | letDeviatoricStrainRateVectorBe (FloatArray v) |
Public Member Functions inherited from oofem::MaterialStatus | |
MaterialStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. More... | |
virtual | ~MaterialStatus () |
Destructor. More... | |
virtual bool | giveMaterialProperty (int propID, double &value) |
Returns the value of material model property stored in receiving status. More... | |
virtual void | setMaterialProperty (int propID, double value) |
Allows to set the value of material model property to be stored in receiving status. More... | |
virtual void | setStatusVariable (int varID, double value) |
Allows to set the value of a specific variable, identified by varID. More... | |
virtual void | restoreConsistency () |
Restores consistency of the status, i.e., computes or corrects the values of certain status variables such that the state is admissible. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
Public Member Functions inherited from oofem::IntegrationPointStatus | |
IntegrationPointStatus (int n, Domain *d, GaussPoint *g) | |
Constructor. More... | |
virtual | ~IntegrationPointStatus () |
Destructor. More... | |
virtual const char * | giveInputRecordName () const |
Public Member Functions inherited from oofem::FEMComponent | |
FEMComponent (int n, Domain *d) | |
Regular constructor, creates component with given number and belonging to given domain. More... | |
virtual | ~FEMComponent () |
Virtual destructor. More... | |
Domain * | giveDomain () const |
virtual void | setDomain (Domain *d) |
Sets associated Domain. More... | |
int | giveNumber () const |
void | setNumber (int num) |
Sets number of receiver. More... | |
virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
Local renumbering support. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
virtual Interface * | giveInterface (InterfaceType t) |
Interface requesting service. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
Protected Attributes | |
double | devStrainMagnitude |
Magnitude of deviatoric strains. More... | |
double | temp_devStrainMagnitude |
double | devStressMagnitude |
Magnitude of deviatoric stresses. More... | |
double | temp_devStressMagnitude |
FloatArray | temp_deviatoricStrainVector |
Deviatoric stresses and strains (reduced form). More... | |
Protected Attributes inherited from oofem::FluidDynamicMaterialStatus | |
FloatArray | deviatoricStressVector |
Stress vector in reduced form. More... | |
FloatArray | deviatoricStrainRateVector |
Strain vector in reduced form. More... | |
Protected Attributes inherited from oofem::IntegrationPointStatus | |
GaussPoint * | gp |
Associated integration point. More... | |
Protected Attributes inherited from oofem::FEMComponent | |
int | number |
Component number. More... | |
Domain * | domain |
Link to domain object, useful for communicating with other FEM components. More... | |
Class representing material status for Bingham material.
Definition at line 61 of file binghamfluid2.h.
oofem::BinghamFluidMaterial2Status::BinghamFluidMaterial2Status | ( | int | n, |
Domain * | d, | ||
GaussPoint * | g | ||
) |
Constructor - creates new BinghamFluidMaterial2Status with number n, belonging to domain d and IntegrationPoint g.
Definition at line 542 of file binghamfluid2.C.
References oofem::FluidDynamicMaterialStatus::deviatoricStrainRateVector, oofem::FluidDynamicMaterialStatus::deviatoricStressVector, devStrainMagnitude, devStressMagnitude, oofem::GaussPoint::giveMaterialMode(), oofem::IntegrationPointStatus::gp, OOFEM_ERROR, oofem::FloatArray::resize(), temp_deviatoricStrainVector, temp_devStrainMagnitude, temp_devStressMagnitude, and oofem::FloatArray::zero().
|
inlinevirtual |
Destructor.
Definition at line 75 of file binghamfluid2.h.
References initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
inlinevirtual |
Reimplemented from oofem::IntegrationPointStatus.
Definition at line 96 of file binghamfluid2.h.
|
inline |
Definition at line 88 of file binghamfluid2.h.
References devStrainMagnitude.
|
inline |
Definition at line 87 of file binghamfluid2.h.
References devStressMagnitude.
|
inline |
Definition at line 93 of file binghamfluid2.h.
References temp_deviatoricStrainVector.
Referenced by oofem::BinghamFluidMaterial2::giveDeviatoricStiffnessMatrix(), oofem::BinghamFluidMaterial2::giveEffectiveViscosity(), and restoreContext().
|
inline |
Definition at line 86 of file binghamfluid2.h.
References temp_devStrainMagnitude.
Referenced by oofem::BinghamFluidMaterial2::giveDeviatoricStiffnessMatrix(), and oofem::BinghamFluidMaterial2::giveEffectiveViscosity().
|
inline |
Definition at line 85 of file binghamfluid2.h.
References temp_devStressMagnitude.
|
virtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::FluidDynamicMaterialStatus.
Definition at line 600 of file binghamfluid2.C.
References oofem::FluidDynamicMaterialStatus::deviatoricStrainRateVector, devStrainMagnitude, devStressMagnitude, oofem::FluidDynamicMaterialStatus::initTempStatus(), temp_deviatoricStrainVector, temp_devStrainMagnitude, and temp_devStressMagnitude.
Referenced by ~BinghamFluidMaterial2Status().
|
inline |
Definition at line 94 of file binghamfluid2.h.
Referenced by oofem::BinghamFluidMaterial2::computeDeviatoricStressVector().
|
inline |
Definition at line 90 of file binghamfluid2.h.
Referenced by oofem::BinghamFluidMaterial2::computeDeviatoricStressVector().
|
inline |
Definition at line 91 of file binghamfluid2.h.
Referenced by oofem::BinghamFluidMaterial2::computeDeviatoricStressVector().
|
virtual |
Print receiver's output to given stream.
Reimplemented from oofem::FluidDynamicMaterialStatus.
Definition at line 569 of file binghamfluid2.C.
References oofem::FluidDynamicMaterialStatus::deviatoricStrainRateVector, oofem::FluidDynamicMaterialStatus::deviatoricStressVector, devStrainMagnitude, and devStressMagnitude.
Referenced by ~BinghamFluidMaterial2Status().
|
virtual |
Restores the receiver state previously written in stream.
stream | Input stream. |
mode | Determines amount of info available in stream (state, definition, ...). |
obj | Special parameter for sending extra information. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::FluidDynamicMaterialStatus.
Definition at line 639 of file binghamfluid2.C.
References oofem::BinghamFluidMaterial2::__debug(), oofem::FloatArray::add(), oofem::CIO_IOERR, oofem::CIO_OK, devStrainMagnitude, devStressMagnitude, giveTempDeviatoricStrainVector(), oofem::IntegrationPointStatus::gp, oofem::DataStream::read(), oofem::FluidDynamicMaterialStatus::restoreContext(), and THROW_CIOERR.
Referenced by ~BinghamFluidMaterial2Status().
|
virtual |
Stores receiver state to output stream.
stream | Output stream. |
mode | Determines amount of info required in stream (state, definition, ...). |
obj | Special parameter, used only to send particular integration point to material class version of this method. |
throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::FluidDynamicMaterialStatus.
Definition at line 614 of file binghamfluid2.C.
References oofem::CIO_IOERR, oofem::CIO_OK, devStrainMagnitude, devStressMagnitude, oofem::FluidDynamicMaterialStatus::saveContext(), THROW_CIOERR, and oofem::DataStream::write().
Referenced by ~BinghamFluidMaterial2Status().
|
virtual |
Update equilibrium history variables according to temp-variables.
Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::MaterialStatus.
Definition at line 588 of file binghamfluid2.C.
References oofem::FluidDynamicMaterialStatus::deviatoricStrainRateVector, devStrainMagnitude, devStressMagnitude, temp_deviatoricStrainVector, temp_devStrainMagnitude, temp_devStressMagnitude, and oofem::MaterialStatus::updateYourself().
Referenced by ~BinghamFluidMaterial2Status().
|
protected |
Magnitude of deviatoric strains.
Definition at line 65 of file binghamfluid2.h.
Referenced by BinghamFluidMaterial2Status(), giveDevStrainMagnitude(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Magnitude of deviatoric stresses.
Definition at line 67 of file binghamfluid2.h.
Referenced by BinghamFluidMaterial2Status(), giveDevStressMagnitude(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
Deviatoric stresses and strains (reduced form).
Definition at line 69 of file binghamfluid2.h.
Referenced by BinghamFluidMaterial2Status(), giveTempDeviatoricStrainVector(), initTempStatus(), and updateYourself().
|
protected |
Definition at line 65 of file binghamfluid2.h.
Referenced by BinghamFluidMaterial2Status(), giveTempDevStrainMagnitude(), initTempStatus(), and updateYourself().
|
protected |
Definition at line 67 of file binghamfluid2.h.
Referenced by BinghamFluidMaterial2Status(), giveTempDevStressMagnitude(), initTempStatus(), and updateYourself().