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

Viewing Residuals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2018, 10:35
Default Viewing Residuals
  #1
Member
 
Join Date: Jun 2016
Posts: 52
Rep Power: 9
EDE16 is on a distinguished road
Is it possible within CONVERGE to view residuals as in the various other CFD solvers or only in the output file?
EDE16 is offline   Reply With Quote

Old   May 14, 2018, 16:37
Default
  #2
Member
 
xieshengbai's Avatar
 
Shengbai Xie
Join Date: Aug 2016
Location: Convergent Science, Madison WI
Posts: 60
Rep Power: 9
xieshengbai is on a distinguished road
Hi, may I know what residuals you are referring to, please?

If you set screen_print_level to 2 in inputs.in, the residuals of the transport equations, pressure Poisson equation, as well as the big PISO loop will be shown in the log file. If you are talking about the residuals associating with the steady-state solver, then you can monitor them in steady_state.out.
xieshengbai is offline   Reply With Quote

Old   May 15, 2018, 04:22
Default
  #3
Member
 
Join Date: Jun 2016
Posts: 52
Rep Power: 9
EDE16 is on a distinguished road
Quote:
Originally Posted by xieshengbai View Post
Hi, may I know what residuals you are referring to, please?

If you set screen_print_level to 2 in inputs.in, the residuals of the transport equations, pressure Poisson equation, as well as the big PISO loop will be shown in the log file. If you are talking about the residuals associating with the steady-state solver, then you can monitor them in steady_state.out.
Hi,

Well as I have said, I would prefer if CONVERGE showed a visualisation of the residuals like all other CFD solvers I have used, like the image below, a text output is a bit unpractical. Or am I misunderstanding a fundamental way CONVERGE works compared to other solvers??

https://www.google.co.uk/search?q=cf...CvaQ2EL8FPmMM:
EDE16 is offline   Reply With Quote

Old   May 15, 2018, 06:01
Default
  #4
Senior Member
 
Tobias
Join Date: May 2016
Location: Germany
Posts: 264
Rep Power: 10
MFGT is on a distinguished road
The image below looks like a steady state simulation, and there its possible as Shengbai Xie said. During cylic simulation you have to look into the output file.
MFGT is offline   Reply With Quote

Old   May 15, 2018, 10:32
Default
  #5
Member
 
xieshengbai's Avatar
 
Shengbai Xie
Join Date: Aug 2016
Location: Convergent Science, Madison WI
Posts: 60
Rep Power: 9
xieshengbai is on a distinguished road
Thanks, MFGT! Let me try to explain it more clearly. In CONVERGE, there are two types of simulations: transient simulation and steady-state simulation.

In a transient simulation, the flow properties vary with time or crank angle. So, there is no "residual" in a global sense. However, at each time step, a couple of governing equations are solved within a big loop known as the PISO (Pressure-Implicit with Splitting of Operators) algorithm. This PISO loop, as well as each governing equations, has to be converged below some prescribed criteria at each time step and, therefore, there are some residuals associated. Those residuals are stored in the log file since, most likely, they may not interest the end users, but will be useful for debugging if your case crashes or very slow.

In a steady-state simulation, on the other hand, the flow becomes gradually independent of time. Besides the PISO residuals (since we are using a pseudo-time marching scheme, so they are still here), to determine if the flow reaches the steady state, we require the user to specify some monitor variables, such as velocity, temperature, pressure, etc, whose residuals (i.e., deviations from the steady-state values) will be monitored as a function of time steps during the simulations. Those residuals are different from the PISO residuals but are more relevant to those pictures shown in the link, as pointed out by MFGT. Those steady-state residuals are stored in steady_state.out which you can view and plot.
xieshengbai is offline   Reply With Quote

Old   May 15, 2018, 10:56
Default
  #6
Member
 
Join Date: Jun 2016
Posts: 52
Rep Power: 9
EDE16 is on a distinguished road
Quote:
Originally Posted by xieshengbai View Post
Thanks, MFGT! Let me try to explain it more clearly. In CONVERGE, there are two types of simulations: transient simulation and steady-state simulation.

In a transient simulation, the flow properties vary with time or crank angle. So, there is no "residual" in a global sense. However, at each time step, a couple of governing equations are solved within a big loop known as the PISO (Pressure-Implicit with Splitting of Operators) algorithm. This PISO loop, as well as each governing equations, has to be converged below some prescribed criteria at each time step and, therefore, there are some residuals associated. Those residuals are stored in the log file since, most likely, they may not interest the end users, but will be useful for debugging if your case crashes or very slow.

In a steady-state simulation, on the other hand, the flow becomes gradually independent of time. Besides the PISO residuals (since we are using a pseudo-time marching scheme, so they are still here), to determine if the flow reaches the steady state, we require the user to specify some monitor variables, such as velocity, temperature, pressure, etc, whose residuals (i.e., deviations from the steady-state values) will be monitored as a function of time steps during the simulations. Those residuals are different from the PISO residuals but are more relevant to those pictures shown in the link, as pointed out by MFGT. Those steady-state residuals are stored in steady_state.out which you can view and plot.
Thanks for the explanations, so as I thought, its no different to any other CFD solver but for some reason CONVERGE does not show a graphical representation of the residuals, which assessment of, is the primary method of resolving problems with a case setup in CFD and of the utmost importance to the end user. This is irrelevant of either steady or transient.

The purpose of the link was purely to convey my meaning of normally portrayed residuals within a CFD program and was randomly copied from a google search.

Thank you for your input.
EDE16 is offline   Reply With Quote

Old   May 15, 2018, 11:01
Default
  #7
Member
 
xieshengbai's Avatar
 
Shengbai Xie
Join Date: Aug 2016
Location: Convergent Science, Madison WI
Posts: 60
Rep Power: 9
xieshengbai is on a distinguished road
In CONVERGE STUDIO, there is a panel called "Line Plotting" where you can load the steady_state.out (or any *.out files) and plot it graphically.

Quote:
Originally Posted by EDE16 View Post
Thanks for the explanations, so as I thought, its no different to any other CFD solver but for some reason CONVERGE does not show a graphical representation of the residuals, which assessment of, is the primary method of resolving problems with a case setup in CFD and of the utmost importance to the end user. This is irrelevant of either steady or transient.

The purpose of the link was purely to convey my meaning of normally portrayed residuals within a CFD program and was randomly copied from a google search.

Thank you for your input.
xieshengbai is offline   Reply With Quote

Old   June 3, 2018, 04:12
Default discharge and flow efficiency
  #8
New Member
 
bambang
Join Date: Jun 2018
Posts: 10
Rep Power: 7
wahonot is on a distinguished road
I am a user of Converge but still a beginner. I have a problem related with this software. Now my project is related to steady flow state and I want to get some efficiency such as discharge and flow efficiency. I try to measure the volume flow rate by this experiment and I have a plan to compare with simulation in converge but I didn't get information well how to get the result about discharge and flow efficiency in CONVERGE. Can you help me to get these efficiencies in CONVERGE? Thank you.
wahonot is offline   Reply With Quote

Old   June 4, 2018, 17:08
Default
  #9
Member
 
xieshengbai's Avatar
 
Shengbai Xie
Join Date: Aug 2016
Location: Convergent Science, Madison WI
Posts: 60
Rep Power: 9
xieshengbai is on a distinguished road
Hi, I am afraid that you have to manually calculate the volume flow rate as well as the discharge coefficient. But they are not difficult. In mass_avg_flow.out, we provide the mass flow rate, average density, and some other properties at the inflow and outflow boundaries, from which you can easily calculate the volume flow rate and the discharge coefficient. For the flows between regions, similar properties are stored in regions_flow.out. Hope those are helpful to you.

Quote:
Originally Posted by wahonot View Post
I am a user of Converge but still a beginner. I have a problem related with this software. Now my project is related to steady flow state and I want to get some efficiency such as discharge and flow efficiency. I try to measure the volume flow rate by this experiment and I have a plan to compare with simulation in converge but I didn't get information well how to get the result about discharge and flow efficiency in CONVERGE. Can you help me to get these efficiencies in CONVERGE? Thank you.
__________________
Shengbai Xie, Ph.D.
Senior research engineer, Application


(608) 230-1563
convergecfd.com
xieshengbai is offline   Reply With Quote

Old   June 24, 2018, 22:41
Default
  #10
New Member
 
bambang
Join Date: Jun 2018
Posts: 10
Rep Power: 7
wahonot is on a distinguished road
Thank you for your kind reply answer. But after I check in the converge result, the value of mass flow rate is very low difference with my experiment, I think my simulation parameter input is still wrong. can you give me information the important input parameter in converge so the result will make similar with the steady flow test? Thank you.





Quote:
Originally Posted by xieshengbai View Post
Hi, I am afraid that you have to manually calculate the volume flow rate as well as the discharge coefficient. But they are not difficult. In mass_avg_flow.out, we provide the mass flow rate, average density, and some other properties at the inflow and outflow boundaries, from which you can easily calculate the volume flow rate and the discharge coefficient. For the flows between regions, similar properties are stored in regions_flow.out. Hope those are helpful to you.
wahonot 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
[CFD-Post] Viewing max residuals siw CFX 4 May 21, 2014 07:32
motorBike Residuals for SST k-omega... and mine JR22 OpenFOAM Running, Solving & CFD 6 August 1, 2013 09:08
judging convergence through residuals MachZero Main CFD Forum 7 December 25, 2012 12:18
Convergence - scaled vs unscaled residuals HS FLUENT 1 November 7, 2005 05:45
Viewing residuals Bob Malone CFX 2 February 19, 2001 08:47


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