Jeff Henning
00f47a30b9
Update Mathcad wrapper to use MathcadAllocate() for returned strings. ( #1463 )
2017-03-23 20:39:43 -06:00
Jorrit Wronski
6924b8d6b7
Added the new docker image for manylinux wheels
2017-03-10 21:55:30 +01:00
Jorrit Wronski
7a1ee42b27
More testing of the plotting functions
2017-03-10 13:48:29 +01:00
Jorrit Wronski
22f6a3b81d
This seems to be the most sane handling of the guess values
2017-03-10 12:14:02 +01:00
Jorrit Wronski
686ca2ec00
The guesses do not help much here, unfortunately
2017-03-10 11:29:09 +01:00
Jorrit Wronski
3a33e0a048
An optimistic approach towards using the guess values
2017-03-10 11:19:41 +01:00
Jorrit Wronski
5b198f2e9e
Added more hacks to handle the critical point
2017-03-10 09:49:04 +01:00
Jorrit Wronski
bf73e006c0
Added the guesses to the line tracer
2017-03-10 09:29:18 +01:00
Jeff Henning
1dce5b9d14
Implemented Limited Error Handling in the Mathcad Wrapper ( #1428 )
...
* Added Error Handling for Mathad Wrapper
* Bump IF97 Revision
* Fix typo in Mathcad 15 example docs
2017-02-15 12:41:47 -07:00
Reza Afzalan
c14c6094a6
do not fail if .tables missed ( #1433 )
2017-02-14 11:39:23 -07:00
JonWel
78b953e64c
UNIFAQ -> UNIFAC, close #1421 ( #1423 )
...
* UNIFAQ -> UNIFAC, close #1421
* UNIFAQ -> UNIFAC, close #1421
Also file names
2017-02-10 00:13:04 -07:00
Reza Afzalan
b276f4192d
Update Julia wrapper, ref #1293 ( #1384 )
...
* #1293
* almost all coverd tested documented
* T->temp
* build tables with and
* temp->T
* exactly original names | replace with & same for
* add non-update methods to update functions, so we dont need !
* return when need
* remove unnecessary parameters
* sym<->symorigin
* add comment for #__precompile__()
2017-01-30 20:44:53 -07:00
Jeff Henning
7cc540fec6
IF97 Backend: Additional Input Pairs and Transport Properties ( #1397 )
...
* Input pairs (p,h), (p,s), and (h,s) in IF97 Backend
* Updated documentation to support IF97 Backend Enhancements
* Added support for IF97 Transport Functions
2017-01-23 19:03:50 -07:00
Ian Bell
3471e910d0
Expose get_fluid_constant to AbstractState and to python; closes #1394
2017-01-18 19:31:56 -07:00
Davide Carpi
b371b75aaf
SMath Wrapper refactoring ( #1365 )
...
* Full update to latest SS 0.98 APIs
- SS: switched to LowLevelEvaluationFast interface;
- SS: fixed compiler warnings for deprecated methods/properties;
- refactoring;
* refactoring
- removed not useful try/catch from unit manager;
- refactoring of not used methods;
* Fix for SMath bug SS-2414
* minor changes
* Added folder for Test files
* Added test file
IF97 test file from CoolProp/CoolProp issue #1249
* changed filename
* added script for batch testing
* Review of dynamic assistant tootltip
* New layout for README.md
* Updated README.md
* Updated README.md
* Fixed combined emphasis in README.md
2016-12-02 10:41:19 -05:00
Reza Afzalan
6048ad38b4
replace bytestring (deprecated) with unsafe_string ( #1351 )
...
* replace bytestring (deprecated) with unsafe_string
* backward compatibility of unsafe_string
2016-11-29 18:03:58 -05:00
Ian Bell
85e8be705c
Implement set_binary_interaction_string for REFPROP backend to allow for setting departure function ( #1358 )
2016-11-29 17:58:14 -05:00
Jorrit Wronski
0dac175dae
one more update of the manylinux builders to handle #1324
2016-11-18 16:57:23 +01:00
Jeff Henning
5f5ab4f866
Added PQ and QT Input Pairs to provide Saturation Values to IF97 Backend ( #1323 )
...
* Added PQ and QT Input Pairs to provide Saturation Values
* Removed semicolon from macro #undef NOMINMAX line 10 in CoolPropMathcad.cpp
* Fixed some old tabification that crept back in.
* Fixed calling order to enable output of Molar quantities
* Rearranged Logic so Sat. vapor & Sat. liquid are iphase_two_phase.
2016-11-08 08:05:36 -07:00
Jorrit Wronski
3905f380e0
Moved the MSVC handling to functions and changed the default for static libraries to dynamic linking, see #1316
2016-11-08 11:01:01 +01:00
Ian Bell
71dc450e10
Fix python windows builds; closes #1319
2016-11-06 12:38:52 -07:00
JonWel
7fa0c33113
Bigger buffer size for Julia wrapper ( #1322 )
...
As discussed in #1293 , we need something at least of size 14 301, so 20 000 should do the trick for now.
2016-11-05 13:34:26 -06:00
Ian Bell
b7aa899f1a
Fix that get_config_string and get_config_double returns nothing in python; closes #1307
2016-10-31 20:23:54 -06:00
JonWel
bc57d1401c
Export cubic's alpha functions ( #1302 )
...
* Export setting of cubic alpha function
2016-10-31 08:27:55 -06:00
Ian Bell
4895d593f2
Fix spinodal functions
2016-10-23 22:08:06 -06:00
Ian Bell
42e74fab5d
Remove void in build_spinodal definition
2016-10-23 20:42:34 -06:00
Ian Bell
bab5dc6f91
Fix fortran binding functions (needed VALUE in two places)
2016-10-23 18:11:28 -06:00
Ian Bell
8d6835ea30
Remove sheets from xlam to perhaps fix link errors on OSX
2016-10-23 17:12:45 -06:00
Ian Bell
70975e9706
Fix bug in VBA for mac and add 32-bit excel prototypes on mac
2016-10-23 12:48:03 -06:00
Ian Bell
0ec95177f1
Add ability to set ALTERNATIVE_REFPROP_PATH and read environment variables
...
The environment variable COOLPROP_REFPROP_PATH can be set to indicate to CoolProp what path should be used
Closes #1235
2016-10-23 12:37:52 -06:00
Ian Bell
6285e7c137
Add PtrSafe to all functions in VBA
2016-10-23 12:37:52 -06:00
Ian Bell
365bcb7e18
Update pybind11 wrapper code and build files
2016-10-22 17:22:17 -06:00
Ian Bell
49c6932fda
Add preprocessor macro around pybind11 module instantiation to protect it
2016-10-21 18:51:42 -06:00
Ian Bell
94242e224b
Add a pybind11 wrapper interface file for low-level interface
2016-10-21 18:46:59 -06:00
Ian Bell
6818e91dff
Try to update FORTRAN examples - something funny going on
2016-10-20 08:47:33 -06:00
Jorrit Wronski
13625dc040
Merge branch 'integrate_excel_installer'
2016-10-18 17:16:41 +02:00
Jorrit Wronski
930debd741
Added some docs for #1237 and removed a duplicate rst for Excel
2016-10-14 15:07:28 +02:00
Ian Bell
7893a7f7d9
Make spinodal accessible to python
...
See plot:
```
import CoolProp, numpy as np, matplotlib.pyplot as plt
CP = CoolProp.CoolProp
AS = CP.AbstractState('HEOS','Methane&Ethane')
AS.set_mole_fractions([0.5,0.5])
# The spinodal
AS.build_spinodal()
sp = AS.get_spinodal_data()
plt.plot(sp.tau, sp.delta, label='spinodal')
# The phase envelope
AS.build_phase_envelope("none")
pe = AS.get_phase_envelope_data()
plt.plot(AS.T_reducing()/np.array(pe.T), np.array(pe.rhomolar_vap)/AS.rhomolar_reducing(), label='phase envelope')
plt.show()
```
2016-10-13 20:48:10 -06:00
Jorrit Wronski
1ca6bc57e1
Removed the double compilation of the cdecl dll, make Excel use the standard dlls, added the vba code to source control
2016-10-13 18:46:49 +02:00
Ian Bell
fd1fe626b2
Merge branch 'master' of https://github.com/CoolProp/coolprop
2016-09-30 00:42:24 -06:00
Ian Bell
f0b350e81b
Add -fpermissive flag to VxWorks build
2016-09-30 00:37:19 -06:00
Ian Bell
7d5ad27f1b
Couple of small typos in VxWorks docs
2016-09-29 22:23:50 -06:00
Ian Bell
138911523b
Really turn off cppformat for VxWorks
2016-09-29 22:05:27 -06:00
Ian Bell
746e9bb730
Updating build system for vxWorks
2016-09-29 21:39:39 -06:00
Jorrit Wronski
3a72d8cf02
Might have fixed the CMake issues in #1247
2016-09-30 00:16:48 +02:00
Jorrit Wronski
f31e0a302d
Removed the absolute path from the Excel example file
2016-09-23 10:30:41 +02:00
Jorrit Wronski
62fbcd2373
Modified the Excel files to match the new library names and included a new CMake target in the builbot configuration
2016-09-18 21:39:03 +02:00
Ian Bell
5fc1d9f51a
Add the ability to set limits in Consistency plots ( #1234 )
2016-09-16 10:14:30 -06:00
Ian Bell
9a9e7ecc54
Fix path to which cppformat is copied
2016-08-30 18:38:55 -06:00
Ian Bell
fecff87a19
Another try at MathCAD
2016-08-28 16:44:46 -06:00