[Fluent Inc. Logo] return to home search
next up previous contents index

23.13.1 Using User-Defined Thermodynamic Wet Steam Properties

FLUENT allows you to use your own property functions and data with the wet steam model. This is achieved with user-defined wet steam property functions (UDWSPF).

These user-defined functions are written in the C programming language and there is a certain programming format that must be used so that you can build a successful library that can be loaded into the FLUENT code.

The following is the procedure for using the user-defined wet steam property functions (UDWSPF):

1.   Define the wet steam equation of state and all related thermodynamic and transport property equations.

2.   Create a C source code file that conforms to the format defined in this section.

3.   Start FLUENT and set up your case file in the usual way.

4.   Turn on the wet steam model.

5.   Compile your UDWSPF C functions and build a shared library file using the text user interface .

define $\rightarrow$ models $\rightarrow$ multiphase $\rightarrow$

wet-steam $\rightarrow$ compile-user-defined-wetsteam-functions

6.   Load your newly created UDWSPF library using the text user interface .

define $\rightarrow$ models $\rightarrow$ multiphase $\rightarrow$

wet-steam $\rightarrow$ load-unload-user-defined-wetsteam-library

7.   Run your calculation.

figure   

Note that the UDWSPF can only be used when the wet steam model is activated. Therefore, the UDWSPF are available for use with the density-based solver only.


next up previous contents index Previous: 23.13 Setting Up the
Up: 23.13 Setting Up the
Next: 23.13.2 Writing the User-Defined
© Fluent Inc. 2006-09-20