iRASPA Community

RASPA => Input files and parameters => Topic started by: ae213 on October 01, 2018, 05:22:34 PM

Title: chemical potential in input file
Post by: ae213 on October 01, 2018, 05:22:34 PM
Hello!

I have a few questions:
- is there any way to set up chemical potential in an input file instead of pressure?
- can I somehow set up some other EOS instead of Peng-Robinson?

Thank you.

Title: Re: chemical potential in input file
Post by: David Dubbeldam on October 01, 2018, 07:30:01 PM
No, but you can convert your 'chemical potential' to 'fugacity'.
Then, to use your own equation of state, simply input your computed 'fugacity coefficient'.
For example:
ExternalPressure 1e5
FugacityCoefficient 1.0
means the pressure is fugacity (because the fugacity coefficient is 1.0 and then pressure is equal to fugacity) and at 1 bar.
With your equation of state you can compute the fugacity coefficient.
Title: Re: chemical potential in input file
Post by: ae213 on October 01, 2018, 08:06:52 PM
Prof. Dubbeldam,

Thank you very much for the answer.