OOFEM 3.0
Loading...
Searching...
No Matches
oofem::HydrationModelInterface Class Reference

#include <hydram.h>

Inheritance diagram for oofem::HydrationModelInterface:
Collaboration diagram for oofem::HydrationModelInterface:

Public Member Functions

HydrationModelgiveHydrationModel ()
 Returns the associated hydration model.
virtual void initializeFrom (InputRecord &ir)
void saveContext (DataStream &stream, ContextMode mode)
void restoreContext (DataStream &stream, ContextMode mode)
virtual void updateInternalState (const FloatArray &vec, GaussPoint *gp, TimeStep *tStep)
double giveHydrationDegree (GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const
Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor.
virtual ~Interface ()
virtual const char * giveClassName () const =0

Protected Attributes

std ::unique_ptr< HydrationModelhydrationModel
 Reference to the associated hydrationModel instance.
double castAt = 0.
 Material cast time - start of hydration.
double constantHydrationDegree = 0.
 Constant hydration degree for analysis without hydration model.

Detailed Description

Definition at line 294 of file hydram.h.

Member Function Documentation

◆ giveHydrationDegree()

double oofem::HydrationModelInterface::giveHydrationDegree ( GaussPoint * gp,
TimeStep * tStep,
ValueModeType mode ) const

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.

Parameters
gpIntegration point.
tStepSolution step.
modeValue mode VM_Incremental or VM_Total.
Returns
Hydration degree or increment in given gp.

Definition at line 626 of file hydram.C.

References constantHydrationDegree, and hydrationModel.

Referenced by oofem::HydratingHeMoMaterial::giveIPValue(), oofem::HydratingIsoHeatMaterial::giveIPValue(), oofem::HydratingHeMoMaterial::updateInternalState(), and oofem::HydratingIsoHeatMaterial::updateInternalState().

◆ giveHydrationModel()

HydrationModel * oofem::HydrationModelInterface::giveHydrationModel ( )
inline

Returns the associated hydration model.

Definition at line 307 of file hydram.h.

References hydrationModel.

◆ initializeFrom()

void oofem::HydrationModelInterface::initializeFrom ( InputRecord & ir)
virtual

Creates and initializes the hydration model according to object description stored in input record. The parent class instanciateFrom method is not called here.

Reimplemented in oofem::HydratingHeMoMaterial, and oofem::HydratingIsoHeatMaterial.

Definition at line 570 of file hydram.C.

References _IFT_HydrationModelInterface_castAt, _IFT_HydrationModelInterface_hydration, castAt, constantHydrationDegree, hydrationModel, IR_GIVE_OPTIONAL_FIELD, and OOFEM_LOG_INFO.

◆ restoreContext()

void oofem::HydrationModelInterface::restoreContext ( DataStream & stream,
ContextMode mode )
inline

Definition at line 320 of file hydram.h.

References hydrationModel.

◆ saveContext()

void oofem::HydrationModelInterface::saveContext ( DataStream & stream,
ContextMode mode )
inline

Definition at line 314 of file hydram.h.

References hydrationModel.

◆ updateInternalState()

void oofem::HydrationModelInterface::updateInternalState ( const FloatArray & vec,
GaussPoint * gp,
TimeStep * tStep )
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).

Parameters
vecNew state vector.
gpIntegration point.
tStepTime step.

Reimplemented in oofem::HydratingHeMoMaterial, and oofem::HydratingIsoHeatMaterial.

Definition at line 606 of file hydram.C.

References castAt, oofem::TimeStep::giveTargetTime(), oofem::TimeStep::giveTimeIncrement(), hydrationModel, and oofem::TimeStep::setTimeIncrement().

Member Data Documentation

◆ castAt

double oofem::HydrationModelInterface::castAt = 0.
protected

◆ constantHydrationDegree

double oofem::HydrationModelInterface::constantHydrationDegree = 0.
protected

Constant hydration degree for analysis without hydration model.

Definition at line 303 of file hydram.h.

Referenced by giveHydrationDegree(), and initializeFrom().

◆ hydrationModel


The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011