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

Non-equilibrium condensation modeling using UDS and UDms

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2018, 04:57
Default Non-equilibrium condensation modeling using UDS and UDms
  #1
Member
 
Join Date: Apr 2012
Location: Trivandrum
Posts: 37
Rep Power: 14
toolpost is on a distinguished road
I am trying to simulate non-equilibrium condensation of steam in nozzles using Fluent with a custom wet steam model(using UDS and UDMs). Its a two equation model, the same one which is already available with Wet-steam model of Fluent. The equations can be found in this article.

https://www.sciencedirect.com/scienc...59431117302983

So what I am doing is, solving two additional UDS equations along with NS equations with source terms modified for accounting the effects of condensation. The parameters are calculated using a DEFINE_ADJUST macro and saved in UDMs, while source terms are applied using DEFINE_SOURCE macros. I am using density based, unsteady, 2D, AUSM solver. I already finished making the UDF and setting up the case, but couldn't make things work in the way expected. The UDF is compiling and running at properly at the beginning, but not giving realistic/satisfactory results. Also, I couldnt really understand the idea of implementing the evaporation process.

What I am seeking is, anybody here have experience with non-equilibrium condensation modeling? I can understand that, apart from writing up all equations and doing calculations, there have to be some tweaks/constraints setup to avoid divergence and problems during the course of solution.

Could someone have some suggestions/advises/ideas on the procedure I should follow to make things work? If somebody is interested, I am ready to share the UDF here.

Thanks in advance,

Last edited by toolpost; September 26, 2018 at 21:00. Reason: typos
toolpost is offline   Reply With Quote

Old   October 20, 2020, 19:07
Default
  #2
New Member
 
Luz Marlen Ahumada Castro
Join Date: Dec 2019
Posts: 1
Rep Power: 0
lmahumada is on a distinguished road
Quote:
Originally Posted by toolpost View Post
I am trying to simulate non-equilibrium condensation of steam in nozzles using Fluent with a custom wet steam model(using UDS and UDMs). Its a two equation model, the same one which is already available with Wet-steam model of Fluent. The equations can be found in this article.

https://www.sciencedirect.com/scienc...59431117302983

So what I am doing is, solving two additional UDS equations along with NS equations with source terms modified for accounting the effects of condensation. The parameters are calculated using a DEFINE_ADJUST macro and saved in UDMs, while source terms are applied using DEFINE_SOURCE macros. I am using density based, unsteady, 2D, AUSM solver. I already finished making the UDF and setting up the case, but couldn't make things work in the way expected. The UDF is compiling and running at properly at the beginning, but not giving realistic/satisfactory results. Also, I couldnt really understand the idea of implementing the evaporation process.

What I am seeking is, anybody here have experience with non-equilibrium condensation modeling? I can understand that, apart from writing up all equations and doing calculations, there have to be some tweaks/constraints setup to avoid divergence and problems during the course of solution.

Could someone have some suggestions/advises/ideas on the procedure I should follow to make things work? If somebody is interested, I am ready to share the UDF here.

Thanks in advance,
Hi toolpost. I'm new in fluent and I try setting up a similar case to the one you mention in a vortex tube. could you share the udf files that you used in your model? . i saw your post on ansys forum too.

my mail: Luz.ahumada14@gmail.com

thanks a lot!!
lmahumada is offline   Reply With Quote

Old   June 14, 2022, 05:08
Thumbs up
  #3
New Member
 
weijiaLei
Join Date: Jun 2022
Posts: 2
Rep Power: 0
weijiaLei is on a distinguished road
Hi toolpost. Could you share the udf files that you used in your model? .

my mail: 1253226575@qq.com

thanks a lot!!
weijiaLei is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 14:08.