-
-
August 29, 2018 at 11:37 am
nav.shirur
SubscriberHello there,
I know basics of Ansys Fluent and little bit of theory behind it.
I am simulating a simple compressible gas flow in ANSYS 19.1 Fluent. My problem details are as follows:
Inlet : 6 bar (gauge)
Outlet : 0 (Gauge)
Spalart Allmaras Model
Time step size : 1e-5
Max cell size : 0.7 mm
Inlet size: 2mm
Outlöet dia: 25mm
Convergence conditions; 1e-5
Explicit formulation
Hybrid Initialization
Second order Upwind
My questions here are:
1. Residuals after 1e-3 or 1e-4 follow horizontal line nad do not converge anymore. Should i consider solution at 1e-3 or 1e-4?
2. How to analyse residuals?
3. Should i trust solution at 1e-3 or 1e-4?
-
August 29, 2018 at 11:54 am
KR
AdministratorHello,
Couple of questions / suggestions:
- What is your set residual criteria? Also, how many iterations per time-step are you running? Are you converging every time-step?
- Please try and monitor other physical parameters such as velocity or mass flow rate at the outlet. Are you seeing a steady state behavior as a function of time? You can also plot this as a function of iteration and check if you are reaching a constant value (roughly) every single time-step.
- If you feel you are not getting the desired convergence you require, you might want to check your mesh quality. What is your min orthogonal quality and max skewness values?
- Please elaborate a little more on your model. Why are you using a pressure inlet boundary condition as opposed to mass flow rate inlet?
- You might also want to think about slowly ramping up your pressure in small increments. Since you are solving a transient problem, you might want to be careful. But perhaps, you might want to start at a lower inlet pressure and let your simulation run to a steady state. Then without re-initializing, you might want to increase your pressure to a slightly higher value and again let the simulation run to a steady state. You continue this process until you get to the pressure condition you want to investigate. This method is extremely useful for steady state simulations, but when employed to transient, it would stretch your overall simulation time.
I hope these points help.
Please let us know what you find.
Thank you.
Best Regards,
Karthik -
August 29, 2018 at 12:23 pm
nav.shirur
SubscriberWhat is your set residual criteria? Also, how many iterations per time-step are you running? Are you converging every time-step?
Ans: Residual is absolute 1e-5 for X, Y Z, Continuity and Energy. Initially i started with only one time step and 5000 iterations to know where solution would converge. Solution reaches 1e-4 at approximately 2000 iterations and they goes straight. In this case i do not understand if i have to belive results or not. Could u please let me know how to monitor physical property by plotting against iteration and how to judge conservation (mass and energy?)
If you feel you are not getting the desired convergence you require, you might want to check your mesh quality. What is your min orthogonal quality and max skewness values?
From theory i understood acceptable results would be 1e-5 residuals,but is there a way to decide what should be residual value for a specific problem?Mesh quality is as follows,
Max Skewness: 0.797
Orthogonal Quality minimum: 0.2022
Max Aspect Ratio: 9.57
Cell size: 0.7mm
Please elaborate a little more on your model. Why are you using a pressure inlet boundary condition as opposed to mass flow rate inlet?
Since it is a problem of flow from high pressure container, i used pressure inlet and pressure outlet with compressible flow. Moreover, i used transient phenomena so thought pressure is easy.
You might also want to think about slowly ramping up your pressure in small increments. Since you are solving a transient problem, you might want to be careful. But perhaps, you might want to start at a lower inlet pressure and let your simulation run to a steady state. Then without re-initializing, you might want to increase your pressure to a slightly higher value and again let the simulation run to a steady state. You continue this process until you get to the pressure condition you want to investigate. This method is extremely useful for steady state simulations, but when employed to transient, it would stretch your overall simulation time.
I don't know to how simulate using ramp concept and how to solve without reinitializing. Could u please throw somw light on this?
-
August 30, 2018 at 9:02 am
Rob
Forum ModeratorTo plot values during the simulation you need to create a Report Definition and then plot it.
Alternatively use the Execute Commands tools to save an image every some iterations, then create a movie of these images: this will show any instabilities in the flow. I'd recommend using the TUI to create the commands as it's more reliable, press
in the text window to see a list of commands, typing the command will take you to the next level etc. To move back up a level use q
A sample command to display velocity contours (single phase) would be:
/display/contour/velocity 0 10 where 0 10 is the range I want to plot. I'll leave you to find the save-picture syntax.
-
- The topic ‘Solution does not converge for 7 bar pressure.’ is closed to new replies.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- legend min and max
- Ensight hot iron palette from an image
- Streamlines in EnSight using MRI data
- Import MRI data into Ensight
- FLUENT APPLICATIION ERROR
- Total Surface Heat Flux Calculation in Fluent
- Drop Test of a Water-Filled Tube
- Difference between “total pressure” and “absolute pressure”?
- obtaining pressure distribution by making points in ansys
- Minimum Orthogonal Quality Less than 0.01 For Transonic Airfoil Flow Analysis
-
8822
-
4658
-
3155
-
1688
-
1482
© 2023 Copyright ANSYS, Inc. All rights reserved.