86 #define _IFT_HydrationModel_Name "hydrationmodel" 87 #define _IFT_HydrationModel_hydration "hydration" 88 #define _IFT_HydrationModel_c60mix "c60mix" 89 #define _IFT_HydrationModel_timeScale "timescale" 90 #define _IFT_HydrationModel_hheat "hheat" 91 #define _IFT_HydrationModel_cv "cv" 92 #define _IFT_HydrationModel_water "water" 97 #define _IFT_HydrationModelInterface_hydration "hydration" 98 #define _IFT_HydrationModelInterface_castAt "castat" 102 #define ROOT_PRECISION_DKSI 1e-14 103 #define BINARY_TREE_STEPS 2 106 #define HYDRATION_MAXSTEP0 3600 //600 107 #define HYDRATION_MAXSTEP1 86400 //3600 143 virtual const char *
giveClassName()
const {
return "HydrationModelStatus"; }
180 double auxksi, auxdt,
auxT, auxh;
181 double localResidual(
double dks);
185 double regulafindroot();
186 double bintreefindroot();
187 double mixedfindroot();
191 double affinity(
double ksi);
193 double dAdksi(
double ksi);
194 double dksidT(
double ksi,
double T,
double h,
double dt);
195 double dksidh(
double ksi,
double T,
double h,
double dt);
204 double computeHydrationDegreeIncrement(
double ksi,
double T,
double h,
double dt);
325 if ( hydrationModel ) {
326 hydrationModel->saveContext(stream, mode, obj);
333 if ( hydrationModel ) {
334 hydrationModel->restoreContext(stream, mode, obj);
HydrationModelStatus * giveHydrationModelStatus()
Returns the associated hydration model status.
contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
GaussPoint * gp
Associated integration point.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
virtual const char * giveClassName() const
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
double tempHydrationDegree
void setTempHydrationDegree(double v)
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
#define _IFT_HydrationModel_Name
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
virtual ~HydrationModelInterface()
Destructor. Deletes the associated hydration model.
MatResponseMode
Describes the character of characteristic material matrix.
contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
double constantHydrationDegree
Constant hydration degree for analysis without hydration model.
virtual ~HydrationModel()
Destructor.
std::unique_ptr< HydrationModelStatus > hydrationModelStatus
Reference to associated hydration model status.
HydrationModelStatusInterface()
Constructor. Nulls the hydrationModelStatus pointer.
HydrationModel * giveHydrationModel()
Returns the associated hydration model.
void setHydrationModelStatus(HydrationModelStatus *s)
Sets the associated hydration model status. Analogue to gp->setMaterialStatus.
std::unique_ptr< HydrationModel > hydrationModel
Reference to the associated hydrationModel instance.
double giveTempHydrationDegree()
Returns the temp hydration degree.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
double giveHydrationDegree()
Returns the non-temp hydration degree. Used for step restart and postprocessing.
FindRootMethod useFindRoot
Abstract base class for all material models.
Abstract base class representing a material status information.
double initialHydrationDegree
!! initial hydration degree - set in initialize From, but not used
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
Class representing vector of real numbers.
MixtureType mixture
Used concrete mixture.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual const char * giveClassName() const
virtual ~HydrationModelStatusInterface()
Destructor. Deletes the associated hydration model status.
This class implements associated Status to HydrationModel.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
HydrationModelStatus(int n, Domain *d, GaussPoint *g)
void setHydrationDegree(double v)
the oofem namespace is to define a context or scope in which all oofem names are defined.
double castAt
Material cast time - start of hydration.
double we
Total water consumption for hydration [kg/m3].
virtual ~HydrationModelStatus()
Class representing integration point in finite element program.
Class representing solution step.
double hydrationStartMaxStep
Time step lenghts at zero and complete hydration.
virtual const char * giveInputRecordName() const
double timeScale
time scale - used for time input in other units than seconds