73 humidity =
max(humidity, 0.0);
74 humidity =
min(humidity, 1.0);
76 permeability =
C1 * (
alpha0 + ( 1. -
alpha0 ) / ( 1. + pow( ( 1. - humidity ) / ( 1. -
hC ),
n ) ) );
84 if ( ( tempState.
at(1) > 1.0 ) || ( tempState.
at(1) < 0.0 ) ) {
85 OOFEM_WARNING(
"Relative humidity %.5f is out of range 0.0 - 1.0", tempState.
at(1) );
87 return tempState.
at(1);
virtual MaterialStatus * giveStatus(GaussPoint *gp) const
Returns material status of receiver in given integration point.
virtual double giveHumidity(GaussPoint *gp, ValueModeType mode)
Returns positive value of humidity if implemented and enabled in derived material, -1 otherwise.
double & at(int i)
Coefficient access function.
int max(int i, int j)
Returns bigger value form two given decimals.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
double moistureCapacity
sorption isotherm derivative [kg/m^3]
This class implements a transport material status information.
#define _IFT_BazantNajjarMoistureTransferMaterial_capa
#define _IFT_BazantNajjarMoistureTransferMaterial_n
#define _IFT_BazantNajjarMoistureTransferMaterial_alpha0
double C1
maximal permeability [kg/ m s]
virtual double givePermeability(GaussPoint *gp, TimeStep *tStep)
evaluates permeability according to Bazant - Najjar function for diffusivity
virtual double giveMoistureCapacity(GaussPoint *gp, TimeStep *tStep)
evaluates slope of the sorption isotherm
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
double hC
nonlinear threshold [-]
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
#define _IFT_BazantNajjarMoistureTransferMaterial_c1
double n
exponent in nonlinear permeability function [-]
double alpha0
fraction minimal/maximal permeability [-]
int min(int i, int j)
Returns smaller value from two given decimals.
REGISTER_Material(DummyMaterial)
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define _IFT_BazantNajjarMoistureTransferMaterial_hc
Class representing integration point in finite element program.
#define OOFEM_WARNING(...)
Class representing solution step.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.