Jorrit Wronski
b9bd08bc93
Update Solvers.cpp
...
A tiny typo in the new solver
2015-04-25 10:31:48 +02:00
Ian Bell
bec1f60475
Typo in disabling of 4th derivatives of SAFT term
2015-04-24 23:37:55 -06:00
Ian Bell
6bceccf1d6
Skip tests on 4th order SAFT derivatives
2015-04-24 22:26:02 -06:00
Ian Bell
cab60b632b
Don't test Water or CO2 AT the critical point
2015-04-24 22:09:00 -06:00
Ian Bell
5d8c1fafe0
Limit critical region based on DELTA, not delta, in critical region
2015-04-24 22:02:50 -06:00
Ian Bell
7a72e68389
Significantly reduce the zone where D, T requires a call to saturation routines; helps #411
2015-04-24 21:21:19 -06:00
Ian Bell
5a4bf85432
Should be absolute value of error in comparison for backwards steps
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-04-24 19:32:55 -06:00
Ian Bell
7367e6a326
Implemented Halley's method for liquid states - works great; see #411
2015-04-24 19:24:22 -06:00
Ian Bell
6696e34c1d
Fixed pseudo-pures in the critical vicinity; closes #481
2015-04-24 18:54:56 -06:00
Ian Bell
de24996c92
Tightened up convergence criterion for saturation and added relaxation for water; closes #615
2015-04-24 18:00:08 -06:00
Ian Bell
d8a09a4fb4
Merge branch 'master' of https://github.com/CoolProp/CoolProp
2015-04-23 10:07:26 -06:00
Ian Bell
8f9817b1ae
Export up to 4th order derivatives of the residual Helmholtz energy term
2015-04-23 10:05:11 -06:00
Ian Bell
48c757e229
Implement the updated Generalized Exponential derivative term
2015-04-23 10:03:57 -06:00
Ian Bell
0658ec082d
Merge pull request #614 from postmath/typos-in-parameter-descriptions
...
Typos in parameter descriptions.
2015-04-22 21:49:19 -06:00
Erik Postma
678db27dc6
Typos in parameter descriptions.
2015-04-22 13:47:52 -04:00
Jorrit Wronski
601ee5a6bc
Added the DEF file to export the same symbols as cdecl and stdcall dll on Windows
2015-04-22 11:52:02 +02:00
Ian Bell
4697b33a6d
Throw error if Q out of range for first_two_phase_deriv_splined; closes #611
2015-04-21 19:24:08 -06:00
Ian Bell
86569f4be8
If fluid has no transport properties, still calculate saturation tables; closes #602
2015-04-20 21:31:38 -06:00
Jorrit Wronski
78b7a14585
Still playing with Python config, hopefully fixes an OSX bug (PhaseEnvelope import) as well.
2015-04-20 21:46:57 +02:00
Ian Bell
2acfa38744
Do not rebuild the coefficients every time - 5us/call with BICUBIC
2015-04-19 22:01:04 -06:00
Ian Bell
2056c1ee8c
tau and delta should be based on reducing temperature and density, not critical values
...
Also fix definition of PHI0 in REFPROP wrapper
2015-04-19 21:12:58 -06:00
Ian Bell
260f4dfde0
Bicubic tables "working" for mixtures with REFPROP
...
Interpolated values are not quite correct, seems like a problem with PHIOdll in REFPROP
2015-04-19 19:30:13 -06:00
Ian Bell
b4d0420ef1
Building tables for mixtures working now with REFPROP.
2015-04-19 14:15:01 -06:00
Ian Bell
7fffb04413
Build phase envelopes for mixtures with tabular backends and copy data
2015-04-19 11:19:14 -06:00
Ian Bell
73c7fc6bad
Switch MATLAB+OSX to libstdc++; see #596
2015-04-17 17:25:52 -06:00
Ian Bell
1e50282c89
Fixed division by zero for NA terms away from critical point; closes #599
2015-04-17 17:21:45 -06:00
Ian Bell
4ddd0b93b2
Commenting out Aly-Lee for now (no longer used, terms are converted to generalized Planck-Einstein)
2015-04-16 20:59:03 -06:00
Ian Bell
3dbe3cb291
Finished 4th derivatives of non-analytic term
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-04-16 20:34:17 -06:00
Ian Bell
9b8288e8dc
Implemented d4DELTAbi_dDelta_dTau3 for NA
2015-04-16 18:21:29 -06:00
Ian Bell
6ef4b6bda2
Fixed PlanckEinstein through 4th order
2015-04-15 22:35:07 -06:00
Ian Bell
011bac075b
Almost done with 4th derivatives, just PlanckEinstein, SAFT, and a bit of NA remain
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-04-15 01:55:39 -06:00
Ian Bell
d818dc6006
Progress on 4th derivatives of non-analytic term (though not correct yet); see #549
2015-04-13 23:44:31 -06:00
Ian Bell
eede3266ca
"formula" is actually an output in get_fluid_param_string now
2015-04-10 20:55:00 -06:00
Ian Bell
295f9a2b3f
Fixed #586
2015-04-10 20:52:20 -06:00
Ian Bell
1e5e465fa4
Clear AbstractState classes for HAPropsSI at every call; closes #585
...
Signed-off-by: Ian Bell <ian.h.bell@gmail.com >
2015-04-10 20:27:59 -06:00
Ian Bell
e4b451276f
Added chemical formulas for nearly all fluids; can be retrieved with get_fluid_param_string(self.name, "formula"); closes #564
2015-04-10 20:11:03 -06:00
Ian Bell
ed2aff7707
Phase envelope construction works for pure and pseudo-pure fluids; closes #575
2015-04-09 22:15:10 -06:00
Ian Bell
129dc5fc05
format fractions to string properly; closes #584
2015-04-09 20:13:56 -06:00
Ian Bell
219e0f031e
Do not load the tables every time if they can be loaded from file
2015-04-06 23:20:43 -06:00
Ian Bell
86ff2ce973
Fixed bugs with Bicubic and TTSE backends (load once, and at instantiation if possible)
2015-04-06 23:12:14 -06:00
Ian Bell
c2318f0f99
Fixed some bugs with friction theory implementation when expanded to Methane and Pentane
2015-04-05 21:39:26 -06:00
Ian Bell
fe631f575a
Revert one of the IF97 updates
2015-04-04 12:14:57 -06:00
Ian Bell
daa6138104
Increase robustness of HAPropsSI when W is provided; closes #548
2015-04-04 00:09:18 -06:00
Ian Bell
a340663025
Two more psat(Tsat) or Tsat(psat) for humid air
2015-04-03 23:15:16 -06:00
Ian Bell
0bfef6f0f8
Replaced all psat(Tsat) and Tsat(psat) calls using IF97
2015-04-03 23:11:21 -06:00
Ian Bell
e92f538a1e
Significant improvement in the non-crashing of phase envelope construction
2015-04-03 22:32:53 -06:00
Ian Bell
3e456f8cbc
Change the maximum pressure for pseudo-pures; see #481
2015-04-03 22:11:12 -06:00
Ian Bell
d0814665e7
Some progress towards #556
...
* Use mole fractions in the fluid name for the tables
* I think we need to use phase envelopes though, and perhaps the low-level tables need to actually be a phase envelope structure
2015-04-03 22:10:33 -06:00
Ian Bell
7b054a2a0e
Implemented setting of reference state for REFPROP pure fluids; closes #568
...
Also fixed LIMITS function call for Ttriple
2015-04-03 21:08:36 -06:00
Ian Bell
1b7973c6d4
Fixed bug with MATLAB swig wrapper; closes #573
2015-04-03 19:20:24 -06:00