PhreeqcUsers Discussion Forum

Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Reactive transport modelling »
  • How to determine the corresponding relation between phreeqc cells and mesh nodes
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: How to determine the corresponding relation between phreeqc cells and mesh nodes  (Read 1739 times)

Yongqiang

  • Top Contributor
  • Posts: 116
How to determine the corresponding relation between phreeqc cells and mesh nodes
« on: 03/07/19 00:43 »
Hi everyone,

When we couple PHREEQC with a multiphase simulator, we can have n cells to represent the component at n mesh nodes of the multiphase simulator. So how to determine the mapping or projection relation between cells and nodes?

Best Regards,
Yongqiang
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4036
Re: How to determine the corresponding relation between phreeqc cells and mesh nodes
« Reply #1 on: 03/07/19 05:42 »
Usually, there is a natural numbering system for your flow and transport nodes, usually from 0 or 1 to n. If so, you can simply assign cells in PhreeqcRM with the same numbers.

In any case, assuming n nodes in the flow and transport simulator, PhreeqcRM will have a set of cells numbered from 0 to m, where m is less than or equal to n. You have to figure out how to assign concentrations calculated by the transport simulator at its nodes to cells of PhreeqcRM. You must develop an array with n concentrations of e elements that is submitted to to PhreeqcRM, which is mapped to the m cells of PhreeqcRM as you define with the method CreateMapping.
Logged

Yongqiang

  • Top Contributor
  • Posts: 116
Re: How to determine the corresponding relation between phreeqc cells and mesh nodes
« Reply #2 on: 03/07/19 06:01 »
Thank You, David!
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Reactive transport modelling »
  • How to determine the corresponding relation between phreeqc cells and mesh nodes
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2