|
OOFEM 3.0
|
#include <latticetransmat.h>
Public Member Functions | |
| LatticeTransportMaterial (int n, Domain *d) | |
| void | initializeFrom (InputRecord &ir) override |
| 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 |
| double | giveCharacteristicValue (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override |
| double | computeConductivity (double suction, GaussPoint *gp, TimeStep *tStep) const |
| double | computeCapacity (double suction, GaussPoint *gp) const |
| double | computeMass (FloatArray &stateVector, GaussPoint *gp) const |
| const char * | giveInputRecordName () const override |
| const char * | giveClassName () const override |
| double | give (int, GaussPoint *gp) 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 |
| 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 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 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 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. | |
| 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 Attributes | |
| double | viscosity = 0. |
| Viscosity of fluid. | |
| double | paramM = 0. |
| Parameter of van Genuchten law. | |
| double | paramA = 0. |
| Parameter of van Genuchten law. | |
| double | permeability = 0. |
| Intrinsic permeability of porous material. | |
| double | porosity = 0. |
| Porosity of porous material. | |
| double | density = 0. |
| Density of fluid. | |
| int | conType = 0 |
| Type of conductivity and capcity laws. | |
| int | capacity = 0 |
| Type of conductivity and capcity laws. | |
| double | thetaS = 0. |
| Relative saturated water content. | |
| double | thetaR = 0. |
| Residual water content. | |
| double | thetaM = 0. |
| Modified water content. | |
| double | crackTortuosity = 0. |
| Crack tortuosity. | |
| double | crackLimit = 0. |
| Crack limit. | |
| double | suctionAirEntry = 0. |
| Suction air entry value. | |
| 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. | |
This class implements a transport constitutive model for saturated and unsaturated porous materials for lattice elements.
Definition at line 100 of file latticetransmat.h.
|
inline |
Definition at line 147 of file latticetransmat.h.
References oofem::TransportMaterial::TransportMaterial().
| double oofem::LatticeTransportMaterial::computeCapacity | ( | double | suction, |
| GaussPoint * | gp ) const |
Computes the capacity.
| suction | Capillary stress |
| gp | Integration point. |
Definition at line 238 of file latticetransmat.C.
References capacity, conType, density, give(), paramA, paramM, suctionAirEntry, thetaM, and thetaR.
Referenced by giveCharacteristicValue().
| double oofem::LatticeTransportMaterial::computeConductivity | ( | double | suction, |
| GaussPoint * | gp, | ||
| TimeStep * | tStep ) const |
Computes the conductivity.
| suction | Capillary stress |
| gp | Integration point. |
| tStep | Time step. |
Definition at line 152 of file latticetransmat.C.
References oofem::FloatArray::at(), oofem::IntArray::at(), conType, crackLimit, crackTortuosity, density, oofem::FEMComponent::domain, give(), oofem::LatticeTransportElement::giveCouplingNumbers(), oofem::LatticeTransportElement::giveCrackLengths(), oofem::LatticeStructuralElement::giveCrackWidth(), oofem::LatticeTransportElement::giveCrackWidths(), oofem::GaussPoint::giveElement(), oofem::FloatArray::giveSize(), oofem::Material::giveStatus(), oofem::TimeStep::isTheFirstStep(), paramA, paramM, permeability, oofem::FloatArray::resize(), suctionAirEntry, thetaM, thetaR, thetaS, and viscosity.
Referenced by computeFlux3D(), and giveCharacteristicValue().
|
overridevirtual |
Reimplemented from oofem::TransportMaterial.
Definition at line 105 of file latticetransmat.C.
References computeConductivity(), oofem::Material::giveStatus(), and oofem::TransportMaterialStatus::setTempGradient().
| double oofem::LatticeTransportMaterial::computeMass | ( | FloatArray & | stateVector, |
| GaussPoint * | gp ) const |
Computes the mass.
| stateVector | Capillary stress |
| gp | Integration point. |
|
inlineoverridevirtual |
Implements oofem::TransportMaterial.
Definition at line 153 of file latticetransmat.h.
|
overridevirtual |
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 262 of file latticetransmat.C.
|
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 119 of file latticetransmat.C.
References give(), HeatCapaCoeff, and permeability.
Referenced by computeCapacity(), computeConductivity(), and give().
|
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 132 of file latticetransmat.C.
References computeCapacity(), computeConductivity(), oofem::Material::giveStatus(), oofem::TransportMaterialStatus::giveTempField(), and OOFEM_ERROR.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 183 of file latticetransmat.h.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 182 of file latticetransmat.h.
References _IFT_LatticeTransportMaterial_Name.
|
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 50 of file latticetransmat.C.
References _IFT_LatticeTransportMaterial_a, _IFT_LatticeTransportMaterial_c, _IFT_LatticeTransportMaterial_clim, _IFT_LatticeTransportMaterial_contype, _IFT_LatticeTransportMaterial_ctor, _IFT_LatticeTransportMaterial_k, _IFT_LatticeTransportMaterial_m, _IFT_LatticeTransportMaterial_paev, _IFT_LatticeTransportMaterial_thetam, _IFT_LatticeTransportMaterial_thetar, _IFT_LatticeTransportMaterial_thetas, _IFT_LatticeTransportMaterial_vis, capacity, conType, crackLimit, crackTortuosity, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, OOFEM_ERROR, OOFEM_WARNING, paramA, paramM, permeability, suctionAirEntry, thetaM, thetaR, thetaS, and viscosity.
|
protected |
Type of conductivity and capcity laws.
Definition at line 125 of file latticetransmat.h.
Referenced by computeCapacity(), and initializeFrom().
|
protected |
Type of conductivity and capcity laws.
Definition at line 122 of file latticetransmat.h.
Referenced by computeCapacity(), computeConductivity(), and initializeFrom().
|
protected |
Crack limit.
Definition at line 140 of file latticetransmat.h.
Referenced by computeConductivity(), and initializeFrom().
|
protected |
Crack tortuosity.
Definition at line 137 of file latticetransmat.h.
Referenced by computeConductivity(), and initializeFrom().
|
protected |
Density of fluid.
Definition at line 119 of file latticetransmat.h.
Referenced by computeCapacity(), and computeConductivity().
|
protected |
Parameter of van Genuchten law.
Definition at line 110 of file latticetransmat.h.
Referenced by computeCapacity(), computeConductivity(), and initializeFrom().
|
protected |
Parameter of van Genuchten law.
Definition at line 107 of file latticetransmat.h.
Referenced by computeCapacity(), computeConductivity(), and initializeFrom().
|
protected |
Intrinsic permeability of porous material.
Definition at line 113 of file latticetransmat.h.
Referenced by computeConductivity(), give(), and initializeFrom().
|
protected |
Porosity of porous material.
Definition at line 116 of file latticetransmat.h.
|
protected |
Suction air entry value.
Definition at line 143 of file latticetransmat.h.
Referenced by computeCapacity(), computeConductivity(), and initializeFrom().
|
protected |
Modified water content.
Definition at line 134 of file latticetransmat.h.
Referenced by computeCapacity(), computeConductivity(), and initializeFrom().
|
protected |
Residual water content.
Definition at line 131 of file latticetransmat.h.
Referenced by computeCapacity(), computeConductivity(), and initializeFrom().
|
protected |
Relative saturated water content.
Definition at line 128 of file latticetransmat.h.
Referenced by computeConductivity(), and initializeFrom().
|
protected |
Viscosity of fluid.
Definition at line 104 of file latticetransmat.h.
Referenced by computeConductivity(), and initializeFrom().