CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Can FLUENT model flashing liquids? (http://www.cfd-online.com/Forums/fluent/38907-can-fluent-model-flashing-liquids.html)

SWK December 12, 2005 12:55

Can FLUENT model flashing liquids?
 
hi,

I want to model flashing liquid inside a control valve. For FLUENT 6.2, i know that there is two models available for modelling mass transfer which is the cavitation model and the unidirectional mass tranfer model. At first i thought i can do it with cavitation model but it seems that the pressure profile is not really correct as the outlet pressure cannot go below the vapor pressure as it should be for flashing service.

Anyone out there can give me a help? Btw anyone know where to download Fluent 6.2 User Guide?

Thank you in advance.

Regards,

SWK

Alec Eiffel December 12, 2005 14:14

Re: Can FLUENT model flashing liquids?
 
hi

Our research group developed a flashing flow model using UDFs and UDS equations for FLUENT. Unfortunately its under a confidentiality agreement so cant share the code. You will need to write your own code for FLUENT to model flashing liquid as FLUENTs cavitation model is not suitable as you have said.

best of luck!

SWK December 12, 2005 20:24

Re: Can FLUENT model flashing liquids?
 
Thank you Alec.

I try to use the UDF but when i try to interpreted it, it show parse error. Anything i can do for this in order to proceed? Btw when it show line 1: parse error, from which line we start to count from the code? start from DEFINE ...?

Regards,

SWK

Alec Eiffel December 13, 2005 12:57

Re: Can FLUENT model flashing liquids?
 
It counts from the very first line of the c file. Have you included the #include "udf.h" line at start of UDF?

SWK December 13, 2005 22:55

Re: Can FLUENT model flashing liquids?
 
yup... i have that line. you mean start to count from include udf.h?


All times are GMT -4. The time now is 05:27.