Skip to content

Electrolytes and NeqSim

Even Solbraa edited this page Dec 16, 2021 · 4 revisions

An example of a celectrolyte calculation in NeqSim is given in this file.

An electrolyte model is selected:

SystemInterface testSystem = new SystemElectrolyteCPAstatoil(273.15 + 60, 10.0);

Ions such as Na+, Ca++, Cl-, CO3-- can be added to the fluid.

To check for chemical reaction we call the method:

testSystem.chemicalReactionInit();

NeqSim will now search for chemical reactions, and add reaction products to the fluid.

Clone this wiki locally