Commit Graph

57 Commits

Author SHA1 Message Date
Ian Bell
cf3158fa06 Fixed bug in Aly-Lee extend function (skipped new elements)
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-03 15:36:59 +02:00
Ian Bell
44a97e9fcb Added docs for conversion of PlankEinstein and PlanckEinstein2 forms to generalized form
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-03 12:25:24 +02:00
Ian Bell
bff7e2afeb PlanckEinstein and PlanckEinstein2 classes replaced with PlanckEinsteinGeneralized. Docs to follow.
Aly-Lee not yet removed.  Next step.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-03 12:04:16 +02:00
Ian Bell
5accf645d9 IIR HS references set for real this time
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-02 13:21:06 +02:00
Ian Bell
409e2a2d1f Fluids using IIR reference state now all agree with REFPROP
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-02 13:03:17 +02:00
Ian Bell
61b2f28c0b Added mass-based high-level functions for h,s,u, etc.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-02 09:59:18 +02:00
Ian Bell
d537899bf0 Docs for factory function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-01 21:59:43 +02:00
Ian Bell
06066c52f0 Reference state can now be set to one of IIR, ASHRAE, NBP or RESET. Still need to allow for default reference state values to agree with REFPROP.
Docs updated.

Still need to implement setting state based on numerical values.

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-01 21:43:25 +02:00
Ian Bell
02f24549e4 Docs for get_fluid_param_string 2014-06-01 20:49:50 +02:00
Ian Bell
261ec01c71 Added REFPROP names for all fluids - renovated get_fluid_param_string 2014-06-01 20:20:33 +02:00
Ian Bell
3168f15efc Implemented dDelta3; test passes
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-01 19:46:30 +02:00
Ian Bell
873eab5baa Helmholtz derivative testing gives almost 100% coverage - missing HS offset term
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-30 17:13:23 +02:00
Ian Bell
c63b0e95e2 Implemented conductivity for CO2 from Scalabrin. All CO2 tests pass now.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-30 15:16:32 +02:00
Ian Bell
43255cfd5f Docs for abstract state
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-28 19:55:05 +02:00
Ian Bell
7b8606f323 No more deletes used anywhere in the codebase. Only std::tr1::shared_ptr are used. Should be portable solution.
All tests run, no memory leaks according to VLD

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-28 19:45:04 +02:00
Ian Bell
f93aa76210 ECS conductivity work - nearly works, just need to sort out the conformal state solver.
Goodbye to AbstractStateWrapper - can use std::tr1::shared_ptr, much nicer

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-28 19:15:34 +02:00
Ian Bell
118d7e9ad2 Set critical parameters in the CoolPropFluid class
Pre-processing of R124 viscosity is all working

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-28 14:34:48 +02:00
Ian Bell
3367b089fd First cut at adding code for ECS for viscosity. Starting with R124 2014-05-28 12:57:30 +02:00
Ian Bell
d741df4e2d All fluid specific transport property correlations implemented - a few tests fail still, need to figure out why
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-27 18:30:30 +02:00
Ian Bell
bb4035467e Added ammonia conductivity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-27 11:49:46 +02:00
Ian Bell
c2a1fa7317 R23 conductivity hardcoded
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-27 10:00:28 +02:00
Ian Bell
7a862f1a77 Air, nitrogen, oxygen and argon conductivity all are working
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-26 17:38:13 +02:00
Ian Bell
e143f05ee3 Ethane conductivity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-26 11:25:21 +02:00
Ian Bell
1281f52d8a Added R152A, R123, CO2 conductivity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-26 10:52:44 +02:00
Ian Bell
fee23cab03 Can return BibTeX keys for fluid as before. Testing needed for all exposed functions. Maybe wrap into getter/setter for fluid parameters.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-24 21:27:11 +02:00
Ian Bell
ab257ec8fe Error if surface tension curves not provided for the fluid; Added keys for EOS and CP0 for the fluid
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-24 21:21:02 +02:00
Ian Bell
ba8afe5e7f Added treatment of Olchowy-Sengers critical region term
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-24 13:30:49 +02:00
Ian Bell
3c8eb8746b Started with conductivity - implemented n-Hexane
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-23 17:13:54 +02:00
Ian Bell
dbac65da89 Added docs to AbstractState
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-23 17:13:07 +02:00
Ian Bell
bc5c75d06b Ethane viscosity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-22 23:36:10 +02:00
Ian Bell
f29c329b8c R23 viscosity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-22 23:13:56 +02:00
Ian Bell
c135ca319b SF6 and H2S viscosity - still problems with H2S
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-22 22:03:31 +02:00
Ian Bell
f4980afd1d Friction theory and SF6 viscosity and tests
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-22 16:17:47 +02:00
Ian Bell
f084b843a3 n-Hexane viscosity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-22 14:53:26 +02:00
Ian Bell
f35336b9e5 Hydrogen viscosity
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-05-22 14:37:54 +02:00
Ian Bell
891af4d131 Water viscosity and moved viscosity specific values into the viscosity entry in JSON files 2014-05-22 11:18:48 +02:00
Ian bell
fe04964cbc R123 viscosity and powers of T dilute term
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-21 20:23:44 +02:00
Ian bell
646aa2f18f Added viscosity for CO2
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-21 14:12:15 +02:00
Ian bell
650ae3c5ed Implemented viscosity correlations (and tests) for Decane,Dodecane,Nonane,Octane,R125
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-21 10:49:01 +02:00
Ian bell
a687d5b673 n-Propane viscosity fully loaded from JSON file - just need to implement the rest of fluids
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-21 00:51:59 +02:00
Ian bell
2d17cc53ab Renamed CoolPropDLL to CoolPropLib
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 22:55:41 +02:00
Ian bell
82a52554b9 Moved CoolPropFluid.h into include, removed CoolPropFluid.cpp. Started adding structure for viscosity and conductivity inputs.
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 16:25:09 +02:00
Ian bell
79ceae2f5c Diabled copy ctor for now for AbstractStateWrapper class until we figure out how to handle ownership and copying
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 13:57:28 +02:00
Ian bell
43904c3cac AbstractStateWrapper now checks whether AbstractState has been instantiated; HumidAirProp instantiation moved to function that is called by all exposed functions
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-20 12:52:26 +02:00
Ian bell
185a216364 Fixed PolyMath to correct name clash with DEBUG macro - should use get/set_debug_level instead
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
2014-05-19 22:36:06 +02:00
jowr
70fdcf2613 Added build directory to ignore, more on polymath and incompressibles 2014-05-18 17:23:15 +02:00
Ian Bell
8328c271c6 Fixed initialization bug, Octave example compiles and runs on linux now 2014-05-18 00:10:51 +02:00
jowr
8e71eebc3b Added catch tests for polymath 2014-05-16 11:45:25 +02:00
jowr
a884794457 Started on tests 2014-05-16 10:04:04 +02:00
jowr
d830f8a835 Fixed a path typo (Windows, Windows...) 2014-05-16 08:15:27 +02:00