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

Log of /branches/jacob/models/johnpye/fprops/asc_mixture.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 3079 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 20 02:17:28 2015 UTC (3 years, 3 months ago) by jacob
File length: 22071 byte(s)
Diff to previous 3069
Review format of comments used to create doxygen documentaion.  Begin ammending erroneous formatting in previously written doxygen comments in the mixture code.

Added further commentary and documentation to .a4c test files


Revision 3069 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 17 22:02:06 2015 UTC (3 years, 3 months ago) by jacob
File length: 21998 byte(s)
Diff to previous 3064
Added header file for asc_mixture library, and more test files, to version control; removed mixtures.a4c from version control (use mixtures.a4l instead).

Completed functions to find mixture state from pressure and enthalpy; these are giving problematic results.  Root-finding algorithms do not always return a meaningful result, and multiple temperatures seem to satisfy the conditions (indicating enthalpy and pressure are not enough to uniquely set the state).


Revision 3064 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 17 06:38:10 2015 UTC (3 years, 3 months ago) by jacob
File length: 20016 byte(s)
Diff to previous 3062
Added further tests of API, in files named beginning with 'jacob_mix_'

Added functions to find mixture state from pressure and enthalpy, rather than temperature and pressure.


Revision 3062 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 14 00:03:58 2015 UTC (3 years, 3 months ago) by jacob
File length: 24111 byte(s)
Diff to previous 3061
Extended dew and bubble-point functions further to check that mixture is not below triple-point conditions (temperature or pressure).

Corrected dew-temperature and bubble-temperature functions to work correctly (at first, these functions tended to wander into the critical region and fail).

Added component-specific property functions in API.


Revision 3061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 13 15:01:49 2015 UTC (3 years, 3 months ago) by jacob
File length: 22575 byte(s)
Diff to previous 3058
Renamed .a4c test files beginning with 'jacob_mix_', and gave more informative names

Extended dew and bubble-point functions (finding pressure or temperature) which check that mixture is not in the critical region.  Added dew and bubble-point functions to API, with proper checks on region.


Revision 3058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 11 03:51:54 2015 UTC (3 years, 3 months ago) by jacob
File length: 19463 byte(s)
Diff to previous 3053
Added bubble and dew-point functions to the API; these functions need to be revised to handle gracefully the situation where no vapor-liquid equilibrium exists

Extended 'mixture.a4l' library to provide more stable types

Created new .a4c test files with names beginning with 'jacob_mixture_'


Revision 3053 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 8 04:33:29 2015 UTC (3 years, 3 months ago) by jacob
File length: 17326 byte(s)
Diff to previous 3050
Tested that library functions return sensible results

Extended mixture.a4l library file which provides complementary types in ASCEND (models, atoms, etc.) to use with the API to the .c mixture functions.


Revision 3050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 7 02:16:44 2015 UTC (3 years, 3 months ago) by jacob
File length: 15580 byte(s)
Diff to previous 3049
Added file for mixture-property functions, and .c file with functions for declaring structures

Revision 3049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 7 00:54:02 2015 UTC (3 years, 3 months ago) by jacob
File length: 15568 byte(s)
Diff to previous 3040
Wrote new (phase-handling) property functions in 'mixture_properties.c'; tested & compared to older (one-phase) preliminary forms of property functions from 'init_mixfuncs.c'.

Tested property functions as created by macro(s) in 'mixture_properties.c' (mathematics are the same for many properties, but I wanted to check that ), for several conditions.

Added property functions to library to find density, internal energy, enthalpy for the whole mixture and mixture phases.


Revision 3040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 3 16:55:04 2015 UTC (3 years, 3 months ago) by jacob
File length: 10723 byte(s)
Diff to previous 3037
Rewriting mixture property functions to use newer input types that can represent phases accurately, and preliminary testing prior to importing into ASCEND through the library file.

Revised library file 'asc_mixture.c', so now input data passed from ASCEND to the library code is correctly unpacked.


Revision 3037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 30 15:13:01 2015 UTC (3 years, 3 months ago) by jacob
File length: 10007 byte(s)
Diff to previous 3034
Corrected invalid types being used in library file that implements the mixture/ideal solution API

Added documentation for generic functions


Revision 3034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 29 16:56:09 2015 UTC (3 years, 3 months ago) by jacob
File length: 9226 byte(s)
Copied from: branches/jacob/models/johnpye/fprops/mixtures/asc_idealsolution.c revision 2988
Diff to previous 2988
Move mixture library file to be in the same folder as all the other FPROPS library files.

ASCEND is importing the final mixture library file fine, but seems to encounter segmentation faults when specifying mixture composition.

Also rearranged some of the generic and phase-equilibrium functions, for more logical organization.


Revision 2988 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 30 04:00:24 2015 UTC (3 years, 4 months ago) by jacob
Original Path: branches/jacob/models/johnpye/fprops/mixtures/asc_idealsolution.c
File length: 6928 byte(s)
Diff to previous 2980
expanded new library file to export mixture functions, and test .a4c file to check that the functions are exported correctly, and receive correct data.

minor changes to <ascend/compiler/instance_enum.h>, adding a few macro definitions of ASCEND data types for library file to be able to mention by name.


Revision 2980 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 26 04:35:50 2015 UTC (3 years, 4 months ago) by jacob
Original Path: branches/jacob/models/johnpye/fprops/mixtures/asc_idealsolution.c
File length: 7248 byte(s)
transferring mixture (ideal-solution) functions to other files for easier maintenance.

wrote preliminary file to export mixture functions for use in ASCEND models


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