Jump to content
Geochemist's Workbench Support Forum

Erik S. Friis

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Erik S. Friis

  1. Here's an example of how we reduce the input species to basis species and prorate to form the basis:

    tdat←'c:\Program Files (x86)\Gwb\Gtdata\thermo_coldchem.tdat'
          gwbLoadTdat tdat
    94 1 1 1 1 1 1 gwbAllocToBasis 'H2O' 'Ca++' 'HCl' 'K+' 'K2O' 'Na+' 'SO4--'
     H2O   94.191244070000
     Ca++   1.000000000000
     H+     0.006246751707
     Cl-    0.972351747200
     K+     1.830157433000
     Na+    1.000000000000
     SO4--  1.000000000000
     

    I suppose these concentrations would all be considered "bulk" as we are doing the calculations to determine the total concentration of each basis species. We are doing this b/c HCl and K2O are non-basis species in the thermo_coldchem database. I'm not sure if there's another (or simpler) way to do this.

  2. Well what I mean by breaking down each input species is let's say the inputs to one of our unit ops consists of two species (an oxide and a mineral) and a given quantity of water. In order to specify the basis in mg/Kg we know the mg/Kg of each species and the amount of water but need to specify the basis in terms of mg/Kg of the basis species that the oxide and mineral are composed of, no? Since we know the mole weights of each basis species we can prorate the original densities to each basis species include H2O which is already a basis species and then sum? At that point we can specify the basis and run the go command to obtain our outputs. Is this not the correct approach? Thanks for any add'l insight.

×
×
  • Create New...