CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Floatation point error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2023, 13:11
Default Floatation point error
  #1
New Member
 
Bhanu Swaroop Madiraju
Join Date: May 2023
Posts: 10
Rep Power: 2
Bhanu Swaroop is on a distinguished road
Hi,

I am trying to run a simulation for a centrifugal compressor with co2 (initial pressure of 65 bar and pressure ratio is 2). I am getting the finmes error, the solution is diverging. So I went through the steps mentioned in best practices guide. First I tried to get the initial condition using physical timescale and upwind condition for first order numerics. I tried a iterative process for the timescale from 1e-6 to 1e-9 but still faced the same issue. I tried using local timescale and then change to physical timescale once the solution is steadying but even that failed after a few iterations. The mesh quality is good. The boundary conditions are correct (I ran a similar compressor but for initial pressure of 33.7 bar and pressure ratio 2, the solution converged with the boundary setup). So could anyone help with the issue? (The gas is in vapor phase).
Bhanu Swaroop is offline   Reply With Quote

Old   July 15, 2023, 18:02
Default
  #2
Senior Member
 
Daniel
Join Date: Feb 2017
Location: Germany
Posts: 147
Rep Power: 9
zacko is on a distinguished road
If the inlet pressure is 65 bar the outlet pressure will be ~130 bar, which will bring the CO2 above its critical pressure, correct? Will the CO2 even be compressed into the supercritical region? Do you use real gas?
zacko is offline   Reply With Quote

Old   July 16, 2023, 08:53
Default
  #3
New Member
 
Bhanu Swaroop Madiraju
Join Date: May 2023
Posts: 10
Rep Power: 2
Bhanu Swaroop is on a distinguished road
Hi
Yeah I am using real gas conditions. Yeah it will compressed into the Supercritical region
Bhanu Swaroop is offline   Reply With Quote

Old   July 16, 2023, 20:26
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The first thing to do here is to do your simulation using a simpler material model, maybe ideal gas. If the simulation runs with an ideal gas model then you know the problem is the material model - that means you know what issue you need to address.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 16, 2023, 20:33
Default
  #5
New Member
 
Bhanu Swaroop Madiraju
Join Date: May 2023
Posts: 10
Rep Power: 2
Bhanu Swaroop is on a distinguished road
I do am facing a table out of bounds warning. I generated the material properties table using the RGP generator in the latest 2023r2 CFx version. Maybe I'll try running it with ideal gas and see if it runs properly. Also I used the method to generate the data for my other case that's running below the critical point, it converged fine after a while.
Bhanu Swaroop is offline   Reply With Quote

Old   July 17, 2023, 03:34
Default
  #6
New Member
 
Bhanu Swaroop Madiraju
Join Date: May 2023
Posts: 10
Rep Power: 2
Bhanu Swaroop is on a distinguished road
I tried with the ideal gas conditions, and the solution converged easily. So it's not an error with boundary conditions or meshing. Now I am gonna try it using regular EOS equations like redlich kwong and see if it works(even though they are not perfectly suitable for my condition they at least give solutions rather close to my condition). But I do have another question, is there any other way to generate the RGP file? (I do not have access to refrop).
Bhanu Swaroop 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
long error when using make-install SU2_AD. tomp1993 SU2 Installation 3 March 17, 2018 06:25
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


All times are GMT -4. The time now is 09:24.