Skip to content

libraries_toolsGIS_infiltrationEventFile

Pierre Horgue edited this page Sep 13, 2021 · 3 revisions

infiltrationEventFile class

Description

Event file handler/reader for the porousMultiphaseFoam toolbox which contain m dates with uniform infiltration values where infiltration is expressed in m/s. Intermediate values are computed by linear interpolation. Infiltration before time1 and after timem is equal to 0.

Contrary to the eventInfiltration BC with imposes velocity at given patches, the infiltrationEventFile class converts the infiltration velocity as a volumic source term for 2D solvers.

The class allows distributed infiltration with user-defined values given at all time for each cell (see Format). If the number of distributed value does not correspond to the size of the mesh, the first value is used as uniform infiltration.

Format

The class may read the uniform infiltration file :

date time1
infiltration1
date time2
infiltration2
...
date timem
infiltrationm

or the distributed infiltration file :

date time1
infiltration1_cell1 infiltration_1_cell2 ... infiltration1_cellN
date time2
infiltration2_cell1 infiltration_2_cell2 ... infiltration2_cellN
...
date_timem
infiltration2_cellm infiltration_m_cell2 ... infiltrationm_cellN

Usage

To use infiltration event file, you should specify the file in transportProperties as

eventFileInfiltration "path/to/the/eventFile";

Restrictions

The infiltrationEventFile class can be used in:

Return to porousMultiphaseFoam main page

Clone this wiki locally