Dear ogs users,
I am setting up a mulicomponent MASS_TRANSPORT model with transient BC for different components. I define my transient BC (time concentration data) as a function in the FCT file as follows:
#FUNCTION
$TYPE
fct_BC_POINT0
$VARIABLES
TIME Tracer
$DATA
0 0
3600 1
7200 0
10800 0
works well for one component. Can you define such time concentratoin function for several components at once and asses them in the BC file through $PRIMARY_VALUE ? I tried but this did not work:
#FUNCTION
$TYPE
fct_BC_POINT0
$VARIABLES
TIME Tracer Tracer2
$DATA
0 0 0
3600 1 1
7200 0 1
10800 0 0
I know you could define a seperate functoin or each component such as:
#FUNCTION
$TYPE
fct_BC_POINT0_Tracer
$VARIABLES
TIME Trace
$DATA
0 0
3600 1
7200 0
10800 0
#FUNCTION
$TYPE
fct_BC_POINT0_Tracer2
$VARIABLES
TIME Trace
$DATA
0 0
3600 1
7200 1
10800 0
But it would be easier to have one data table with several component concentrions in.
Any solution?
Best,
Johannes