Haiyan,
You are injecting with a volumetric rate. The volumetric rate source/sink computes water density internally based on the pressure within the injected cell. Deeper cells will have higher pressure and thus higher density and thus more mass injected. Try a mass rate instead of volumetric rate:
FLOW_CONDITION inj
TYPE
RATE mass_rate
/
RATE 100. kg/day
END
Also, you should be able to apply that single condition to all the cells at the left boundary at once. Create a region:
REGION wells
COORDINATES
0.d0 0.d0 -1000.d0
10.d0 1.d0 0.d0
/
END
SOURCE_SINK wellsinj
FLOW_CONDITION inj
TRANSPORT_CONDITION initial
REGION wells
END
We need to resolve this non-uniformity in injected mass first before we can further resolve the problem. Let us know what happens either way.
Glenn
FLOW_CONDITION inj
TYPE
RATE scaled_mass_rate volume
/
RATE 10000. kg/day
END
Haiyan,
I recommendation below is BOGUS. Leave the source/sinks as volumetric. FLOW_CONDITION initial needs to be set as HYDROSTATIC, not DIRICHLET. Give that a try. I was able to get a more realistic solution, though your injection rates push the water to the right, not matter what.
Glenn
Hi Glenn,
Thanks for pointing me out the problem.
The new region "wells" covers all the previous 100 wells which have a total injection rate of 10 m^3/day (0.1m^3/day * 100). So if I use this flow condition to all the cells on the left it should be
FLOW_CONDITION inj
TYPE
RATE scaled_mass_rate volume
/
RATE 10000. kg/day
END
Am I right?
You can do it either way. 10000 m^3/day with scaled_volumetric_rate or 10 m^3/day with volumetric_rate. Do not use the mass_rate, I was COMPLETELY WRONG. The volumetric rate will account for the hydrostatic equilibrium. However, as the simulation proceeds, I have no idea what will happen as the left boundary is no flow.
By the way, what do you mean by "non-uniformity" in injected mass? It is freshwater that is injected into the domain which is initially saturated with saltwater.
Hydrostatic pressure gradients will result in greater density with depth and volumetric inputs account for this. However, you need to ignore my comments about using mass_rate.!!!
Glenn
Haiyan,
There is still another issue. The hydrostatic boundary condition which calculates pressure along a 1D vertical column does not factor in the solute concentration in its density calculation. This will have to be fixed to use the hydrostatic flow condition. I can attempt to fix this sometime next week.
Glenn
From: pflotra...@googlegroups.com [mailto:pflotra...@googlegroups.com] On Behalf Of Hammond, Glenn E
Sent: Friday, March 24, 2017 4:11 PM
To: pflotra...@googlegroups.com
I have not. It is still on my TODO list, but I cannot estimate when it will get fixed as I have a lot going on.
Glenn
No progress. I have no immediate need for this capability on any of my projects and it would require substantial time to implement properly.
Richard,
PFLOTRAN can calculate salinity from the solute transport side of the code and factor the salinity into the density dependent flow problem. Our short course exercise
demonstrates this capability. This functionality is not well-documented and more a research capability. Bear in mind that since flow and transport are sequentially coupled, there is splitting error introduced that is proportional to time step size.
The biggest challenge with using this capability on realistic problems is that concentrations must be uniform across the boundary and initial condition regions. There is currently no way to prescribe a gradient, though one could overwrite species concentrations in our HDF5 formatted checkpoint file (using a some Python) and use that for an initial condition through the RESTART keyword. However, on the boundary, the is no way to prescribe a concentration gradient over a region using a single TRANSPORT_CONDITION.
Regards,
Glenn
--
You received this message because you are subscribed to the Google Groups "pflotran-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pflotran-user...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pflotran-users/92f96bf1-7826-49b5-a5fb-abbc53556aefn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pflotran-users/CO6PR09MB8600DE4598BB18BC6BF647229A599%40CO6PR09MB8600.namprd09.prod.outlook.com.
Richard C. Peralta, PhD, PE, F.ASCE, Professor,
Civil and Environmental Engineering Dept.
Utah State University
4110 Old Main Hill,
Logan, UT 84322-4110
preferred email: peral...@gmail.com preferred mobile 4358814947
USU phone 4357972786 USU email richard...@usu.edu
See my comments below in red. Glenn
From: pflotra...@googlegroups.com <pflotra...@googlegroups.com>
On Behalf Of Richard Peralta
Sent: Wednesday, May 5, 2021 5:14 PM
To: pflotra...@googlegroups.com
Cc: Richard Peralta <richard...@usu.edu>; richard peralta <peral...@gmail.com>
Subject: Re: [EXTERNAL] [pflotran-users: 6287] saltwater-freshwater transition zone modeling at a coastal aquifer
Hello Glenn,
Thank you very much for your answer. I did not precisely know how to interpret the caveat you mentioned. So here I describe a 2D cross-sectional modeling setting (X and Z directions), and ask different questions.
First, analytical solutions exist that represent the coastal freshwater and saltwater interface as a sharp divide (see below picture):
But in reality, depending upon the site, the interface is more like this:
For either of the above images, assume:
- Lateral boundary conditions:
- - on the left side should be specified fresh water head in some simulations, and specified entering fresh water flow rate in other simulations.
- -On the right side the salt water head would be specified, but in some simulations, specified inputs would vary with time to represent tides and storms.
- - Because we would not want the incoming fresh water to flush out all salt on the right side of the interface, we will have to have some specified ocean salt concentration boundary on the right side.
- Initial conditions:
--slight fresh water salinity concentration on the left side of an assumed sharp interface,
--high salt water salinity concentration on the right side as shown below.
1. Assuming the above BCs, can PFLOTRAN simulate and develop the shape and approximate concentrations of the interface (less dense freshwater overlying a wedge of dense saltwater). If specified freshwater inflow from the left (or if specified freshwater head at the decreases) , the salt water wedge should move to the left.
Yes. I believe that the attached input deck demonstrates the capability.
2. Although involving inexact physics, for steady hydraulic and concentration boundary conditions, can PFLOTRAN compute a resulting steady state concentration gradient for the above specified boundary conditions? (or does PFLOTRAN have to do a transient simulation to reach an equilibrium concentration gradient)?
PFLOTRAN has to pseudo step to steady-state. It cannot calculate the steady state solution since the flow and transport are sequentially coupled.
3. Do you think PFLOTRAN will be able to simulate the transient concentration changes resulting from specified boundary heads that change with time during a day or longer period?
Yes.
To view this discussion on the web visit https://groups.google.com/d/msgid/pflotran-users/CAGTjFuiOCAKRi8rc43ABWtzjHYStRpxFVCMMC2t0X6u-Sv83Eg%40mail.gmail.com.