/[ascend]/trunk/models/johnpye/fprops/asc_heatex_pinch.c
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/asc_heatex_pinch.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2662 by jpye, Wed Jan 16 02:08:20 2013 UTC revision 2663 by jpye, Fri Jan 18 01:06:06 2013 UTC
# Line 116  ASC_EXPORT int heatex_pinch_register(){ Line 116  ASC_EXPORT int heatex_pinch_register(){
116  /**  /**
117     'heatex_prepare' just gets the stream details and the number of slices for     'heatex_prepare' just gets the stream details and the number of slices for
118      internal calculation, and checks that the stream names are valid in FPROPS.      internal calculation, and checks that the stream names are valid in FPROPS.
119    
120        TODO FIXME allow general support for specification of components, incl type,source.
121  */  */
122  int heatex_prepare(struct BBoxInterp *bbox,  int heatex_prepare(struct BBoxInterp *bbox,
123         struct Instance *data,         struct Instance *data,
# Line 167  int heatex_prepare(struct BBoxInterp *bb Line 169  int heatex_prepare(struct BBoxInterp *bb
169              goto fail;              goto fail;
170          }          }
171    
172          hxd->comp[i] = fprops_fluid(comp[i], NULL);          hxd->comp[i] = fprops_fluid(comp[i], NULL,NULL);
173          if(hxd->comp[i] == NULL){          if(hxd->comp[i] == NULL){
174              ERROR_REPORTER_HERE(ASC_USER_ERROR,"Heat exchanger %s name '%s' not recognised. Check list of supported species.",SCP(heatex_symbols[i]),comp[i]);              ERROR_REPORTER_HERE(ASC_USER_ERROR,"Heat exchanger %s name '%s' not recognised. Check list of supported species.",SCP(heatex_symbols[i]),comp[i]);
175              goto fail;              goto fail;

Legend:
Removed from v.2662  
changed lines
  Added in v.2663

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