

August 29, 2018 at 11:37 amnav.shirurSubscriber
Hello 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 : 1e5
Max cell size : 0.7 mm
Inlet size: 2mm
Outlöet dia: 25mm
Convergence conditions; 1e5
Explicit formulation
Hybrid Initialization
Second order Upwind
My questions here are:
1. Residuals after 1e3 or 1e4 follow horizontal line nad do not converge anymore. Should i consider solution at 1e3 or 1e4?
2. How to analyse residuals?
3. Should i trust solution at 1e3 or 1e4?

August 29, 2018 at 11:54 amKarthik RAdministrator
Hello,
Couple of questions / suggestions:
 What is your set residual criteria? Also, how many iterations per timestep are you running? Are you converging every timestep?
 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 timestep.
 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 reinitializing, 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 pmnav.shirurSubscriber
What is your set residual criteria? Also, how many iterations per timestep are you running? Are you converging every timestep?
Ans: Residual is absolute 1e5 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 1e4 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 1e5 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 reinitializing, 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 amRobAnsys Employee
To 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 savepicture syntax.

 You must be logged in to reply to this topic.
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.
 Suppress Fluent to open with GUI while performing in journal file
 Floating point exception in Fluent
 What are the differences between CFX and Fluent?
 Heat transfer coefficient
 Getting graph and tabular data from result in workbench mechanical
 The solver failed with a nonzero exit code of : 2
 Difference between Kepsilon and Komega Turbulence Model
 Time Step Size and Courant Number
 Mesh Interfaces in ANSYS FLUENT
 error in cfd post

2700

2138

1355

1142

462
© 2023 Copyright ANSYS, Inc. All rights reserved.