OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
#include <hydram.h>
Public Member Functions | |
HydrationModel * | giveHydrationModel () |
Returns the associated hydration model. More... | |
virtual | ~HydrationModelInterface () |
Destructor. Deletes the associated hydration model. More... | |
IRResultType | initializeFrom (InputRecord *ir) |
Creates and initializes the hydration model according to object description stored in input record. More... | |
contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
virtual void | updateInternalState (const FloatArray &vec, GaussPoint *gp, TimeStep *tStep) |
Calls hydrationModel->updateInternalState, if the material is already cast. More... | |
double | giveHydrationDegree (GaussPoint *gp, TimeStep *tStep, ValueModeType mode) |
Returns the hydration degree at end of TimeStep tStep in given integration point. More... | |
Public Member Functions inherited from oofem::Interface | |
Interface () | |
Constructor. More... | |
virtual | ~Interface () |
virtual const char * | giveClassName () const =0 |
Protected Attributes | |
std::unique_ptr< HydrationModel > | hydrationModel |
Reference to the associated hydrationModel instance. More... | |
double | castAt |
Material cast time - start of hydration. More... | |
double | constantHydrationDegree |
Constant hydration degree for analysis without hydration model. More... | |
|
inlinevirtual |
Destructor. Deletes the associated hydration model.
Definition at line 316 of file hydram.h.
References oofem::MaterialStatus::initializeFrom().
double oofem::HydrationModelInterface::giveHydrationDegree | ( | GaussPoint * | gp, |
TimeStep * | tStep, | ||
ValueModeType | mode | ||
) |
Returns the hydration degree at end of TimeStep tStep in given integration point.
The value is obtained from gp hydration status via the hydration model or the constantHydrationDegree value is returned.
gp | Integration point. |
tStep | Solution step. |
mode | Value mode VM_Incremental or VM_Total. |
Definition at line 660 of file hydram.C.
Referenced by oofem::HydratingHeMoMaterial::giveIPValue(), oofem::HydratingIsoHeatMaterial::giveIPValue(), oofem::HydratingHeMoMaterial::updateInternalState(), and oofem::HydratingIsoHeatMaterial::updateInternalState().
|
inline |
IRResultType oofem::HydrationModelInterface::initializeFrom | ( | InputRecord * | ir | ) |
Creates and initializes the hydration model according to object description stored in input record.
The parent class instanciateFrom method is not called here.
Definition at line 599 of file hydram.C.
References _IFT_HydrationModelInterface_castAt, _IFT_HydrationModelInterface_hydration, oofem::HydrationModel::HydrationModel(), IR_GIVE_OPTIONAL_FIELD, oofem::IRRT_BAD_FORMAT, oofem::IRRT_OK, OOFEM_LOG_INFO, and OOFEM_WARNING.
Referenced by oofem::HydratingHeMoMaterial::initializeFrom(), and oofem::HydratingIsoHeatMaterial::initializeFrom().
|
inline |
Definition at line 331 of file hydram.h.
References oofem::CIO_OK, oofem::HydrationModelStatus::giveHydrationDegree(), and oofem::IntegrationPointStatus::gp.
Referenced by oofem::HydratingHeMoMaterial::restoreIPContext(), and oofem::HydratingIsoHeatMaterial::restoreIPContext().
|
inline |
Definition at line 323 of file hydram.h.
References oofem::CIO_OK.
Referenced by oofem::HydratingHeMoMaterial::saveIPContext(), and oofem::HydratingIsoHeatMaterial::saveIPContext().
|
virtual |
Calls hydrationModel->updateInternalState, if the material is already cast.
In case the cast time lies within the span of current timestep, the timestep increment is set to (time-castAt).
vec | New state vector. |
gp | Integration point. |
tStep | Time step. |
Reimplemented in oofem::HydratingIsoHeatMaterial, and oofem::HydratingHeMoMaterial.
Definition at line 640 of file hydram.C.
References oofem::TimeStep::giveTargetTime(), oofem::TimeStep::giveTimeIncrement(), and oofem::TimeStep::setTimeIncrement().
Referenced by oofem::HydratingHeMoMaterial::updateInternalState(), and oofem::HydratingIsoHeatMaterial::updateInternalState().
|
protected |
Material cast time - start of hydration.
Definition at line 308 of file hydram.h.
Referenced by oofem::HydratingHeMoMaterial::giveCharacteristicValue(), and oofem::HydratingIsoHeatMaterial::giveCharacteristicValue().
|
protected |
|
protected |
Reference to the associated hydrationModel instance.
Definition at line 306 of file hydram.h.
Referenced by oofem::HydratingHeMoMaterial::computeInternalSourceVector(), oofem::HydratingIsoHeatMaterial::computeInternalSourceVector(), oofem::HydratingHeMoMaterial::giveCharacteristicValue(), oofem::HydratingIsoHeatMaterial::giveCharacteristicValue(), oofem::HydratingHeMoMaterial::setMixture(), and oofem::HydratingIsoHeatMaterial::setMixture().