# Heat air and moisture development

 This application is still in development (and don’t run yet). It has more features than `feelpp_hm_heat_moisture`, but is (for now) incompatible with it.

## 1. Usage

`feelpp_hm_heat_moisture_2d --case <directory to model case> --mod-file <path to json file>`

or

`feelpp_hm_heat_moisture_3d --case <directory to model case> --mod-file <path to json file>`

depending in which dimension the simulation is made.

## 2. Geometry

To make this application work correctly, there are some constraints on the geometry :

• If we want to simulate in the room, at least one marker has to be named `Air`.

## 3. JSON file

``````{
"Name":"model_name",           (1)
"Models":
{
"heat":{},
"moisture":{}
},
"Parameters":
{
"L_v":2.5e6,                (2)
...
},
"Materials":
{
"Omega_w":                  (3)
{
"physics":["heat"],     (4)
"markers":["Wall"],     (5)
"rho_m":650,            (6)
...
},
"Omega_r":                  (7)
{
...
}
},
"BoundaryConditions":
{
"T":                        (8)
{
"wall-int":             (9)
{
"Gamma_i":          (10)
{
"expr":0        (11)
}
},
"wall-ext":             (12)
{
"Gamma_e":
{
"expr":0
}
}
}
},
"InitialConditons":             (13)
{
"T":
{
"Expression":
{
"Omega_w":
{
"expr":293.15
},
"Air":
{
"expr":293.15
}
}
}
},
"PostProcess":                  (14)
{
"Exports":
{
"fields":["T","phi","w"]
}
}
}``````
 1 Name of the model, 2 Parameters of the model. For HAM simulation those parameters are `L_v`, `h_i`, `h_e`, `h_m`, `h_mi`, `h_me`, `T_e`, `w_e`, `H` 3 Material associated to the room : the name has to be `Omega_w` 4 Physics of the material, can be `heat`, `moisture` or `heat-moisture` depending on what we want to simulate 5 Markers where the physic is applied 6 Parameters implied in the physic : In the wall, those parameters are : `rho_mCp_m`, `k`, `xi`, `D_w`, `delta_p`, `p_sat` In the room, those parameters are : `eta`, `rho_aCp_a`, `A_w`, `V_a`, `m_gen` 7 Material associated to the air : the name has to be `Omega_r` 8 Field on which the boundary condition is applied, can be `T` or `phi` 9 Boundary conditions on the border between the room and the wall (named $\Gamma_i$ in the description), the name of such a condition is `wall-int` 10 Markers of the geometry on where the condition is applied 11 Expression, not used in the program 12 Boundary conditions on the border between the room and the exterior (called $\Gamma_e$ in the description), the name is `wall-ext` 13 Initial conditions 14 Post process section

Here is a table of the name of the coefficients, and to which model they are associated :

Parameters

Those values have to be in the `Parameters` section.

 Name Symbol Equation $L_v$ `L_v` moisture $h_i$, $h_e$, $h_m$, `h_i`, `h_e`, `h_m` heat $h_{mi}$, $h_{me}$ `h_mi`, `h_me` heat $H$ `H` heat $T_e$ `T_e` heat $w_e$ `w_e` moisture
Coefficients

Those values have to be in the `Materials` section

 Name Symbol Equation $\rho_mc_m$, $\rho_ac_a$ `rho_mCp_m`, `rho_aCp_a` heat $k$ `k` heat $w$ `w` moisture $\xi$ `xi` moisture $\eta$ `eta` heat, moisture $A_w$ `A_w` heat, moisture $V_a$ `V_a` heat, moisture $\dot{m}_\text{gen}$ `m_gen` moisture