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

Define liquid state property using UDRGM(User Defined Real Gas Model)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2022, 03:06
Default Define liquid state property using UDRGM(User Defined Real Gas Model)
  #1
New Member
 
Join Date: Aug 2022
Posts: 9
Rep Power: 4
zeoffle is on a distinguished road
Hello


I'm trying to define liquid property to my simulation that changed temperature and pressure using UDRGM(User-Defined Real Gas Model) in FLUENT.

I read manual and made a code on C++. And code equipped well in FLUENT.

When I set vapor phase, FLUENT calculated vapor state property. But in liquid state, all residuals went divergence and didn't calculate anymore.

In first time, I thought that I typed wrong code, but there were no significance error in code.

Also, I thought that calculation equations had some problem, but in MATLAB, it could calculate property in liquid state.

And someone told me that difficulties in code could affect divergence, So I changed the code simpler, but it didn't work.

At lastly, in FLUENT manual, it can set cell zone state. So, I set the cell zone vapor to liquid. Also, it didn't work.

I searched many times in CFD online and another CFD community, there were no appropriate information related my problem.
And most of the user used UDRGM to define vapor state properties.

I think that I tried all that I have to do it...

So, If someone who tried or defined liquid phase using UDRGM, I want to know how did it.


Thank you
zeoffle is offline   Reply With Quote

Old   November 3, 2022, 00:06
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
did you check could you simulate your case file with ideal gas?

show your simplified code
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
liquid property, property udf, 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
Problem with using User Define Real Gas Model (UDRGM) Amirreza_pro Fluent UDF and Scheme Programming 6 July 1, 2021 22:57
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
Laminar Kinetic Energy Model (Walters 2008) logoswort Fluent UDF and Scheme Programming 2 May 19, 2017 20:41
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02


All times are GMT -4. The time now is 11:36.