|
OOFEM 3.0
|
#include <hemobaznajmat.h>
Public Member Functions | |
| HeMoBazNajMaterial (int n, Domain *d) | |
| 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 override |
| FloatMatrixF< 3, 3 > | computeTangent3D (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override |
| double | giveCharacteristicValue (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override |
| bool | isCharacteristicMtrxSymmetric (MatResponseMode rMode) const override |
| void | initializeFrom (InputRecord &ir) override |
| double | give (int aProperty, GaussPoint *gp) const override |
| bool | hasMaterialModeCapability (MaterialMode mode) const override |
| int | giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override |
| const char * | giveInputRecordName () const override |
| const char * | giveClassName () const override |
| std::unique_ptr< MaterialStatus > | CreateStatus (GaussPoint *gp) const override |
| 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 |
| virtual FloatArrayF< 3 > | computeFlux3D (const FloatArrayF< 3 > &grad, double field, GaussPoint *gp, 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 |
| 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 void | updateInternalState (const FloatArray &state, GaussPoint *gp, TimeStep *tStep) |
| virtual bool | hasInternalSource () const |
| virtual void | computeInternalSourceVector (FloatArray &val, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const |
| virtual double | giveHumidity (GaussPoint *gp, ValueModeType mode) const |
| int | giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override |
| std::unique_ptr< MaterialStatus > | CreateStatus (GaussPoint *gp) const override |
| Public Member Functions inherited from oofem::Material | |
| Material (int n, Domain *d) | |
| virtual | ~Material ()=default |
| Destructor. | |
| virtual void | giveCharacteristicVector (FloatArray &answer, FloatArray &flux, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const |
| Returns characteristic vector of the receiver. | |
| 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 | 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. | |
| virtual void | saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
| virtual void | restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
| int | checkConsistency () override |
| virtual void | restoreConsistency (GaussPoint *gp) |
| virtual int | initMaterial (Element *element) |
| virtual MaterialStatus * | giveStatus (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. | |
| Domain * | giveDomain () 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 Interface * | giveInterface (InterfaceType t) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Protected Member Functions | |
| double | computeCapacityCoeff (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const |
| double | perm_mm (double h, double T) const |
| double | perm_mh (double h, double T) const |
| double | perm_hm (double h, double T) const |
| double | perm_hh (double h, double T) const |
Protected Attributes | |
| double | moistureCapacity = 0. |
| sorption isotherm derivative [kg/m^3] | |
| double | C1 = 0. |
| maximal permeability [kg/ m s] | |
| double | n = 0. |
| exponent in nonlinear permeability function [-] | |
| double | alpha0 = 0. |
| fraction minimal/maximal permeability [-] | |
| double | hC = 0. |
| nonlinear threshold [-] | |
| double | heatConductivity = 0. |
| Conductivity (k in input file). | |
| double | heatCapacity = 0. |
| Capacity (c in input file). | |
| 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. | |
| Domain * | domain |
| Link to domain object, useful for communicating with other FEM components. | |
Definition at line 55 of file hemobaznajmat.h.
|
inline |
Constructor. Creates material with given number, belonging to given domain.
Definition at line 79 of file hemobaznajmat.h.
References n, and oofem::TransportMaterial::TransportMaterial().
|
protected |
Definition at line 130 of file hemobaznajmat.C.
References heatCapacity, moistureCapacity, and OOFEM_ERROR.
Referenced by giveCharacteristicValue().
|
overridevirtual |
Reimplemented from oofem::TransportMaterial.
Definition at line 78 of file hemobaznajmat.C.
References oofem::Material::giveStatus(), perm_hh(), perm_hm(), perm_mh(), and perm_mm().
|
overridevirtual |
Implements oofem::TransportMaterial.
Definition at line 97 of file hemobaznajmat.C.
References oofem::eye(), oofem::Material::giveStatus(), oofem::HeMoTransportMaterialStatus::giveTempTemperature(), OOFEM_ERROR, perm_hh(), perm_hm(), perm_mh(), and perm_mm().
|
inlineoverridevirtual |
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::Material.
Definition at line 98 of file hemobaznajmat.h.
|
overridevirtual |
Returns the value of material property 'aProperty'. Property must be identified by unique int id. Integration point also passed to allow for materials with spatially varying properties
| aProperty | ID of property requested. |
| gp | Integration point, |
Reimplemented from oofem::Material.
Definition at line 71 of file hemobaznajmat.C.
|
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.
| mode | Material response mode. |
| gp | Integration point. |
| tStep | Time step (most models are able to respond only when tStep is current time step). |
Implements oofem::TransportMaterial.
Definition at line 122 of file hemobaznajmat.C.
References computeCapacityCoeff().
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 96 of file hemobaznajmat.h.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 95 of file hemobaznajmat.h.
References _IFT_HeMoBazNajMaterial_Name.
|
overridevirtual |
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::Material.
Definition at line 187 of file hemobaznajmat.C.
References oofem::FloatArray::at(), oofem::TransportMaterial::giveHumidity(), and oofem::FloatArray::resize().
|
overridevirtual |
Tests if material supports material mode.
| mode | Required material mode. |
Reimplemented from oofem::Material.
Definition at line 46 of file hemobaznajmat.C.
|
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.
| ir | Input record to initialize from. |
| priority | Priority of the input record. This is used to determine the order of initialization |
Reimplemented from oofem::FEMComponent.
Definition at line 53 of file hemobaznajmat.C.
References _IFT_HeMoBazNajMaterial_alpha0, _IFT_HeMoBazNajMaterial_c, _IFT_HeMoBazNajMaterial_c1, _IFT_HeMoBazNajMaterial_capa, _IFT_HeMoBazNajMaterial_hc, _IFT_HeMoBazNajMaterial_k, _IFT_HeMoBazNajMaterial_n, alpha0, C1, hC, heatCapacity, heatConductivity, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, moistureCapacity, and n.
|
overridevirtual |
Returns true if stiffness matrix of receiver is symmetric Default implementation returns true.
Reimplemented from oofem::Material.
Definition at line 175 of file hemobaznajmat.C.
References OOFEM_ERROR.
|
protected |
Definition at line 169 of file hemobaznajmat.C.
References heatConductivity.
Referenced by computeHeMoFlux3D(), and computeTangent3D().
|
protected |
Definition at line 163 of file hemobaznajmat.C.
Referenced by computeHeMoFlux3D(), and computeTangent3D().
|
protected |
Definition at line 157 of file hemobaznajmat.C.
Referenced by computeHeMoFlux3D(), and computeTangent3D().
|
protected |
Definition at line 151 of file hemobaznajmat.C.
References alpha0, C1, hC, and n.
Referenced by computeHeMoFlux3D(), and computeTangent3D().
|
protected |
fraction minimal/maximal permeability [-]
Definition at line 66 of file hemobaznajmat.h.
Referenced by initializeFrom(), and perm_mm().
|
protected |
maximal permeability [kg/ m s]
Definition at line 62 of file hemobaznajmat.h.
Referenced by initializeFrom(), and perm_mm().
|
protected |
nonlinear threshold [-]
Definition at line 68 of file hemobaznajmat.h.
Referenced by initializeFrom(), and perm_mm().
|
protected |
Capacity (c in input file).
Definition at line 71 of file hemobaznajmat.h.
Referenced by computeCapacityCoeff(), and initializeFrom().
|
protected |
Conductivity (k in input file).
Definition at line 70 of file hemobaznajmat.h.
Referenced by initializeFrom(), and perm_hh().
|
protected |
sorption isotherm derivative [kg/m^3]
Definition at line 59 of file hemobaznajmat.h.
Referenced by computeCapacityCoeff(), and initializeFrom().
|
protected |
exponent in nonlinear permeability function [-]
Definition at line 64 of file hemobaznajmat.h.
Referenced by HeMoBazNajMaterial(), initializeFrom(), and perm_mm().