OOFEM 3.0
Loading...
Searching...
No Matches
hemotkmat.h
Go to the documentation of this file.
1/*
2 *
3 * ##### ##### ###### ###### ### ###
4 * ## ## ## ## ## ## ## ### ##
5 * ## ## ## ## #### #### ## # ##
6 * ## ## ## ## ## ## ## ##
7 * ## ## ## ## ## ## ## ##
8 * ##### ##### ## ###### ## ##
9 *
10 *
11 * OOFEM : Object Oriented Finite Element Code
12 *
13 * Copyright (C) 1993 - 2025 Borek Patzak
14 *
15 *
16 *
17 * Czech Technical University, Faculty of Civil Engineering,
18 * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19 *
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License as published by the Free Software Foundation; either
23 * version 2.1 of the License, or (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 * Lesser General Public License for more details.
29 *
30 * You should have received a copy of the GNU Lesser General Public
31 * License along with this library; if not, write to the Free Software
32 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33 */
34
35#ifndef hemotkmat_h
36#define hemotkmat_h
37
39
41
42#define _IFT_HeMoTKMaterial_Name "hemotk"
43#define _IFT_HeMoTKMaterial_a_0 "a_0"
44#define _IFT_HeMoTKMaterial_nn "nn"
45#define _IFT_HeMoTKMaterial_phi_c "phi_c"
46#define _IFT_HeMoTKMaterial_delta_wet "delta_wet"
47#define _IFT_HeMoTKMaterial_w_h "w_h"
48#define _IFT_HeMoTKMaterial_n "n"
49#define _IFT_HeMoTKMaterial_a "a"
50#define _IFT_HeMoTKMaterial_latent "latent"
51#define _IFT_HeMoTKMaterial_c "c"
52#define _IFT_HeMoTKMaterial_rho "rho"
53#define _IFT_HeMoTKMaterial_chi_eff "chi_eff"
54#define _IFT_HeMoTKMaterial_por "por"
55#define _IFT_HeMoTKMaterial_rho_gws "rho_gws"
57
58namespace oofem {
67{
68protected:
69 double a_0 = 0.;
70 double nn = 0.;
71 double phi_c = 0.;
72 double delta_wet = 0.;
73
74 double w_h = 0.;
75 double n = 0.;
76 double a = 0.;
77
78 double latent = 0.;
79 double c = 0.;
80 double rho = 0.;
81 double chi_eff = 0.;
82
83 double por = 0.;
84 double rho_gws = 0.;
85
86public:
93
94 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;
95 FloatMatrixF<3,3> computeTangent3D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override;
96 double giveCharacteristicValue(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override;
97
98 bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override;
99
100 void initializeFrom(InputRecord &ir) override;
101
102 double give(int aProperty, GaussPoint *gp) const override;
103
104 bool hasMaterialModeCapability(MaterialMode mode) const override;
105 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
106
107 // identification
108 const char *giveInputRecordName() const override { return _IFT_HeMoTKMaterial_Name; }
109 const char *giveClassName() const override { return "HeMoTKMaterial"; }
110
111 double sorption_isotherm(double phi) const;
112 double inverse_sorption_isotherm(double w) const;
113 double give_dphi_dw(double w) const;
114
115 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<HeMoTransportMaterialStatus>(gp); }
116
117protected:
118 double computeCapacityCoeff(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const;
122 double giveHumidity(GaussPoint *gp, ValueModeType mode) const override;
123
124 double get_latent(double w, double t) const;
125 double get_ceff(double w, double t) const;
126 double get_chi(double w, double t) const;
127
128 double perm_wt(double w, double t) const;
129 double perm_ww(double w, double t) const;
130 double give_delta_gw(double phi) const;
131 double give_dpgw_dt(double t, double phi) const;
132
133 double get_b(double w, double t) const;
134 double get_sat(double w, double t) const;
135 double give_p_gws(double t) const;
136};
137} // end namespace oofem
138#endif // hemotkmat_h
const char * giveClassName() const override
Definition hemotkmat.h:109
double latent
Latent heat of evaporation.
Definition hemotkmat.h:78
double rho
Volume density.
Definition hemotkmat.h:80
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition hemotkmat.C:364
double get_sat(double w, double t) const
Definition hemotkmat.C:329
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition hemotkmat.h:115
bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override
Definition hemotkmat.C:352
double delta_wet
Constant-water vapor permeability (obtained from experiments) [Bazant and Najjar, 1972].
Definition hemotkmat.h:72
void initializeFrom(InputRecord &ir) override
Definition hemotkmat.C:52
double giveHumidity(GaussPoint *gp, ValueModeType mode) const override
Definition hemotkmat.C:162
double computeCapacityCoeff(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
Definition hemotkmat.C:135
FloatMatrixF< 3, 3 > computeTangent3D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
Definition hemotkmat.C:102
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
Definition hemotkmat.C:83
double chi_eff
Effective thermal conductivity.
Definition hemotkmat.h:81
double give_p_gws(double t) const
Definition hemotkmat.C:297
double a_0
Constant (obtained from experiments) [Bazant and Najjar, 1972].
Definition hemotkmat.h:69
double nn
Constant-exponent (obtained from experiments) [Bazant and Najjar, 1972].
Definition hemotkmat.h:70
double give_dpgw_dt(double t, double phi) const
Definition hemotkmat.C:282
double give_delta_gw(double phi) const
Definition hemotkmat.C:212
double get_ceff(double w, double t) const
Definition hemotkmat.C:337
double get_b(double w, double t) const
Definition hemotkmat.C:316
const char * giveInputRecordName() const override
Definition hemotkmat.h:108
double get_chi(double w, double t) const
Definition hemotkmat.C:345
double rho_gws
Saturation volume density.
Definition hemotkmat.h:84
double a
Constant (obtained from experiments) [Pedersen, 1990].
Definition hemotkmat.h:76
double give_dphi_dw(double w) const
Definition hemotkmat.C:268
double inverse_sorption_isotherm(double w) const
Definition hemotkmat.C:247
double sorption_isotherm(double phi) const
Definition hemotkmat.C:229
double perm_ww(double w, double t) const
Definition hemotkmat.C:182
double c
Thermal capacity.
Definition hemotkmat.h:79
double get_latent(double w, double t) const
Definition hemotkmat.C:309
double perm_wt(double w, double t) const
Definition hemotkmat.C:198
double give(int aProperty, GaussPoint *gp) const override
Definition hemotkmat.C:76
bool hasMaterialModeCapability(MaterialMode mode) const override
Definition hemotkmat.C:45
double phi_c
Constant-relative humidity (obtained from experiments) [Bazant and Najjar, 1972].
Definition hemotkmat.h:71
double por
Porosity.
Definition hemotkmat.h:83
double w_h
Constant water content (obtained from experiments) [Pedersen, 1990].
Definition hemotkmat.h:74
double giveCharacteristicValue(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
Definition hemotkmat.C:127
HeMoTKMaterial(int n, Domain *d)
Definition hemotkmat.h:92
double n
Constant-exponent (obtained from experiments) [Pedersen, 1990].
Definition hemotkmat.h:75
TransportMaterial(int n, Domain *d)
#define _IFT_HeMoTKMaterial_Name
Definition hemotkmat.h:42

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011