: 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
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
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