Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify variables during reaction steps #36

Open
RyanConway91 opened this issue Apr 18, 2023 · 1 comment
Open

modify variables during reaction steps #36

RyanConway91 opened this issue Apr 18, 2023 · 1 comment

Comments

@RyanConway91
Copy link

I want to couple PHREEQC with a 3D groundwater flow and solute transport model. The 3D groundwater flow and solute transport model has API that should make this possible.

Basically I want to do this:
for each reaction/transport step:

  1. calculate the geochemistry in all model cells of the 3D groundwater model using PHREEQC
  2. pass these results from PHREEQC to the 3D groundwater flow model using the APIs of the models
  3. Simulate non-reactive transport of the species in the 3D model
  4. pass these results from the 3D groundwater flow model back to PHREEQC to the using the APIs of the models
  5. repeat

Can I do this with phreeqpython? I did not see any examples of modifying variables during a run.

@AbelHeinsbroek
Copy link
Member

Hi Ryan,

You might want to look into using PhreeqcRM, which was specifically made to be integrated with transport simulators, there may even be an existing module for the 3D model you use? I have no experience using transport models and PhreeqcRM though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants