Initial condition - source term (Transport)

90 views
Skip to first unread message

Albert Costa

unread,
Dec 18, 2024, 11:46:28 AM12/18/24
to pflotran-users
Dear all,

I need to reproduce a pure transport problem where, at a specific time in a certain region, additional chlorine (Cl) and sodium (Na) are introduced into the water. As a result, the concentration values will change at that time.

I tried to use a source term, but it didn't work without solving for the flow first. (https://groups.google.com/g/pflotran-users/c/N1A6c1xQ6mc/m/GyTgm9p0EwAJ)
I also tried setting a constraint list at different times in the initial conditions using datasets, but it seems that the initial conditions aren’t accommodating the various constraints. (https://groups.google.com/g/pflotran-users/c/N1A6c1xQ6mc/m/GyTgm9p0EwAJ)

I considered modifying the restart files, but I’m concerned that this might create additional issues, because it may read all the species, and not only the primary ones (that will be modified). 

Do you have any alternative suggestions to resolve this issue?

Thank you in advance

Hammond, Glenn E

unread,
Dec 20, 2024, 11:32:31 AM12/20/24
to pflotra...@googlegroups.com

Albert,

 

You can try the following “unadvertised” capabilities, meaning they are not officially supported.

 

1.

 

TRANSPORT_CONDITION

  TYPE EQUILIBRIUM

  …

/

 

Here the concentrations in the grid cells associated with the transport condition are driven to equilibrium with those specified through the constraint, but this has to occur over the entire simulation

 

2.

 

TRANSPORT_CONDITION

  TYPE MOLE_RATE

  …

/

 

In this case assign T (for total) to all values in the constraint that the double precision value associated with each species is the mass rate (in moles/second) of what will be added to the associated cells. If you have a transient TRANSPORT_CONDITION, I believe that you cannot use “0” as the double precision value (for when no mass is being added). Use 1.d-40.

 

I cannot guarantee that either of these will work.

 

Glenn

 

From: pflotra...@googlegroups.com <pflotra...@googlegroups.com> on behalf of Albert Costa <albert.c...@gmail.com>
Date: Wednesday, December 18, 2024 at 8:46
AM
To: pflotran-users <pflotra...@googlegroups.com>
Subject: [pflotran-users: 8190] Initial condition - source term (Transport)

Check twice before you click! This email originated from outside PNNL.

 

--
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 visit https://groups.google.com/d/msgid/pflotran-users/73e24311-784c-4f09-bbfc-0bca10d7181an%40googlegroups.com.

Albert Costa

unread,
Jan 10, 2025, 10:02:02 AM1/10/25
to pflotran-users
Thank you Glenn for your answer. 
Reply all
Reply to author
Forward
0 new messages