sourceEventFile class
Description
Event file handler/reader for the porousMultiphaseFoam toolbox which contain m dates with n source points where (mass) flow rate is expressed in kg/s or m3/s. Source terms are applied in the closest cells to the given point. Intermediate values are computed by linear interpolation. Source terms before time1 and after timem are equal to 0.
Format
The class reads the file :
date time1
x1 y1 z1 sourceTerm11
x2 y2 z2 sourceTerm12
...
xn yn zn sourceTerm1n
date time2
x1 y1 z1 sourceTerm21
x2 y2 z2 sourceTerm22
...
date timem
...
xn yn zn sourceTermmn
Usage
To use source event file, you should specify the file in transportProperties as
sourceEventFileWater "path/to/the/eventFile";
if considering a flow rate source and
sourceEventFileTracer "path/to/the/eventFile";
if considering a tracer source.
Restrictions
The flow rate source event file can be used in:
The tracer rate event file can be used in: