/[ascend]/branches/jacob/models/johnpye/fprops/test/init_mix.c
ViewVC logotype

Log of /branches/jacob/models/johnpye/fprops/test/init_mix.c

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 3092)

Revision 2973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 18 22:23:04 2015 UTC (3 years, 9 months ago) by jacob
File length: 10622 byte(s)
Diff to previous 2970
testing routine to solve vapor-liquid equilibrium condition when defining mixtures; it's giving segmentation faults right now.


Revision 2970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 18 17:52:43 2015 UTC (3 years, 9 months ago) by jacob
File length: 19158 byte(s)
Diff to previous 2956
last revision before testing VLE routines


Revision 2956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 11 16:32:35 2015 UTC (3 years, 9 months ago) by jacob
File length: 11962 byte(s)
Diff to previous 2951
convert most solution-property functions to use the mixture structures MixtureSpec and MixtureState

test these mixture structures with ideal and Peng-Robinson models, as well as Helmholtz.  works.


Revision 2951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 10 05:04:42 2015 UTC (3 years, 9 months ago) by jacob
File length: 16168 byte(s)
Diff to previous 2950
two new root-finding algorithms in test file `init_mix.c'

the test file `gas_const_test.c' merely checks that all gas-constant 
values are consistent when converted from J/kg/K to J/kmol/K.


Revision 2950 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 9 03:57:18 2015 UTC (3 years, 9 months ago) by jacob
File length: 11429 byte(s)
Diff to previous 2948
add functions and macros for better display of results, in preparation for more challenging initial conditions and more robust root-finding algorithms.


Revision 2948 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 5 19:31:23 2015 UTC (3 years, 9 months ago) by jacob
File length: 7916 byte(s)
Diff to previous 2947
Corrected errors in how init_mix[1,2] and init_mixture.c/.h compiled under SCons, by shifting files init_mixture.c/.h to a dedicated `mixture' directory.

All `init_mix...' files in /fprops/test have been converted to use init_mixture.c to provide their core functionality.


Revision 2947 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 5 16:29:14 2015 UTC (3 years, 9 months ago) by jacob
File length: 4591 byte(s)
Copied from: branches/jacob/models/johnpye/fprops/test/jacob_mix2.c revision 2945
Diff to previous 2945
Renamed ideal-solution test files to follow more consistent naming convention

In the future, `init_mix' will be the test file used, and remembering history will be handled with revisions rather than by coping over to new files.  Of course, it is sometimes useful to have several versions simultaneously, to test them side-by-side.

Transferred functions used in `init_mix' to a dedicated file, and function prototypes to dedicated header file, to reduce clutter.


Revision 2945 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 5 00:50:34 2015 UTC (3 years, 9 months ago) by jacob
Original Path: branches/jacob/models/johnpye/fprops/test/jacob_mix2.c
File length: 21719 byte(s)
Diff to previous 2943
Commit (2) of June 4, with latest version of test file `jacob_mix2'

Added functions to guess initial densities for mixture components based 
on what region (super-critical, etc.) the components are in when at the 
given temperature and pressure.  Also added interrupt so that simulation 
may be terminated if one or more fluid's density has not been 
successfully found.


Revision 2943 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Jun 4 19:25:26 2015 UTC (3 years, 9 months ago) by jacob
Original Path: branches/jacob/models/johnpye/fprops/test/jacob_mix2.c
File length: 17568 byte(s)
Commit (1) of June 4, adding new test file `jacob_mix2.c' (and its 
executable).

Aggregation of densities, enthalpies, internal energies was inconsistent 
between init_mix, jacob_mix, and jacob_mix2.  This was due to the mass 
fractions being different between init_mix and the two `jacob_...' 
files.  Fixed this in jacob_mix2; jacob_mix I'm not updating any more.

Also added error checking to ensure that mass fractions are consistent.  
Tested in jacob_mix2; appears to work.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22