CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDRGM multi-phase condensation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2019, 08:46
Default UDRGM multi-phase condensation
  #1
New Member
 
Piotr
Join Date: Oct 2019
Posts: 5
Rep Power: 7
Piotr95 is on a distinguished road
Hello,

I have an issue with the simulation of water condensation in humid air flow. I did the single-fluid / single-phase model, where the liquid water and humid air are threaten as a mixture. The properties of the mixture such as the specific heat, gas constant etc. which depend on the pressure, temperature and relative humidity are defined by UDRGM. Values needed for their computations, such as humid density, are being calculated in second DEFINE_ADJUST UDF and are being transported to the UDRGM via UDMI. It works perfectly.

I'm facing some problems when switching to the multi-phase model. In the multi phase model the air and water vapor, are threaten as a mixture (humid air) and the water droplets are dispersed phase. The water properties are defined via Fluent GUI, as the density, specific heat etc. changes due to pressure and others factors are irrelevant. The UDRGM is hooked only for the humid air. Unfortunately, the boundary gets crazy, after turning the calculations on, the temperature at the inlet is 1K. The solver gives an error, that Cp on the inlet is equal to 0, although in the results section, it gives proper values of CP. The problem appears also if the Cp is constant, written in UDRGM.

PS. if it is relevant, i have some UDS in both models, to track other conservative variables.

Do anybody have any idea how to solve it?

Regards
Piotr

Last edited by Piotr95; December 12, 2019 at 04:38.
Piotr95 is offline   Reply With Quote

Reply

Tags
udrgm


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF to access quantity of heat absorbed by one phase in Multi phase reaction process Yuting FLUENT 0 March 15, 2017 23:52
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 17:12
[swak4Foam] mass conservation of solid phase violated when using groovyBC with twoPhaseEulerFoam xpqiu OpenFOAM Community Contributions 8 June 17, 2015 03:08
multi phase flow with chemical reactions in one phase Habibfateh OpenFOAM Programming & Development 0 February 10, 2014 08:33
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


All times are GMT -4. The time now is 15:57.