Skip to content

Undigon/thermodynamic-solubility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

thermodynamic-solubility

A software implementation of a couple of my easily iterable solubility equations.

Compiling

On GNU/Linux

You probably have the GNU C Compiler at your disposal. Open a terminal, navigate to the source folder and execute

gcc -o solubility solubilidad_noionc.c -lm

from where the source code resides.

On Microsoft Windows

I have used code::blocks some time ago to start learning C. Use what works best for you as it shouldn't matter at this level.

Mathematics

My first equation

It's very specific. It's to be used for water 1+1 cation-anion solutions and 1+1 cation-anion solute without the common ion effect. I made it for quick calculator usage requiring just the ans function. Using a fuller expression of the... median activity method was it called? might be more useful.

1+1 solution 1+1 solute

Where:

  • C stands for solution concentration in Molarity
  • Kps stands for thermodynamic solubility constant, not solubility constant (e.g: Kps = activity1 * activity2 = α1[c1] * α2*[c2])
Common-ion effect

This effect adds a little bit of complexity but comes from almost the same three equations. Its processed form is as follows:

This is an image. It's the resolvent for second grade equations where A equals 1 , B equals the solution concentration and C equals Kps divided by ten to the minus 1,02 multiplied by the square root of the addition between the previous solubility and the solution's concentration

About

Software implementation of a couple of my easily iterable solubility equations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages