|
OOFEM 3.0
|
#include <transportmaterial.h>
Public Member Functions | |
| TransportMaterialStatus (GaussPoint *g) | |
| void | printOutputAt (FILE *file, TimeStep *tStep) const override |
| Print receiver's output to given stream. | |
| void | initTempStatus () override |
| void | updateYourself (TimeStep *tStep) override |
| void | saveContext (DataStream &stream, ContextMode mode) override |
| void | restoreContext (DataStream &stream, ContextMode mode) override |
| const char * | giveClassName () const override |
| void | setTempGradient (const FloatArrayF< 3 > &newGradient) |
| Set gradient. | |
| void | setTempField (double newField) |
| Set field. | |
| void | setTempFlux (const FloatArrayF< 3 > &newFlux) |
| Set flux. | |
| const FloatArrayF< 3 > & | giveGradient () const |
| Return last gradient. | |
| double | giveField () const |
| Return last field. | |
| const FloatArrayF< 3 > & | giveFlux () const |
| Returns last flux. | |
| const FloatArrayF< 3 > & | giveTempGradient () const |
| Return last gradient. | |
| double | giveTempField () const |
| Return last field. | |
| const FloatArrayF< 3 > & | giveTempFlux () const |
| Returns last flux. | |
| double | giveMaturity () const |
| Returns maturity. | |
| Public Member Functions inherited from oofem::MaterialStatus | |
| MaterialStatus (GaussPoint *g) | |
| virtual bool | giveMaterialProperty (int propID, double &value) |
| virtual void | setMaterialProperty (int propID, double value) |
| Public Member Functions inherited from oofem::IntegrationPointStatus | |
| IntegrationPointStatus (GaussPoint *g) | |
| virtual | ~IntegrationPointStatus ()=default |
| Destructor. | |
| virtual void | setStatusVariable (int varID, double value) |
| virtual Interface * | giveInterface (InterfaceType t) |
Protected Attributes | |
| double | field = 0. |
| General field (temperature, concentration, etc.). | |
| FloatArrayF< 3 > | gradient |
| General gradient. | |
| FloatArrayF< 3 > | flux |
| General flux (energy flux, mass flow, etc.). | |
| double | temp_field = 0. |
| Temp. Primary field. | |
| FloatArrayF< 3 > | temp_gradient |
| Temp. Gradient. | |
| FloatArrayF< 3 > | temp_flux |
| Vector containing the last computed flux. | |
| double | maturity = 0. |
| A scalar containing maturity (integration of temperature over time). | |
| Protected Attributes inherited from oofem::IntegrationPointStatus | |
| GaussPoint * | gp |
| Associated integration point. | |
This class implements a transport material status information. When needed, new materials should specialized a derived class from this base. It is attribute of a Gauss point.
Definition at line 54 of file transportmaterial.h.
| oofem::TransportMaterialStatus::TransportMaterialStatus | ( | GaussPoint * | g | ) |
Definition at line 44 of file transportmaterial.C.
References oofem::MaterialStatus::MaterialStatus().
Referenced by oofem::CemhydMatStatus::CemhydMatStatus(), oofem::HydratingConcreteMatStatus::HydratingConcreteMatStatus(), oofem::HydratingTransportMaterialStatus::HydratingTransportMaterialStatus(), oofem::LatticeTransportMaterialStatus::LatticeTransportMaterialStatus(), and oofem::RVEStokesFlowMaterialStatus::RVEStokesFlowMaterialStatus().
|
inlineoverridevirtual |
Implements oofem::IntegrationPointStatus.
Definition at line 78 of file transportmaterial.h.
|
inline |
Return last field.
Definition at line 90 of file transportmaterial.h.
References field.
Referenced by oofem::CemhydMatStatus::giveAverageTemperature(), oofem::CemhydMat::giveCharacteristicValue(), oofem::HydratingConcreteMat::giveCharacteristicValue(), oofem::TransportMaterial::giveIPValue(), and oofem::HydratingConcreteMatStatus::updateYourself().
|
inline |
Returns last flux.
Definition at line 92 of file transportmaterial.h.
References flux.
Referenced by oofem::TransportMaterial::giveIPValue().
|
inline |
Return last gradient.
Definition at line 88 of file transportmaterial.h.
References gradient.
Referenced by oofem::TransportMaterial::giveIPValue().
|
inline |
Returns maturity.
Definition at line 101 of file transportmaterial.h.
References maturity.
Referenced by oofem::TransportMaterial::giveIPValue().
|
inline |
Return last field.
Definition at line 97 of file transportmaterial.h.
References temp_field.
Referenced by oofem::HydratingConcreteMat::giveCharacteristicValue(), oofem::LatticeTransportMaterial::giveCharacteristicValue(), oofem::IsotropicHeatTransferMaterial::giveTemperature(), and oofem::HydratingConcreteMatStatus::updateYourself().
|
inline |
|
inline |
Return last gradient.
Definition at line 95 of file transportmaterial.h.
References temp_gradient.
Referenced by oofem::NonlinearMassTransferMaterial::computeTangent3D().
|
overridevirtual |
Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.
Reimplemented from oofem::MaterialStatus.
Definition at line 74 of file transportmaterial.C.
References field, flux, gradient, temp_field, temp_flux, and temp_gradient.
|
overridevirtual |
Print receiver's output to given stream.
Reimplemented from oofem::MaterialStatus.
Definition at line 48 of file transportmaterial.C.
|
overridevirtual |
Restores the receiver state previously written in stream.
| stream | Input stream. |
| mode | Determines amount of info available in stream (state, definition, ...). |
| throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::IntegrationPointStatus.
Definition at line 104 of file transportmaterial.C.
References oofem::CIO_IOERR, oofem::CIO_OK, field, flux, gradient, oofem::DataStream::read(), and THROW_CIOERR.
|
overridevirtual |
Stores receiver state to output stream.
| stream | Output stream. |
| mode | Determines amount of info required in stream (state, definition, ...). |
| throws | an ContextIOERR exception if error encountered. |
Reimplemented from oofem::IntegrationPointStatus.
Definition at line 84 of file transportmaterial.C.
References oofem::CIO_IOERR, oofem::CIO_OK, field, flux, gradient, oofem::DataStream::read(), and THROW_CIOERR.
|
inline |
Set field.
Definition at line 83 of file transportmaterial.h.
References temp_field.
Referenced by oofem::IsotropicHeatTransferMaterial::computeFlux3D(), oofem::TwoPhaseMaterial::computeFlux3D(), and oofem::HydratingIsoHeatMaterial::updateInternalState().
|
inline |
|
inline |
Set gradient.
Definition at line 81 of file transportmaterial.h.
References temp_gradient.
Referenced by oofem::IsotropicMoistureTransferMaterial::computeFlux3D(), oofem::LatticeTransportMaterial::computeFlux3D(), and oofem::NonlinearMassTransferMaterial::computeFlux3D().
|
overridevirtual |
Update equilibrium history variables according to temp-variables. Invoked, after new equilibrium state has been reached.
Reimplemented from oofem::MaterialStatus.
Definition at line 64 of file transportmaterial.C.
References field, flux, gradient, temp_field, temp_flux, and temp_gradient.
|
protected |
General field (temperature, concentration, etc.).
Definition at line 57 of file transportmaterial.h.
Referenced by giveField(), oofem::LatticeTransportMaterialStatus::givePressure(), oofem::LatticeTransportMaterialStatus::initTempStatus(), initTempStatus(), oofem::LatticeTransportMaterialStatus::printOutputAt(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
General flux (energy flux, mass flow, etc.).
Definition at line 59 of file transportmaterial.h.
Referenced by giveFlux(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().
|
protected |
General gradient.
Definition at line 58 of file transportmaterial.h.
Referenced by giveGradient(), initTempStatus(), restoreContext(), saveContext(), and updateYourself().
|
protected |
A scalar containing maturity (integration of temperature over time).
Definition at line 65 of file transportmaterial.h.
Referenced by giveMaturity(), and oofem::HydratingConcreteMatStatus::updateYourself().
|
protected |
Temp. Primary field.
Definition at line 61 of file transportmaterial.h.
Referenced by giveTempField(), initTempStatus(), setTempField(), and updateYourself().
|
protected |
Vector containing the last computed flux.
Definition at line 63 of file transportmaterial.h.
Referenced by giveTempFlux(), initTempStatus(), setTempFlux(), and updateYourself().
|
protected |
Temp. Gradient.
Definition at line 62 of file transportmaterial.h.
Referenced by giveTempGradient(), initTempStatus(), setTempGradient(), and updateYourself().