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

#include <hydratingisoheatmat.h>

Inheritance diagram for oofem::HydratingIsoHeatMaterial:
Collaboration diagram for oofem::HydratingIsoHeatMaterial:

Public Member Functions

 HydratingIsoHeatMaterial (int n, Domain *d)
void setMixture (MixtureType mix)
bool hasInternalSource () const override
 Return true if hydration heat source is present.
void computeInternalSourceVector (FloatArray &val, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override
void updateInternalState (const FloatArray &state, GaussPoint *gp, TimeStep *tStep) override
double giveCharacteristicValue (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
void saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) override
void restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) override
const char * giveInputRecordName () const override
const char * giveClassName () const override
void initializeFrom (InputRecord &ir) override
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
std::unique_ptr< MaterialStatusCreateStatus (GaussPoint *gp) const override
Public Member Functions inherited from oofem::IsotropicHeatTransferMaterial
 IsotropicHeatTransferMaterial (int n, Domain *d)
FloatArrayF< 3 > computeFlux3D (const FloatArrayF< 3 > &grad, double field, GaussPoint *gp, TimeStep *tStep) const override
FloatMatrixF< 3, 3 > computeTangent3D (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
virtual double giveIsotropicConductivity (GaussPoint *gp, TimeStep *tStep) const
double giveCharacteristicValue (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
virtual double giveMaturityT0 () const
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
const char * giveInputRecordName () const override
const char * giveClassName () const override
void initializeFrom (InputRecord &ir) override
double giveProperty (int aProperty, GaussPoint *gp, TimeStep *tStep) const
double giveTemperature (GaussPoint *gp) const
Public Member Functions inherited from oofem::TransportMaterial
 TransportMaterial (int n, Domain *d)
virtual void giveFluxVector (FloatArray &answer, GaussPoint *gp, const FloatArray &grad, const FloatArray &field, TimeStep *tStep) const
FloatArrayF< 2 > computeFlux2D (const FloatArrayF< 2 > &grad, double field, GaussPoint *gp, TimeStep *tStep) const
FloatArrayF< 1 > computeFlux1D (const FloatArrayF< 1 > &grad, double field, GaussPoint *gp, TimeStep *tStep) const
virtual std::pair< FloatArrayF< 3 >, FloatArrayF< 3 > > computeHeMoFlux3D (const FloatArrayF< 3 > &grad_t, const FloatArrayF< 3 > &grad_w, double t, double h, GaussPoint *gp, TimeStep *tStep) const
std::pair< FloatArrayF< 2 >, FloatArrayF< 2 > > computeHeMoFlux2D (const FloatArrayF< 2 > &grad_t, const FloatArrayF< 2 > &grad_w, double t, double h, GaussPoint *gp, TimeStep *tStep) const
std::pair< FloatArrayF< 1 >, FloatArrayF< 1 > > computeHeMoFlux1D (const FloatArrayF< 1 > &grad_t, const FloatArrayF< 1 > &grad_w, double t, double h, GaussPoint *gp, TimeStep *tStep) const
virtual void giveCharacteristicMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
FloatMatrixF< 2, 2 > computeTangent2D (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 1, 1 > computeTangent1D (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual double giveHumidity (GaussPoint *gp, ValueModeType mode) const
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
std::unique_ptr< MaterialStatusCreateStatus (GaussPoint *gp) const override
Public Member Functions inherited from oofem::Material
 Material (int n, Domain *d)
virtual ~Material ()=default
 Destructor.
virtual bool isCharacteristicMtrxSymmetric (MatResponseMode rMode) const
virtual void giveCharacteristicVector (FloatArray &answer, FloatArray &flux, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const
 Returns characteristic vector of the receiver.
virtual double give (int aProperty, GaussPoint *gp) const
virtual bool hasProperty (int aProperty, GaussPoint *gp) const
virtual void modifyProperty (int aProperty, double value, GaussPoint *gp)
double giveCastingTime () const
virtual bool isActivated (TimeStep *tStep) const
virtual bool hasMaterialModeCapability (MaterialMode mode) const
virtual bool hasCastingTimeSupport () const
virtual int setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type)
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
void printYourself () override
 Prints receiver state on stdout. Useful for debugging.
int checkConsistency () override
virtual void restoreConsistency (GaussPoint *gp)
virtual int initMaterial (Element *element)
virtual MaterialStatusgiveStatus (GaussPoint *gp) const
virtual int packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int estimatePackSize (DataStream &buff, GaussPoint *ip)
virtual double predictRelativeComputationalCost (GaussPoint *gp)
virtual double predictRelativeRedistributionCost (GaussPoint *gp)
virtual void initTempStatus (GaussPoint *gp) const
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void updateLocalNumbering (EntityRenumberingFunctor &f)
virtual void initializeFrom (InputRecord &ir, int priority)
virtual void initializeFinish ()
virtual void postInitialize ()
 Performs post initialization steps. Called after all components are created and initialized.
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual InterfacegiveInterface (InterfaceType t)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).
Public Member Functions inherited from oofem::HydrationModelInterface
HydrationModelgiveHydrationModel ()
 Returns the associated hydration model.
void saveContext (DataStream &stream, ContextMode mode)
void restoreContext (DataStream &stream, ContextMode mode)
double giveHydrationDegree (GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const
Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor.
virtual ~Interface ()

Protected Attributes

bool hydration = false
bool hydrationHeat = false
bool hydrationLHS = false
Protected Attributes inherited from oofem::IsotropicHeatTransferMaterial
ScalarFunction conductivity
 Conductivity (k in input file).
ScalarFunction capacity
 Capacity (c in input file).
ScalarFunction density
 Density (td in input file).
double maturityT0 = 0.
 Baseline for maturity mathod.
Protected Attributes inherited from oofem::Material
Dictionary propertyDictionary
double castingTime
int preCastingTimeMat
 Material existing before casting time - optional parameter, zero by default.
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.
Protected Attributes inherited from oofem::HydrationModelInterface
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

This class implements a isotropic linear heat material in a finite element problem. A material is an attribute of a domain. It is usually also attribute of many elements. Isotropic Linear Heat Material with interface to the Hydration Model

Definition at line 74 of file hydratingisoheatmat.h.

Constructor & Destructor Documentation

◆ HydratingIsoHeatMaterial()

oofem::HydratingIsoHeatMaterial::HydratingIsoHeatMaterial ( int n,
Domain * d )
inline

Member Function Documentation

◆ computeInternalSourceVector()

void oofem::HydratingIsoHeatMaterial::computeInternalSourceVector ( FloatArray & val,
GaussPoint * gp,
TimeStep * tStep,
ValueModeType mode ) const
overridevirtual

Computes the internal source vector of receiver.

Parameters
valContains response.
gpIntegration point.
tStepSolution step.
modeDetermines response mode.
Todo
better via HydrationModelInterface
Todo
mode is VM_Total for nltransientstatic

Reimplemented from oofem::TransportMaterial.

Definition at line 108 of file hydratingisoheatmat.C.

References hydrationHeat, and oofem::HydrationModelInterface::hydrationModel.

Referenced by updateInternalState().

◆ CreateStatus()

std::unique_ptr< MaterialStatus > oofem::HydratingIsoHeatMaterial::CreateStatus ( GaussPoint * gp) const
overridevirtual

Creates new copy of associated status and inserts it into given integration point.

Parameters
gpIntegration point where newly created status will be stored.
Returns
Reference to new status.

Reimplemented from oofem::Material.

Definition at line 229 of file hydratingisoheatmat.C.

◆ giveCharacteristicValue()

double oofem::HydratingIsoHeatMaterial::giveCharacteristicValue ( MatResponseMode mode,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Computes the characteristic value of receiver in given integration point, respecting its history. The algorithm should use temporary or equilibrium history variables stored in integration point status to compute and return required result.

Parameters
modeMaterial response mode.
gpIntegration point.
tStepTime step (most models are able to respond only when tStep is current time step).

!! better via HydrationModelInterface

Implements oofem::TransportMaterial.

Definition at line 173 of file hydratingisoheatmat.C.

References oofem::HydrationModelInterface::castAt, oofem::IsotropicHeatTransferMaterial::giveProperty(), oofem::Material::giveStatus(), oofem::TimeStep::giveTargetTime(), oofem::HeMoTransportMaterialStatus::giveTempTemperature(), oofem::TimeStep::giveTimeIncrement(), hydrationLHS, oofem::HydrationModelInterface::hydrationModel, and OOFEM_ERROR.

◆ giveClassName()

const char * oofem::HydratingIsoHeatMaterial::giveClassName ( ) const
inlineoverridevirtual
Returns
Class name of the receiver.

Implements oofem::FEMComponent.

Definition at line 98 of file hydratingisoheatmat.h.

◆ giveInputRecordName()

const char * oofem::HydratingIsoHeatMaterial::giveInputRecordName ( ) const
inlineoverridevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 97 of file hydratingisoheatmat.h.

References _IFT_HydratingIsoHeatMaterial_Name.

◆ giveIPValue()

int oofem::HydratingIsoHeatMaterial::giveIPValue ( FloatArray & answer,
GaussPoint * gp,
InternalStateType type,
TimeStep * tStep )
overridevirtual

Returns the integration point corresponding value in Reduced form.

Parameters
answerContain corresponding ip value, zero sized if not available.
gpIntegration point to which the value refers.
typeDetermines the type of internal variable.
tStepDetermines the time step.
Returns
Nonzero if the assignment can be done, zero if this type of variable is not supported.

Reimplemented from oofem::Material.

Definition at line 213 of file hydratingisoheatmat.C.

References oofem::FloatArray::at(), oofem::HydrationModelInterface::giveHydrationDegree(), and oofem::FloatArray::resize().

◆ hasInternalSource()

bool oofem::HydratingIsoHeatMaterial::hasInternalSource ( ) const
overridevirtual

Return true if hydration heat source is present.

Reimplemented from oofem::TransportMaterial.

Definition at line 102 of file hydratingisoheatmat.C.

References hydrationHeat.

◆ initializeFrom()

void oofem::HydratingIsoHeatMaterial::initializeFrom ( InputRecord & ir)
overridevirtual

Initializes receiver according to object description stored in input record. This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record. Note that initializeFrom may be called mutiple times.

See also
IR_GIVE_FIELD
IR_GIVE_OPTIONAL_FIELD
Parameters
irInput record to initialize from.
priorityPriority of the input record. This is used to determine the order of initialization

Reimplemented from oofem::FEMComponent.

Definition at line 45 of file hydratingisoheatmat.C.

References _IFT_HydratingIsoHeatMaterial_hydration, _IFT_HydratingIsoHeatMaterial_mix, _IFT_HydratingIsoHeatMaterial_noHeat, _IFT_HydratingIsoHeatMaterial_noLHS, oofem::FEMComponent::giveNumber(), oofem::InputRecord::hasField(), hydration, hydrationHeat, hydrationLHS, IR_GIVE_OPTIONAL_FIELD, oofem::mtLafarge, and setMixture().

◆ restoreIPContext()

void oofem::HydratingIsoHeatMaterial::restoreIPContext ( DataStream & stream,
ContextMode mode,
GaussPoint * gp )
overridevirtual

Reads integration point state to output stream.

Parameters
streamOutput stream.
modeDetermines amount of info required in stream (state, definition, ...).
gpintegration point.
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::Material.

Definition at line 204 of file hydratingisoheatmat.C.

◆ saveIPContext()

void oofem::HydratingIsoHeatMaterial::saveIPContext ( DataStream & stream,
ContextMode mode,
GaussPoint * gp )
overridevirtual

Stores integration point state to output stream.

Parameters
streamOutput stream.
modeDetermines amount of info required in stream (state, definition, ...).
gpintegration point.
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::Material.

Definition at line 195 of file hydratingisoheatmat.C.

◆ setMixture()

void oofem::HydratingIsoHeatMaterial::setMixture ( MixtureType mix)

◆ updateInternalState()

Member Data Documentation

◆ hydration

bool oofem::HydratingIsoHeatMaterial::hydration = false
protected

Definition at line 77 of file hydratingisoheatmat.h.

Referenced by initializeFrom(), setMixture(), and updateInternalState().

◆ hydrationHeat

bool oofem::HydratingIsoHeatMaterial::hydrationHeat = false
protected

◆ hydrationLHS

bool oofem::HydratingIsoHeatMaterial::hydrationLHS = false
protected

Definition at line 77 of file hydratingisoheatmat.h.

Referenced by giveCharacteristicValue(), and initializeFrom().


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