OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
#include <cemhydmat.h>
Public Member Functions | |
CemhydMat (int n, Domain *d) | |
Constructor. More... | |
virtual | ~CemhydMat () |
Destructor. More... | |
virtual const char * | giveInputRecordName () const |
Returns input record name of the receiver. More... | |
virtual const char * | giveClassName () const |
virtual int | hasInternalSource () |
Returns nonzero if receiver generates internal source of state variable(s), zero otherwise. More... | |
virtual void | computeInternalSourceVector (FloatArray &val, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) |
Computes the internal source vector of receiver. More... | |
virtual int | giveCycleNumber (GaussPoint *gp) |
Returns cycle number at the closest cycle after the target time. More... | |
virtual double | giveTimeOfCycle (GaussPoint *gp) |
Returns time of the CEMHYD3D at the first cycle after the target time. More... | |
virtual double | giveDoHActual (GaussPoint *gp) |
Returns DoH of the closest CEMHYD3D cycle after the target time. More... | |
virtual double | giveIsotropicConductivity (GaussPoint *gp, TimeStep *tStep) |
Returns concrete heat conductivity depending on chosen type. More... | |
virtual double | giveConcreteCapacity (GaussPoint *gp, TimeStep *tStep) |
Returns concrete thermal capacity depending on chosen type. More... | |
virtual double | giveConcreteDensity (GaussPoint *gp, TimeStep *tStep) |
Returns concrete density depending on chosen type. More... | |
virtual double | giveCharacteristicValue (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) |
Compute heat thermal capacity per volume. More... | |
virtual int | giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) |
Returns the integration point corresponding value in Reduced form. More... | |
virtual int | initMaterial (Element *element) |
Optional function to call specific procedures when initializing a material. More... | |
virtual void | clearWeightTemperatureProductVolume (Element *element) |
Clear temperatures multiplied with volume around GPs - need before temperature averaging. More... | |
virtual void | storeWeightTemperatureProductVolume (Element *element, TimeStep *tStep) |
Store temperatures multiplied with volume around GPs - need before temperature averaging. More... | |
virtual void | averageTemperature () |
Perform averaging on a master CemhydMatStatus. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
virtual MaterialStatus * | CreateStatus (GaussPoint *gp) const |
Creates new copy of associated status and inserts it into given integration point. More... | |
Public Member Functions inherited from oofem::IsotropicHeatTransferMaterial | |
IsotropicHeatTransferMaterial (int n, Domain *d) | |
virtual | ~IsotropicHeatTransferMaterial () |
virtual void | giveFluxVector (FloatArray &answer, GaussPoint *gp, const FloatArray &grad, const FloatArray &field, TimeStep *tStep) |
Returns the flux for the field and its gradient. More... | |
virtual void | giveCharacteristicMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) |
Computes characteristic matrix of receiver in given integration point. More... | |
virtual double | giveMaturityT0 () |
virtual double | give (int aProperty, GaussPoint *gp, TimeStep *tStep) |
double | giveTemperature (GaussPoint *gp) |
Public Member Functions inherited from oofem::TransportMaterial | |
TransportMaterial (int n, Domain *d) | |
Constructor. More... | |
virtual | ~TransportMaterial () |
Destructor. More... | |
virtual void | updateInternalState (const FloatArray &state, GaussPoint *gp, TimeStep *tStep) |
Updates internal state of material according to new state vector. More... | |
virtual double | giveHumidity (GaussPoint *gp, ValueModeType mode) |
Returns positive value of humidity if implemented and enabled in derived material, -1 otherwise. More... | |
Public Member Functions inherited from oofem::Material | |
Material (int n, Domain *d) | |
Constructor. More... | |
virtual | ~Material () |
Destructor. More... | |
virtual bool | isCharacteristicMtrxSymmetric (MatResponseMode rMode) |
Returns true if stiffness matrix of receiver is symmetric Default implementation returns true. More... | |
virtual double | give (int aProperty, GaussPoint *gp) |
Returns the value of material property 'aProperty'. More... | |
virtual bool | hasProperty (int aProperty, GaussPoint *gp) |
Returns true if 'aProperty' exists on material. More... | |
virtual void | modifyProperty (int aProperty, double value, GaussPoint *gp) |
Modify 'aProperty', which already exists on material. More... | |
double | giveCastingTime () |
virtual bool | isActivated (TimeStep *tStep) |
virtual int | hasNonLinearBehaviour () |
Returns nonzero if receiver is non linear. More... | |
virtual int | hasMaterialModeCapability (MaterialMode mode) |
Tests if material supports material mode. More... | |
virtual int | hasCastingTimeSupport () |
Tests if material supports casting time. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
virtual contextIOResultType | saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
Stores integration point state to output stream. More... | |
virtual contextIOResultType | restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
Reads integration point state to output stream. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual MaterialStatus * | giveStatus (GaussPoint *gp) const |
Returns material status of receiver in given integration point. More... | |
virtual int | packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) |
Pack all necessary data of integration point (according to element parallel_mode) into given communication buffer. More... | |
virtual int | unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) |
Unpack and updates all necessary data of given integration point (according to element parallel_mode) into given communication buffer. More... | |
virtual int | estimatePackSize (DataStream &buff, GaussPoint *ip) |
Estimates the necessary pack size to hold all packed data of receiver. More... | |
virtual double | predictRelativeComputationalCost (GaussPoint *gp) |
Returns the weight representing relative computational cost of receiver The reference material model is linear isotropic material - its weight is set to 1.0 The other material models should compare to this reference model. More... | |
virtual double | predictRelativeRedistributionCost (GaussPoint *gp) |
Returns the relative redistribution cost of the receiver. More... | |
virtual void | initTempStatus (GaussPoint *gp) |
Initializes temporary variables stored in integration point status at the beginning of new time step. More... | |
virtual int | setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type) |
Sets the value of a certain variable at a given integration point to the given value. More... | |
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 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... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Prints output of receiver to stream, for given time step. 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... | |
Public Attributes | |
int | conductivityType |
Use different methods to evaluate material parameters. More... | |
int | capacityType |
int | densityType |
IntArray | nowarnings |
Array containing warnings supression for density, conductivity, capacity, high temperature. More... | |
FloatArray | scaling |
Array containing scaling factors for density, conductivity and capacity. More... | |
int | reinforcementDegree |
Degree of reinforcement, if defined, reinforcement effect for conductivity and capacity is accounted for. Isotropic case. More... | |
int | eachGP |
Assign a separate microstructure in each integration point. More... | |
std::string | XMLfileName |
XML input file name for CEMHYD3D. More... | |
CemhydMatStatus * | MasterCemhydMatStatus |
Pointer to master CemhydMatStatus, which is shared among related integration points (on element, for example). More... | |
Additional Inherited Members | |
Protected Attributes inherited from oofem::IsotropicHeatTransferMaterial | |
ScalarFunction | conductivity |
Conductivity (k in input file). More... | |
ScalarFunction | capacity |
Capacity (c in input file). More... | |
ScalarFunction | density |
Density (td in input file). More... | |
double | maturityT0 |
Baseline for maturity mathod. More... | |
Protected Attributes inherited from oofem::Material | |
Dictionary | propertyDictionary |
Property dictionary. More... | |
double | castingTime |
Casting time. 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... | |
Definition at line 92 of file cemhydmat.h.
oofem::CemhydMat::CemhydMat | ( | int | n, |
Domain * | d | ||
) |
|
virtual |
Destructor.
Definition at line 100 of file cemhydmat.C.
|
virtual |
Perform averaging on a master CemhydMatStatus.
Definition at line 399 of file cemhydmat.C.
References eachGP, oofem::CemhydMatStatus::giveAverageTemperature(), oofem::CemhydMatStatus::giveTotalVolume(), MasterCemhydMatStatus, and oofem::CemhydMatStatus::setAverageTemperatureVolume().
Referenced by oofem::NonStationaryTransportProblem::applyIC(), computeInternalSourceVector(), oofem::NonStationaryTransportProblem::updateYourself(), and oofem::CemhydMatStatus::updateYourself().
|
virtual |
Clear temperatures multiplied with volume around GPs - need before temperature averaging.
Definition at line 375 of file cemhydmat.C.
References oofem::Element::giveDefaultIntegrationRulePtr(), oofem::Material::giveStatus(), and oofem::CemhydMatStatus::setAverageTemperatureVolume().
Referenced by oofem::NonStationaryTransportProblem::applyIC(), oofem::NonStationaryTransportProblem::updateYourself(), and oofem::CemhydMatStatus::updateYourself().
|
virtual |
Computes the internal source vector of receiver.
val | Contains response. |
gp | Integration point. |
tStep | Solution step. |
mode | Determines response mode. |
Reimplemented from oofem::TransportMaterial.
Definition at line 105 of file cemhydmat.C.
References oofem::__ValueModeTypeToString(), oofem::FloatArray::at(), averageTemperature(), eachGP, oofem::CemhydMatStatus::giveAverageTemperature(), oofem::CemhydMatStatus::GivePower(), oofem::Material::giveStatus(), oofem::TimeStep::giveTargetTime(), oofem::CemhydMatStatus::LastCallTime, MasterCemhydMatStatus, OOFEM_ERROR, oofem::CemhydMatStatus::PartHeat, and oofem::FloatArray::resize().
|
virtual |
Creates new copy of associated status and inserts it into given integration point.
gp | Integration point where newly created status will be stored. |
Reimplemented from oofem::IsotropicHeatTransferMaterial.
Definition at line 450 of file cemhydmat.C.
References OOFEM_ERROR.
|
virtual |
Compute heat thermal capacity per volume.
Reimplemented from oofem::IsotropicHeatTransferMaterial.
Definition at line 260 of file cemhydmat.C.
References oofem::__MatResponseModeToString(), oofem::FloatArray::at(), oofem::CemhydMatStatus::E_act, giveConcreteCapacity(), giveConcreteDensity(), oofem::TransportMaterialStatus::giveField(), oofem::Material::giveStatus(), oofem::CemhydMatStatus::icyc, MasterCemhydMatStatus, OOFEM_ERROR, and oofem::CemhydMatStatus::temp_cur.
|
inlinevirtual |
Reimplemented from oofem::IsotropicHeatTransferMaterial.
Definition at line 101 of file cemhydmat.h.
|
virtual |
Returns concrete thermal capacity depending on chosen type.
Definition at line 199 of file cemhydmat.C.
References oofem::IntArray::at(), oofem::FloatArray::at(), capacityType, oofem::CemhydMatStatus::computeConcreteCapacityBentz(), oofem::IsotropicHeatTransferMaterial::give(), oofem::CemhydMatStatus::GiveCp(), oofem::Material::giveStatus(), MasterCemhydMatStatus, nowarnings, OOFEM_ERROR, OOFEM_WARNING, reinforcementDegree, and scaling.
Referenced by giveCharacteristicValue(), giveIPValue(), and oofem::CemhydMatStatus::printOutputAt().
|
virtual |
Returns concrete density depending on chosen type.
Definition at line 230 of file cemhydmat.C.
References oofem::IntArray::at(), oofem::FloatArray::at(), densityType, oofem::IsotropicHeatTransferMaterial::give(), oofem::CemhydMatStatus::GiveDensity(), oofem::Material::giveStatus(), MasterCemhydMatStatus, nowarnings, OOFEM_ERROR, OOFEM_WARNING, reinforcementDegree, and scaling.
Referenced by giveCharacteristicValue(), giveIPValue(), and oofem::CemhydMatStatus::printOutputAt().
|
virtual |
Returns cycle number at the closest cycle after the target time.
Definition at line 135 of file cemhydmat.C.
References oofem::CemhydMatStatus::GiveCycNum(), oofem::Material::giveStatus(), and MasterCemhydMatStatus.
Referenced by oofem::CemhydMatStatus::printOutputAt().
|
virtual |
Returns DoH of the closest CEMHYD3D cycle after the target time.
Definition at line 157 of file cemhydmat.C.
References oofem::CemhydMatStatus::GiveDoHActual(), oofem::Material::giveStatus(), and MasterCemhydMatStatus.
Referenced by giveIPValue(), and oofem::CemhydMatStatus::printOutputAt().
|
inlinevirtual |
Returns input record name of the receiver.
Reimplemented from oofem::IsotropicHeatTransferMaterial.
Definition at line 100 of file cemhydmat.h.
References _IFT_CemhydMat_Name.
|
virtual |
Returns the integration point corresponding value in Reduced form.
answer | Contain corresponding ip value, zero sized if not available. |
gp | Integration point to which the value refers. |
type | Determines the type of internal variable. |
tStep | Determines the time step. |
Reimplemented from oofem::IsotropicHeatTransferMaterial.
Definition at line 303 of file cemhydmat.C.
References oofem::FloatArray::at(), oofem::CemhydMatStatus::giveAverageTemperature(), giveConcreteCapacity(), giveConcreteDensity(), giveDoHActual(), oofem::TransportMaterial::giveIPValue(), giveIsotropicConductivity(), oofem::Material::giveStatus(), oofem::CemhydMatStatus::last_values, MasterCemhydMatStatus, and oofem::FloatArray::resize().
Referenced by oofem::NonStationaryTransportProblem::assembleDirichletBcRhsVector().
|
virtual |
Returns concrete heat conductivity depending on chosen type.
Reimplemented from oofem::IsotropicHeatTransferMaterial.
Definition at line 168 of file cemhydmat.C.
References oofem::IntArray::at(), oofem::FloatArray::at(), conductivityType, oofem::IsotropicHeatTransferMaterial::give(), oofem::CemhydMatStatus::GiveDoHActual(), oofem::Material::giveStatus(), MasterCemhydMatStatus, nowarnings, OOFEM_ERROR, OOFEM_WARNING, reinforcementDegree, and scaling.
Referenced by giveIPValue(), and oofem::CemhydMatStatus::printOutputAt().
|
virtual |
Returns time of the CEMHYD3D at the first cycle after the target time.
Definition at line 145 of file cemhydmat.C.
References oofem::CemhydMatStatus::GiveCycTime(), oofem::Material::giveStatus(), and MasterCemhydMatStatus.
Referenced by oofem::CemhydMatStatus::printOutputAt().
|
inlinevirtual |
Returns nonzero if receiver generates internal source of state variable(s), zero otherwise.
Reimplemented from oofem::TransportMaterial.
Definition at line 103 of file cemhydmat.h.
|
virtual |
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.
ir | Input record to initialize from. |
Reimplemented from oofem::IsotropicHeatTransferMaterial.
Definition at line 407 of file cemhydmat.C.
References _IFT_CemhydMat_capacitytype, _IFT_CemhydMat_conductivitytype, _IFT_CemhydMat_densitytype, _IFT_CemhydMat_eachgp, _IFT_CemhydMat_inputFileName, _IFT_CemhydMat_nowarnings, _IFT_CemhydMat_reinforcementDegree, _IFT_CemhydMat_scaling, oofem::FloatArray::at(), capacityType, oofem::Material::castingTime, conductivityType, densityType, eachGP, oofem::IntArray::giveSize(), oofem::FloatArray::giveSize(), oofem::IsotropicHeatTransferMaterial::initializeFrom(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, oofem::IRRT_OK, nowarnings, OOFEM_ERROR, reinforcementDegree, oofem::IntArray::resize(), oofem::FloatArray::resize(), scaling, XMLfileName, and oofem::IntArray::zero().
|
virtual |
Optional function to call specific procedures when initializing a material.
For example, multiscale simulations need to create master and slave material statuses on specific integration points before the computation.
element | Pointer to element. |
Reimplemented from oofem::Material.
Definition at line 354 of file cemhydmat.C.
References oofem::FEMComponent::domain, eachGP, oofem::Element::giveDefaultIntegrationRulePtr(), oofem::FEMComponent::giveNumber(), and MasterCemhydMatStatus.
Referenced by oofem::NonStationaryTransportProblem::applyIC(), and oofem::TransportElement::updateInternalState().
|
virtual |
Store temperatures multiplied with volume around GPs - need before temperature averaging.
Definition at line 385 of file cemhydmat.C.
References oofem::FloatArray::at(), oofem::Element::computeVolumeAround(), eachGP, oofem::CemhydMatStatus::giveAverageTemperature(), oofem::Element::giveDefaultIntegrationRulePtr(), oofem::Element::giveIPValue(), oofem::CemhydMatStatus::giveTotalVolume(), MasterCemhydMatStatus, and oofem::CemhydMatStatus::setAverageTemperatureVolume().
Referenced by oofem::NonStationaryTransportProblem::applyIC(), oofem::NonStationaryTransportProblem::updateYourself(), and oofem::CemhydMatStatus::updateYourself().
int oofem::CemhydMat::capacityType |
Definition at line 132 of file cemhydmat.h.
Referenced by giveConcreteCapacity(), and initializeFrom().
int oofem::CemhydMat::conductivityType |
Use different methods to evaluate material parameters.
Definition at line 132 of file cemhydmat.h.
Referenced by giveIsotropicConductivity(), and initializeFrom().
int oofem::CemhydMat::densityType |
Definition at line 132 of file cemhydmat.h.
Referenced by giveConcreteDensity(), and initializeFrom().
int oofem::CemhydMat::eachGP |
Assign a separate microstructure in each integration point.
Definition at line 140 of file cemhydmat.h.
Referenced by averageTemperature(), computeInternalSourceVector(), oofem::CemhydMatStatus::giveAverageTemperature(), initializeFrom(), initMaterial(), oofem::CemhydMatStatus::printOutputAt(), and storeWeightTemperatureProductVolume().
CemhydMatStatus* oofem::CemhydMat::MasterCemhydMatStatus |
Pointer to master CemhydMatStatus, which is shared among related integration points (on element, for example).
When Cemhyd3D runs seperately in each GP, MasterCemhydMatStatus belongs to the first instance, from which the microstructure is copied to the rest of integration points.
Definition at line 148 of file cemhydmat.h.
Referenced by averageTemperature(), CemhydMat(), computeInternalSourceVector(), oofem::CemhydMatStatus::giveAverageTemperature(), giveCharacteristicValue(), giveConcreteCapacity(), giveConcreteDensity(), giveCycleNumber(), giveDoHActual(), giveIPValue(), giveIsotropicConductivity(), giveTimeOfCycle(), initMaterial(), oofem::CemhydMatStatus::printOutputAt(), and storeWeightTemperatureProductVolume().
IntArray oofem::CemhydMat::nowarnings |
Array containing warnings supression for density, conductivity, capacity, high temperature.
Definition at line 134 of file cemhydmat.h.
Referenced by giveConcreteCapacity(), giveConcreteDensity(), giveIsotropicConductivity(), oofem::CemhydMatStatus::GivePower(), and initializeFrom().
int oofem::CemhydMat::reinforcementDegree |
Degree of reinforcement, if defined, reinforcement effect for conductivity and capacity is accounted for. Isotropic case.
Definition at line 138 of file cemhydmat.h.
Referenced by giveConcreteCapacity(), giveConcreteDensity(), giveIsotropicConductivity(), and initializeFrom().
FloatArray oofem::CemhydMat::scaling |
Array containing scaling factors for density, conductivity and capacity.
Definition at line 136 of file cemhydmat.h.
Referenced by giveConcreteCapacity(), giveConcreteDensity(), giveIsotropicConductivity(), and initializeFrom().
std :: string oofem::CemhydMat::XMLfileName |
XML input file name for CEMHYD3D.
Definition at line 142 of file cemhydmat.h.
Referenced by oofem::CemhydMatStatus::CemhydMatStatus(), and initializeFrom().