Flow Condition location-dependent

114 views
Skip to first unread message

anne....@googlemail.com

unread,
Jul 3, 2018, 3:45:37 AM7/3/18
to pflotran-users
Dear all,

is there a way to specify flow conditions such as Energy_Flux, Temperature or Pressure depending on the location? I have seen that files can be specified in the following format:

: Rank 1 Dataset: turns on a 1 cm/yr flux over the second year of a three year simulation. TIME_UNITS yr DATA_UNITS cm/yr : <time> <value> 0. 0. 2. 1. 3. 0.

Is there a way to replace time with Cell Ids?

Thank you for your help,
Anne

Hammond, Glenn E

unread,
Jul 3, 2018, 10:58:56 AM7/3/18
to pflotra...@googlegroups.com

Anne,

 

For the most part (mapped datasets may be an exception), fluxes cannot be assigned on a cell by cell basis.  One has to use multiple conditions.

 

Temperature and pressure can be specified using cell-indexed datasets (based on cell IDs) for initial conditions, and gridded datasets can be used for initial and boundary conditions.

 

http://documentation.pflotran.org/user_guide/cards/process_model_cards/dataset_new_card.html

 

For cell indexed datasets initializing pressure, see the card INITIALIZE_FLOW_FROM_FILE in PFLOTRAN_DIR/regression_tests/default/543/543_flow.in.

 

For gridded datasets, PFLOTRAN_DIR/regression_tests/default/condition/dataset/*.in

 

Glenn

Anne Reusch

unread,
Jul 4, 2018, 8:48:31 AM7/4/18
to pflotra...@googlegroups.com
Hello Glenn,
thanks for your quick response, it helps me a lot. Would you have an example of how an Ascii file must look like, if you want to specify the pressure / temperature depending on location?
Is there another possibility to specify a heat flow (WM / m²) as a boundary condition depending on the location? Maybe with another TYPE (RATE?) ? As MODE I have specified TH.
Thank you for your help!
Anne

Hammond, Glenn E

unread,
Jul 9, 2018, 1:54:37 PM7/9/18
to pflotra...@googlegroups.com

From: 'Anne Reusch' via pflotran-users [mailto:pflotra...@googlegroups.com]
Sent: Wednesday, July 4, 2018 5:48 AM
To: pflotra...@googlegroups.com
Subject: Re: [EXTERNAL] [pflotran-users: 4904] Flow Condition location-dependent

 

Hello Glenn,

thanks for your quick response, it helps me a lot. Would you have an example of how an Ascii file must look like, if you want to specify the pressure / temperature depending on location?

 

You will need to use an HDF5 formatted file.  ASCII cannot be used for this functionality.

 

Is there another possibility to specify a heat flow (WM / m²) as a boundary condition depending on the location? Maybe with another TYPE (RATE?) ? As MODE I have specified TH.

 

I believe that you can specify a heat flux (MW/m^2) through the ENERGY_RATE keyword, but only a single FLUX can be handled by each FLOW_CONDITION.  Therefore, if the flux changes in space, you need to create one FLOW_CONDITION for each unique flux and boundary connection.  This may seem like a pain, but the generation of these conditions (and their mapping to BOUNDARY_CONDITIONs) can be scripted.

 

Glenn

Reply all
Reply to author
Forward
0 new messages