Sunteți pe pagina 1din 25

Created in COMSOL Multiphysics 5.

2a

Evaporation in Porous Media with Large


Evaporation Rates

This model is licensed under the COMSOL Software License Agreement 5.2a.
All trademarks are the property of their respective owners. See www.comsol.com/trademarks.
Introduction
Evaporation in porous media is an important process in food and paper industry among
others. Many physical effects must be considered: fluid flow, heat transfer and transport of
participating fluids and gases. All of these effects are strongly coupled and predefined
interfaces can be used to model these effects with COMSOL Multiphysics. Considering
an unsaturated porous medium requires adjustments of the predefined equations.

In this model, the changing water saturation inside the porous medium is computed. In
contrast to the situation with a stationary liquid phase (see Evaporation in Porous Media
with Small Evaporation Rates), where the interfaces provided by COMSOL can be used
as they are, the implementation of a multiphase flow requires some changes.

This model and the instructions are based on the corresponding model and focus on the
additional steps required to implement multiphase flow in porous media together with
evaporation from liquid to gaseous phase.

Model Definition
This model describes a laminar dry air flow through a porous medium containing water
vapor and liquid water. The geometry and principle is shown in Figure 1.

2 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


Free flow domain

Air flow

Porous domain containing wa-


ter vapor and liquid water

Figure 1: Geometry and principle of the model.

TW O P H A S E F L O W I N P O R O U S M E D I A
The basic principle of modeling two phase flow in porous media is similar for many
applications. First, to account for different phases, saturation variables are used that fulfill
the following constraint:

Sg + Sl = 1 (1)

where the index g is used for the gaseous phase (which in this model is moist air) and the
index l is used for the liquid phase (which in this model is water).

Single-phase flow in porous media is described by the Brinkman Equations. With an


additional liquid phase, capillary effects also arise and the liquid flow is driven by a pressure
gradient and capillary pressure p c = p g pl . How to deal with the latter one depends on
the application: sometimes the capillary pressure can be neglected, sometimes it is the
driving effect and different approaches exist.

The formulation used in this model follows (Ref. 2), where capillary effects are treated by
an additional diffusion term in the transport equation. The Brinkman Equation is used to

3 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


calculate the flow field ug and pressure distribution pg of moist air in the porous medium.
Therefore the porosity must take into account that only a fraction of the void space is
occupied by the gas phase.

The liquid phase velocity is small compared to the moist air velocity and such Darcys Law
is defined in terms of the gas phase pressure gradient to calculate the water velocity ul
according to


u l = ------l p g (2)
l

where l and l are the permeability and viscosity of the liquid phase. It is not necessary to
define a second Darcys law equation, but an additional transport equation for the liquid
phase is required.

The boundary conditions for the flow equations and their coupling is the same as in the
corresponding model (see Flow Properties).

L I Q U I D P H A S E TR A N S P O R T I N P O RO U S M E D I A
COMSOL provides the Transport of Diluted Species interface, which solves for a
concentration in the very general form:

c
----- + N = R (3)
t

This interface is used to describe the transport of the liquid phase inside the porous
domain, following the ideas about mechanistic formulations from (Ref. 1). In this paper
and the references given there the transport of water vapor, liquid water and dry air by
convection and diffusion is expressed by flux variables.

It is assumed that no liquid water can leave the porous domain. From now on the index
w is used to indicate that the properties are water properties and not a general liquid phase
anymore.

The concentration cw describes the water concentration and is rather an auxiliary variable,
since the saturation is crucial for this process. The correlation for water concentration cw
and liquid phase saturation Sl is:

cw Mw
S l = ----------------
w

where Mw and w are the molar mass and density of water, is the porosity.

4 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


The velocity field in Equation 2 must take into account that the pore space is not fully
saturated with water. Additionally the permeability for the liquid phase l depends on the
overall permeability of the porous matrix and a relative permeability (see Permeability)
rl, thus:

rl
u l = ---------------- p g
S l w

The pressure gradient p g is solved with the Brinkman Equation and w is the viscosity
of water. The capillary effect is introduced as the diffusion coefficient Dcap which depends
on the moisture content (Ref. 2):

VA P O R TR A N S P O R T I N P O RO U S M E D I A
The procedure to derive the transport equation for water vapor is similar to the previous
section. Starting from the conservation equation (Equation 3) and following the
description in (Ref. 1), one has to implement the flux due to convection whereas the
velocity field is already known from the Brinkman equation and needs to be applied to the
vapor phase. The second transport mechanism is flux due to binary diffusion of water
vapor and dry air in the gaseous phase. A common correlation for an effective diffusivity
Deff for two components is the Millington and Quirk equation

4 3 10 3
D eff = D va Sg
2
5 m
with the vapor-air diffusivity D va = 2,6 10 -------- .
s
Both effects provide the velocity field that is applied to the water vapor transport equation:

ug M a D eff
u = --------- --------------------- ma
S g M ma ma

Mma and ma refer to the moist air molar mass and density.

EVAPORATION
To calculate the amount of water that evaporates into air and to account for the reducing
liquid and increasing moist air proportion, the same correlation as in the Evaporation
section from Ref. 3 is used:

m evap = K ( a w c sat c )

where K (1/s) is the evaporation rate, csat the vapor concentration under saturation
conditions and c the current vapor concentration.

5 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


H E A T TR A N S F E R
The free flow domain contains moist air only and the velocity field from the laminar flow
equation is used to describe the heat transferred by convection.

Inside the porous domain the overall velocity field for liquid and gaseous phase contributes
to the heat convection term. Averaged thermal properties are required:

tot = S g ma + S l w
S g ma C p,ma + S l w C p,w
C p,tot = -------------------------------------------------------------- (4)
tot
k tot = S g k ma + S l k w

Then the overall velocity can be expressed as the average of dry air-, water vapor-, and
liquid water velocity, which is:

n a C p,a + n v C p,v + n w C p,w


u mean = ------------------------------------------------------------------- (5)
tot C p,tot

na, nv, and nw are the flux variables for each component (see Ref. 1 for more details). The
heat of evaporation is inserted as a source term in the heat transfer equation according to:

Q = H vap m vap (6)

where Hvap (J/mol) is the latent heat of evaporation.

MOIST AIR PROPERTIES


The properties of moist air are the same as used in the other model (see Thermodynamic
properties). Inside the porous domain there is the option to define a single fluid type.
Implementing a two phase flow means that the fluid type has to be defined in a way that
it accounts for liquid and gaseous phases. Therefore it is necessary to define the moist air
properties manually. Also all other material properties are defined manually for sake of
simplicity.

PERMEABILITY
The permeability of the porous matrix defines the absolute permeability. When two
phases are present, the permeability of each phase depends also on the saturation. This is
defined by the relative permeabilities rl and rg for liquid and gaseous phase respectively,
so that l = rl and g = rg . The determination of relative permeability curves is
often done empirically or experimentally and the form strongly depends on the porous
material properties and the liquids themselves. The functions that are used in this model

6 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


(Ref. 2) are defined such that they are always positive:


1 1,1S l , S l < 1 1,1
rg =
eps , S l 1 1,1

S l S li 3
------------------ , S l > S li
rl = 1 S li

eps , S l S li

The variable Sli is the irreducible liquid phase saturation, describing the saturation of the
liquid phase that will remain inside the porous medium.

Results and Discussion


The temperature (Figure 2) shows significant cooling in the whole domain.

Figure 2: Temperature field after 1000s.

7 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


The default pressure contour plot is shown on Figure 3.

Figure 3: Pressure distribution.

Inside the porous domain the relative humidity is close to 100% everywhere (Figure 4).

8 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


Figure 4: Relative humidity after 1000 s.

Notes About the COMSOL Implementation


Using a proper mesh size is important to resolve the steep gradients at the interface
boundaries. Therefore a customized mesh with boundary layers is used.

To get good convergence of the time dependent behavior, first solve the stationary flow
equations only. This solution will then be used for the time dependent study step. This
approximation neglects the evaporation mass source in the fluid flow computation.

References
1. A.K. Datta, Porous media approaches to studying simultaneous heat and mass transfer
in food processes. I: Problem formulations, Journal of Food Engineering, vol. 80, 2007.

2. A.K. Datta, Porous media approaches to studying simultaneous heat and mass transfer
in food processes. II: Property data and representative results, Journal of Food
Engineering, vol. 80, 2007.

9 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


3. Heat_Transfer_Module/Phase_Change/evaporation_porous_media_small_rate

Application Library path: Heat_Transfer_Module/Phase_Change/


evaporation_porous_media_large_rate

Modeling Instructions
From the File menu, choose New.

NEW
In the New window, click Model Wizard.

MODEL WIZARD
1 In the Model Wizard window, click 2D.
2 Click Done.

GLOBAL DEFINITIONS
For this model, many parameters and variables are needed. Start by loading all of them
from text files. For clarity reasons, the variables are grouped in separate variable sets.

Parameters
1 On the Home toolbar, click Parameters.
2 In the Settings window for Parameters, locate the Parameters section.
3 Click Load from File.
4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_parameters.txt.

Variables 1
1 In the Model Builder window, right-click Global Definitions and choose Variables.
2 In the Settings window for Variables, type Air Properties in the Label text field.
3 Locate the Variables section. Click Load from File.
4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_air.txt.

Variables 2
1 Right-click Global Definitions and choose Variables.

10 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


2 In the Settings window for Variables, type Liquid Water Properties in the Label text
field.
3 Locate the Variables section. Click Load from File.
4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_water.txt.

Variables 3
1 Right-click Global Definitions and choose Variables.
2 In the Settings window for Variables, type Water Vapor Properties in the Label text
field.
3 Locate the Variables section. Click Load from File.
4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_vapor.txt.

Variables 4
1 Right-click Global Definitions and choose Variables.
2 In the Settings window for Variables, type Porous Matrix Properties in the Label text
field.
3 Locate the Variables section. Click Load from File.
4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_porous.txt.

DEFINITIONS
In the Model Builder window, expand the Component 1 (comp1)>Definitions node.

Variables 5
1 Right-click Definitions and choose Variables.
2 In the Settings window for Variables, type Material Properties in the Label text field.
3 Locate the Variables section. Click Load from File.
4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_matprop.txt.

Variables 6
1 Right-click Definitions and choose Variables.
2 In the Settings window for Variables, type Porous Medium Velocity Variables in
the Label text field.
3 Locate the Variables section. Click Load from File.

11 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_velocities.txt.

Variables 7
1 Right-click Definitions and choose Variables.
2 In the Settings window for Variables, type Variables in the Label text field.
3 Locate the Variables section. Click Load from File.
4 Browse to the models Application Libraries folder and double-click the file
evaporation_porous_media_large_rate_variables.txt.

Define the relative permeabilities for water vapor and liquid water as functions of liquid
water saturation. The advantage of using functions is that they can be plotted immediately.

Piecewise 1 (pw1)
1 On the Home toolbar, click Functions and choose Global>Piecewise.
2 In the Settings window for Piecewise, type Relative Permeability, Moist Air in
the Label text field.
3 In the Function name text field, type kappa_rma.
4 Locate the Definition section. In the Argument text field, type S_l.
5 Find the Intervals subsection. In the table, enter the following settings:

Start End Function


0 1/1.1 1-1.1*S_l
1/1.1 1 eps

To force the saturation to be always positive eps is used as minimum value.

12 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


6 In the Settings window for Piecewise, click Plot.

Piecewise 2 (pw2)
1 On the Home toolbar, click Functions and choose Global>Piecewise.
2 In the Settings window for Piecewise, type Relative Permeability, Liquid Phase
in the Label text field.
3 In the Function name text field, type kappa_rl.
4 Locate the Definition section. In the Argument text field, type S_l.
5 Find the Intervals subsection. In the table, enter the following settings:

Start End Function


0 S_il eps
S_il 1 ((S_l-S_il)/(1-S_il))^3

13 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


6 In the Settings window for Piecewise, click Plot.

All variables are defined. Now define the geometry.

GEOMETRY 1

Rectangle 1 (r1)
1 On the Geometry toolbar, click Primitives and choose Rectangle.
2 In the Settings window for Rectangle, locate the Size and Shape section.
3 In the Width text field, type 0.15.
4 In the Height text field, type 0.05.

Rectangle 2 (r2)
1 On the Geometry toolbar, click Primitives and choose Rectangle.
2 In the Settings window for Rectangle, locate the Size and Shape section.
3 In the Width text field, type 0.04.
4 In the Height text field, type 0.005.
5 Locate the Position section. In the x text field, type 0.04.

Fillet 1 (fil1)
1 On the Geometry toolbar, click Fillet.

14 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


2 On the object r2, select Points 3 and 4 only.
3 In the Settings window for Fillet, locate the Radius section.
4 In the Radius text field, type 2e-3.
5 Click Build All Objects.

Next, add the physics interfaces that set up the equations to be solved in the domains.

ADD PHYSICS
1 On the Home toolbar, click Add Physics to open the Add Physics window.
2 Go to the Add Physics window.
3 In the tree, select Fluid Flow>Nonisothermal Flow>Laminar Flow.
4 Click Add to Component in the window toolbar.

ADD PHYSICS
1 Go to the Add Physics window.
2 In the tree, select Chemical Species Transport>Transport of Diluted Species (tds).
3 Click Add to Component in the window toolbar.

ADD PHYSICS
1 Go to the Add Physics window.
2 In the tree, select Chemical Species Transport>Transport of Diluted Species (tds).
3 Click Add to Component in the window toolbar.

TR A N S P O R T O F D I L U T E D S P E C I E S ( T D S )
1 In the Model Builder window, under Component 1 (comp1) click
Transport of Diluted Species (tds).
2 In the Settings window for Transport of Diluted Species, type Transport of Diluted
Species: Liquid Water in the Label text field.
3 Click to expand the Dependent variables section. Locate the Dependent Variables section.
In the Concentrations table, enter the following settings:

cl

4 Select Domain 2 only.

15 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


TR A N S P O R T O F D I L U T E D S P E C I E S 2 ( T D S 2 )
On the Physics toolbar, click Transport of Diluted Species (tds) and choose
Transport of Diluted Species 2 (tds2).

1 In the Model Builder window, under Component 1 (comp1) click


Transport of Diluted Species 2 (tds2).
2 In the Settings window for Transport of Diluted Species, type Transport of Diluted
Species 2: Water Vapor in the Label text field.

3 Click to expand the Dependent variables section. Locate the Dependent Variables section.
In the Concentrations table, enter the following settings:

cv

H E A T TR A N S F E R I N F L U I D S ( H T )
Define the domain, boundary and source conditions for each interface. Start with the Heat
Transfer in Fluids interface.

On the Physics toolbar, click Transport of Diluted Species 2 (tds2) and choose
Heat Transfer in Fluids (ht).

1 In the Model Builder window, under Component 1 (comp1) click


Heat Transfer in Fluids (ht).
2 In the Settings window for Heat Transfer in Fluids, locate the Physical Model section.
3 Select the Heat transfer in porous media check box.
4 Locate the Ambient Settings section. In the Tamb text field, type T0.

Initial Values 1
Use the ambient temperature defined previously as input.

1 In the Model Builder window, under Component 1 (comp1)>Heat Transfer in Fluids (ht)
click Initial Values 1.
2 In the Settings window for Initial Values, choose Ambient temperature (ht) from the T
list.

Fluid 1
1 In the Model Builder window, under Component 1 (comp1)>Heat Transfer in Fluids (ht)
click Fluid 1.
2 In the Settings window for Fluid, locate the Thermodynamics, Fluid section.
3 From the Fluid type list, choose Moist air.
4 From the Input quantity list, choose Concentration.

16 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


5 Locate the Model Inputs section. From the c list, choose Concentration (tds2).

Porous Medium 1
1 On the Physics toolbar, click Domains and choose Porous Medium.
2 Select Domain 2 only.
3 In the Settings window for Porous Medium, locate the Model inputs section.
4 Click Make All Model Inputs Editable in the upper-right corner of the section. Locate the
Model Inputs section. Specify the u vector as

u_mean x
v_mean y

This is the average velocity for liquid water and water vapor as defined in the Porous
media velocity variables node.
5 Locate the Heat Conduction, Fluid section. From the k list, choose User defined. In the
associated text field, type k_tot.
6 Locate the Thermodynamics, Fluid section. From the list, choose User defined. In the
associated text field, type rho_tot.
7 From the Cp list, choose User defined. In the associated text field, type cp_tot.
8 From the list, choose User defined. Locate the Immobile Solids section. In the p text
field, type 1-por.
9 Locate the Heat Conduction, Porous Matrix section. From the kp list, choose User defined.
In the associated text field, type k_p.
10 Locate the Thermodynamics, Porous Matrix section. From the p list, choose User defined.
In the associated text field, type rho_p.
11 From the Cp, p list, choose User defined. In the associated text field, type cp_p.

Heat Source 1
1 On the Physics toolbar, click Domains and choose Heat Source.
2 Select Domain 2 only.
Define the heat source due to evaporation.
3 In the Settings window for Heat Source, locate the Heat Source section.
4 In the Q0 text field, type -H_evap*Mn_l*m_evap.

Temperature 1
1 On the Physics toolbar, click Boundaries and choose Temperature.
2 Select Boundary 1 only.

17 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


3 In the Settings window for Temperature, locate the Temperature section.
4 From the T0 list, choose Ambient temperature (ht).

Outflow 1
1 On the Physics toolbar, click Boundaries and choose Outflow.
2 Select Boundary 9 only.

LAMINAR FLOW (SPF)


Continue with the Laminar Flow interface.

1 In the Model Builder window, under Component 1 (comp1) click Laminar Flow (spf).
2 In the Settings window for Laminar Flow, locate the Physical Model section.
3 From the Compressibility list, choose Compressible flow (Ma<0.3).
The next step enables additional features for the flow interface to account for porous
domains also.
4 Select the Enable porous media domains check box.

Fluid Properties 1
1 In the Model Builder window, under Component 1 (comp1)>Laminar Flow (spf) click
Fluid Properties 1.
2 In the Settings window for Fluid Properties, locate the Fluid Properties section.
3 From the list, choose Dynamic viscosity (ht/fluid1).
This step sets the viscosity to the viscosity that is calculated by the moist air feature
within the Heat Transfer interface.
Specify the porous domain properties.

4 In the Model Builder window, click Laminar Flow (spf).

Fluid and Matrix Properties 1


1 On the Physics toolbar, click Domains and choose Fluid and Matrix Properties.
2 Select Domain 2 only.
Set the material properties for the definition of Brinkman equation for vapor phase.
3 In the Settings window for Fluid and Matrix Properties, locate the Model inputs section.
4 Click Make All Model Inputs Editable in the upper-right corner of the section. Locate the
Fluid Properties section. From the list, choose User defined. In the associated text field,
type rho_ma.
5 From the list, choose User defined. In the associated text field, type mu_ma.

18 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


6 Locate the Porous Matrix Properties section. From the p list, choose User defined. In the
associated text field, type por*S_ma.
The pore space is partially filled with liquid water, so that the available space for water
vapor depends on the porosity and the saturation.
7 From the list, choose User defined. In the associated text field, type kappa_ma.

Inlet 1
1 On the Physics toolbar, click Boundaries and choose Inlet.
2 Select Boundary 1 only.
3 In the Settings window for Inlet, locate the Boundary Condition section.
4 From the list, choose Laminar inflow.
5 Locate the Laminar Inflow section. In the Uav text field, type u0.
The Entrance length value must be large enough so that the flow can reach a laminar
profile. For a laminar flow, Lentr should be significantly greater than 0.06ReD, where
Re is the Reynolds number and D is the inlet length scale. In this case, 30 m is an
appropriate value.
6 In the Lentr text field, type 1.

Outlet 1
1 On the Physics toolbar, click Boundaries and choose Outlet.
2 Select Boundary 9 only.

TR A N S P O R T O F D I L U T E D S P E C I E S : L I Q U I D WA T E R ( T D S )
Continue with the Transport of Diluted Species interface that solves for the liquid water
concentration.

On the Physics toolbar, click Laminar Flow (spf) and choose


Transport of Diluted Species: Liquid Water (tds).

Transport Properties 1
1 In the Model Builder window, under Component 1 (comp1)>
Transport of Diluted Species: Liquid Water (tds) click Transport Properties 1.
2 In the Settings window for Transport Properties, locate the Convection section.
3 Specify the u vector as

-px*kappa_l/(S_l*por*mu_l) x
-py*kappa_l/(S_l*por*mu_l) y

19 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


4 Locate the Diffusion section. In the Dcl text field, type D_cap.
The velocity field for the transport of liquid water can directly be derived from the vapor
flow velocity and must take into account the available pore space and relative
permeability.

Initial Values 1
1 In the Model Builder window, under Component 1 (comp1)>
Transport of Diluted Species: Liquid Water (tds) click Initial Values 1.
2 In the Settings window for Initial Values, locate the Initial Values section.
3 In the cl text field, type S_l_0*por*rho_l/Mn_l.
4 In the Model Builder window, click Transport of Diluted Species: Liquid Water (tds).

Reactions 1
1 On the Physics toolbar, click Domains and choose Reactions.
2 In the Settings window for Reactions, locate the Reaction Rates section.
3 In the Rcl text field, type -m_evap.
4 Select Domain 2 only.

TR A N S P O R T O F D I L U T E D S P E C I E S 2 : WA T E R VA P O R ( T D S 2 )
Continue with the Transport of Diluted Species interface that solves for the vapor
concentration.

Transport Properties 1
1 In the Model Builder window, under Component 1 (comp1)>
Transport of Diluted Species 2: Water Vapor (tds2) click Transport Properties 1.
2 In the Settings window for Transport Properties, locate the Convection section.
3 From the u list, choose Velocity field (spf).
4 Locate the Diffusion section. In the Dcv text field, type D_va.
5 In the Model Builder window, click Transport of Diluted Species 2: Water Vapor (tds2).

Transport Properties 2
1 On the Physics toolbar, click Domains and choose Transport Properties.
2 Select Domain 2 only.
3 In the Settings window for Transport Properties, type Transport Properties 2:
Porous Medium in the Label text field.

20 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


4 Locate the Convection section. Specify the u vector as

u/(por*S_ma)-Mn_a*D_eff*rho_ma*d(Mn_ma/rho_ma,x)/Mn_ma^2 x
v/(por*S_ma)-Mn_a*D_eff*rho_ma*d(Mn_ma/rho_ma,y)/Mn_ma^2 y

5 Locate the Diffusion section. In the Dcv text field, type D_eff*Mn_a/Mn_ma.
This sets up the water vapor transport according to Vapor Transport in porous media.

Initial Values 2
1 On the Physics toolbar, click Domains and choose Initial Values.
2 Select Domain 2 only.
3 In the Settings window for Initial Values, locate the Initial Values section.
4 In the cv text field, type cv_sat_0.

Reactions 1
1 On the Physics toolbar, click Domains and choose Reactions.
2 Select Domain 2 only.
3 In the Settings window for Reactions, locate the Reaction Rates section.
4 In the Rcv text field, type m_evap.

Concentration 1
1 On the Physics toolbar, click Boundaries and choose Concentration.
2 Select Boundary 1 only.
3 In the Settings window for Concentration, locate the Concentration section.
4 Select the Species cv check box.

Outflow 1
1 On the Physics toolbar, click Boundaries and choose Outflow.
2 Select Boundary 9 only.

DEFINITIONS
Define some integration operators on the free and porous domains, and on the outlet
boundary.

Integration 1a (intop1)
1 On the Definitions toolbar, click Component Couplings and choose Integration.
2 Select Domain 1 only.

21 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


3 In the Settings window for Integration, type Integration Free Medium in the Label
text field.
4 In the Operator name text field, type intopFree.

Integration 2a (intop2)
1 On the Definitions toolbar, click Component Couplings and choose Integration.
2 Select Domain 2 only.
3 In the Settings window for Integration, type Integration Porous Medium in the Label
text field.
4 In the Operator name text field, type intopPorous.

Integration 3a (intop3)
1 On the Definitions toolbar, click Component Couplings and choose Integration.
2 In the Settings window for Integration, locate the Source Selection section.
3 From the Geometric entity level list, choose Boundary.
4 Select Boundary 9 only.
5 In the Label text field, type Integration Outlet.
6 In the Operator name text field, type intopOutlet.

To resolve all effects and get a better convergence for this highly nonlinear problem, build
a mesh manually with boundary layers to resolve the interface properly.

MESH 1

Size
1 In the Model Builder window, under Component 1 (comp1) right-click Mesh 1 and choose
Size.
2 In the Settings window for Size, locate the Element Size section.
3 From the Calibrate for list, choose Fluid dynamics.
4 From the Predefined list, choose Finer.

Size 1
1 In the Model Builder window, under Component 1 (comp1)>Mesh 1 click Size 1.
2 In the Settings window for Size, locate the Geometric Entity Selection section.
3 From the Geometric entity level list, choose Boundary.
4 From the Selection list, choose All boundaries.
5 Select Boundaries 24, 68, 10, and 11 only.

22 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


6 Locate the Element Size section. From the Calibrate for list, choose Fluid dynamics.
7 From the Predefined list, choose Extremely fine.

Boundary Layer Properties


1 In the Model Builder window, right-click Mesh 1 and choose Free Triangular.
2 Right-click Mesh 1 and choose Boundary Layers.
3 In the Settings window for Boundary Layer Properties, locate the Boundary Selection
section.
4 From the Selection list, choose All boundaries.
5 Select Boundaries 24, 68, 10, and 11 only.
6 Locate the Boundary Layer Properties section. In the Thickness adjustment factor text
field, type 0.5.
7 Click Build All.

ADD STUDY
Add a stationary study that solves for the fluid flow only. This approximation does not
account for the evaporation mass source in the porous medium for the fluid flow
computation. The solution is used for the computation of the time dependent solution of
the other processes.

1 On the Home toolbar, click Add Study to open the Add Study window.
2 Go to the Add Study window.
3 Find the Studies subsection. In the Select Study tree, select Preset Studies>Stationary.
In the table, clear the Solve for check box for all interfaces except for the Laminar Flow
interface.
4 Click Add Study in the window toolbar.

STUDY 1
On the Home toolbar, click Add Study to close the Add Study window.

Step 2: Time Dependent


1 On the Study toolbar, click Study Steps and choose Time Dependent>Time Dependent.
2 In the Settings window for Time Dependent, locate the Study Settings section.
3 In the Times text field, type range(0,5,1000).

23 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


4 Locate the Physics and Variables Selection section. In the table, enter the following
settings:

Physics interface Solve for Discretization


Laminar Flow (spf) physics

5 On the Study toolbar, click Compute.

RESULTS

Pressure (spf)
Check that the water content variation over time in domain is balanced by the outlet
moisture flux.

Global Evaluation 1
1 On the Results toolbar, click Global Evaluation.
2 In the Settings window for Global Evaluation, locate the Expressions section.
3 In the table, enter the following settings:

Expression Unit Description


timeint(0,t,intopOutlet(tds2.ntflux_cv))+
intopFree(cv)+intopPorous(cv+cl)
at(0,intopFree(cv))+at(0,intopPorous(cv+cl))

4 Locate the Data section. From the Time selection list, choose Last.
5 Click Evaluate.

TABLE
1 Go to the Table window.
The difference between the initial and final concentration plus the concentration flux
over the simulation is less than 1e2 which is the solver numerical tolerance.
Finally, plot the relative humidity.

RESULTS

2D Plot Group 7
1 On the Results toolbar, click 2D Plot Group.
2 In the Settings window for 2D Plot Group, type Relative Humidity in the Label text
field.
3 On the Relative Humidity toolbar, click Surface.

24 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES


Surface 1
1 In the Model Builder window, under Results>Relative Humidity click Surface 1.
2 In the Settings window for Surface, click Replace Expression in the upper-right corner of
the Expression section. From the menu, choose Component 1>Definitions>Variables>phi -
Relative humidity.
3 On the Relative Humidity toolbar, click Plot.
4 Click the Zoom Extents button on the Graphics toolbar.

25 | EVAPORATION IN POROUS MEDIA WITH LARGE EVAPORATION RATES

S-ar putea să vă placă și