-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of Peng-Robinson EoS (Revised) #1047
Commits on Jul 21, 2021
-
Implementation of Peng-Robinson equation of state
Co-authored-by: Steven DeCaluwe <[email protected]> Co-authored-by: Ray Speth <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11d5382 - Browse repository at this point
Copy the full SHA 11d5382View commit details -
Abstracting thermo calcs from PengRobinson and RedlichKwong up to Mix…
…tureFugacityTP Co-authored-by: Ray Speth <[email protected]> Co-authored-by: Gandhali Kogekar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12590d5 - Browse repository at this point
Copy the full SHA 12590d5View commit details -
Abstracting cubic solver to MixtureFugacityTP thermo class.
Co-authored-by: Gandhali Kogekar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1929d1b - Browse repository at this point
Copy the full SHA 1929d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd24841 - Browse repository at this point
Copy the full SHA fd24841View commit details -
Adding ThermoFromYAML:PengRobinson_CO2 test
- Creates CO2-PR phase in test/data/thermo-models.yaml - Creates `PengRobinson_CO2` test in test/thermo/thermoFromYAML.cpp - Fixes minor capitalization typo in PengRobinson:calculateAlpha
Configuration menu - View commit details
-
Copy full SHA for bd1954f - Browse repository at this point
Copy the full SHA bd1954fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7491a2b - Browse repository at this point
Copy the full SHA 7491a2bView commit details -
Testing critical property lookup for PengRobinson.
Deletes CO2 interaction parameters from co2_PR_example.yaml, such that phase construction in PengRobinson_Test.cpp covers the cirtical property lookup capabilities in PengRobinson::getCoeff. Note that this required changing some of the regression test expected values, as the critical properties don't correspond perfectly with the interaction parameters previously stored in co2_PR_exmple.yaml.
Configuration menu - View commit details
-
Copy full SHA for 8ec7326 - Browse repository at this point
Copy the full SHA 8ec7326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e621c - Browse repository at this point
Copy the full SHA 83e621cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d3cf7 - Browse repository at this point
Copy the full SHA 04d3cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 836a2bf - Browse repository at this point
Copy the full SHA 836a2bfView commit details -
Adding following tests to PengRobinson_Test.cpp to verify that
1. g = h- T*s 2. cp = dH/dT at constant pressure using Finite difference method 3. molar enthalpy = \sum x_k h_k
Configuration menu - View commit details
-
Copy full SHA for 34c9b50 - Browse repository at this point
Copy the full SHA 34c9b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dbe95b - Browse repository at this point
Copy the full SHA 3dbe95bView commit details -
Cleaning up thermo/PengRobinson
-Temperature input not needed in PengRobinson:calculateAB -Unused variable RT in PengRobinson_Test/totalEnthalpy -Replacing duplicative code with call to calcualteAB
Configuration menu - View commit details
-
Copy full SHA for fcd49cf - Browse repository at this point
Copy the full SHA fcd49cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5363a4e - Browse repository at this point
Copy the full SHA 5363a4eView commit details -
Removing dependancy of EoS specific omega_a, omega_b parameters from …
…solveCubic function in MixtureFugacityTP class.
Configuration menu - View commit details
-
Copy full SHA for 308920a - Browse repository at this point
Copy the full SHA 308920aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3d714c - Browse repository at this point
Copy the full SHA e3d714cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 848bd11 - Browse repository at this point
Copy the full SHA 848bd11View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ff83a - Browse repository at this point
Copy the full SHA a3ff83aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c03b352 - Browse repository at this point
Copy the full SHA c03b352View commit details -
Update documentation of PengRobinson/MixtureFugacityTP
Co-authored-by: Ray Speth <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b650c41 - Browse repository at this point
Copy the full SHA b650c41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e02cf4 - Browse repository at this point
Copy the full SHA 1e02cf4View commit details -
Modified Peng-Robinson to test file to read phase from
thermo-models.yaml
Configuration menu - View commit details
-
Copy full SHA for a058c48 - Browse repository at this point
Copy the full SHA a058c48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e8a89f - Browse repository at this point
Copy the full SHA 2e8a89fView commit details -
Changed the function name 'pressureDerivatives' to
'calculatePressureDerivatives'
Configuration menu - View commit details
-
Copy full SHA for 7a26c3b - Browse repository at this point
Copy the full SHA 7a26c3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f67b9e - Browse repository at this point
Copy the full SHA 2f67b9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b67c1 - Browse repository at this point
Copy the full SHA a5b67c1View commit details -
Cleaning up functions to calculate critical properties in Redlich-Kwo…
…ng and Peng-Robinson classes 1. Declared calcCriticalConditions() as virtual in MixtureFugacityTP class. 2. Moved all functions to calculate critical properties to the parent (MixtureFugacityTP) class. Co-authored-by: Ray Speth <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b98a24 - Browse repository at this point
Copy the full SHA 6b98a24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 483dd6d - Browse repository at this point
Copy the full SHA 483dd6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 545caa6 - Browse repository at this point
Copy the full SHA 545caa6View commit details -
Reading w_ac (acentric factor) with a more useful message that will
point to the source of the error accurately
Configuration menu - View commit details
-
Copy full SHA for 37700cb - Browse repository at this point
Copy the full SHA 37700cbView commit details -
Removing redundant _updateStateThermo() call from thermodynamic
calculations and also rebasing with cantera/main
Configuration menu - View commit details
-
Copy full SHA for e0673a3 - Browse repository at this point
Copy the full SHA e0673a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b19e15 - Browse repository at this point
Copy the full SHA 5b19e15View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff320f8 - Browse repository at this point
Copy the full SHA ff320f8View commit details -
Wrapping up some error messages to keep the line length below 80
characters Co-authored-by: Bryan W. Weber <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e20ba42 - Browse repository at this point
Copy the full SHA e20ba42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61cdb7e - Browse repository at this point
Copy the full SHA 61cdb7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 915fdf6 - Browse repository at this point
Copy the full SHA 915fdf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 940e0be - Browse repository at this point
Copy the full SHA 940e0beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 105a5a0 - Browse repository at this point
Copy the full SHA 105a5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b8d47 - Browse repository at this point
Copy the full SHA 68b8d47View commit details -
Renaming _curr vector variables
Co-authored-by: Bryan W. Weber <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 577da33 - Browse repository at this point
Copy the full SHA 577da33View commit details -
Configuration menu - View commit details
-
Copy full SHA for da66a8e - Browse repository at this point
Copy the full SHA da66a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 879ec59 - Browse repository at this point
Copy the full SHA 879ec59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f9e186 - Browse repository at this point
Copy the full SHA 0f9e186View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92654c7 - Browse repository at this point
Copy the full SHA 92654c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd9b12 - Browse repository at this point
Copy the full SHA 3cd9b12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90cda14 - Browse repository at this point
Copy the full SHA 90cda14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 742a776 - Browse repository at this point
Copy the full SHA 742a776View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7d705 - Browse repository at this point
Copy the full SHA 9c7d705View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7236fc7 - Browse repository at this point
Copy the full SHA 7236fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e668cf0 - Browse repository at this point
Copy the full SHA e668cf0View commit details -
Add P-R tests for partial molar properties
Test that mole-fraction weighted sum of partial molar properties equals the total, and that the identites h_k = u_k - P * v_k and g_k = h_k - T * s_k are satisfied.
Configuration menu - View commit details
-
Copy full SHA for 6605e14 - Browse repository at this point
Copy the full SHA 6605e14View commit details -
Make Peng-Robinson cp validation test more robust
Test using a mixture with multiple components, and at a pressure where some non-ideal effects will be present.
Configuration menu - View commit details
-
Copy full SHA for 21df76e - Browse repository at this point
Copy the full SHA 21df76eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c7e2b6 - Browse repository at this point
Copy the full SHA 6c7e2b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 049ac0e - Browse repository at this point
Copy the full SHA 049ac0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b83ab23 - Browse repository at this point
Copy the full SHA b83ab23View commit details -
Fixing error in tests 'activityCoeffs' and 'chempotentials_RT'
The temperatures used to calculate RT were inconsistent with the input temperature values.
Configuration menu - View commit details
-
Copy full SHA for 140e898 - Browse repository at this point
Copy the full SHA 140e898View commit details -
Adding an error condition in 'getCoeff' function when the given species
is not present in the database.
Configuration menu - View commit details
-
Copy full SHA for f9c28ca - Browse repository at this point
Copy the full SHA f9c28caView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8e009c - Browse repository at this point
Copy the full SHA b8e009cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6af3c3f - Browse repository at this point
Copy the full SHA 6af3c3fView commit details -
Simplifying the partial molar entropy calculation. The partial
molar entropies are now evaluated using the equation: hk - t*sk = gk. Also fixed an error in d2aAlpha_DT2 calculation
Configuration menu - View commit details
-
Copy full SHA for 9a250e4 - Browse repository at this point
Copy the full SHA 9a250e4View commit details -
Simplifying d(aAlpha)/dT equation
Co-authored-by: Steven C. DeCaluwe <[email protected]> Simplifying d(aAlpha)/dT function for a multicomponent mixture Co-authored-by: Steven C. DeCaluwe <[email protected]> Using mixing coefficients a_ij instead of sqrt(a_ii*a_jj) Co-authored-by: Steven C. DeCaluwe <[email protected]> Simplifying d2(aAlpha)/dT2 function Co-authored-by: Steven C. DeCaluwe <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ecf4555 - Browse repository at this point
Copy the full SHA ecf4555View commit details -
Cleaning up redundant lines/variables, also renamed 'den' to 'denom' to
avoid confusion with density
Configuration menu - View commit details
-
Copy full SHA for c7cd768 - Browse repository at this point
Copy the full SHA c7cd768View commit details -
Fixing an error in the partialMolarEnthalpies() function. Previously,…
… the derivative term for aAlpha was missing in the calculation.
Configuration menu - View commit details
-
Copy full SHA for f5293a7 - Browse repository at this point
Copy the full SHA f5293a7View commit details -
Removing incorrect partialCp calculation (Currently, throws
NotImplemented error)
Configuration menu - View commit details
-
Copy full SHA for fe21bb3 - Browse repository at this point
Copy the full SHA fe21bb3View commit details -
Some formatting changes, also added a reference for the acentric factor
value for CO2 in 'critProperties.xml' file.
Configuration menu - View commit details
-
Copy full SHA for 24bb1f7 - Browse repository at this point
Copy the full SHA 24bb1f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c32fa84 - Browse repository at this point
Copy the full SHA c32fa84View commit details