-
Notifications
You must be signed in to change notification settings - Fork 63
libraries_toolsGIS_infiltrationEventFile
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.
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
To use infiltration event file, you should specify the file in transportProperties as
eventFileInfiltration "path/to/the/eventFile";
The infiltrationEventFile class can be used in: