|
[Sponsors] |
Acceptable residual oscillation for transient simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 8, 2018, 02:02 |
Acceptable residual oscillation for transient simulation
|
#1 |
New Member
Join Date: Nov 2017
Posts: 27
Rep Power: 8 |
Hi,
I am doing a transient simulation at Mach 1 to determine drag. I have added a monitor point to monitor the progression of drag. Time step is set to <delta x / u, upwind advection scheme, first order backward Euler transient scheme, first order turbulence numerics. The monitor point is so far (after approx 11 hour simulation) smooth and still decreasing, although not converged yet. The residual profile is however showing no signs of smoothing out (see attachment). How important is it that the residual profile is smooth when determining the accuracy of a simulation? If the monitor point eventually converges, is that enough to conclude good results, or should I troubleshoot and see if I can improve the residual profile? Thanks! |
|
February 8, 2018, 02:32 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12 |
I would give it a bit more time, does not seem converged yet.
Also, you should check for MAX Residuals rather than RMS. The RMS can "cover up" higher residuals somewhere in the domain if they are low on the majority of the cells. I am using MAX res of 1E-3 for my steady runs, which is hard to get from the transient ones. If you are not able to get to this value (or some other you want to achieve) you should print a trn result step with the residuals and check where the highest residuals are in the domain in Post. Residuals are not gonna smooth like your drag monitor for example, but they should lay below of some level you have to define. |
|
February 8, 2018, 03:10 |
|
#3 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
- why do you use upwind (default high resolution) and first order in time (default 2nd order)?
- you only have 70 iterations. That is nothing. 200-500 is quite normal. So continue the calculation. - did your computer take 11 hours to complete 70 iterations? How many nodes do you have? |
|
February 8, 2018, 03:10 |
|
#4 | |
New Member
Join Date: Nov 2017
Posts: 27
Rep Power: 8 |
Quote:
|
||
February 8, 2018, 03:15 |
|
#5 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
you can do it on the fly. Just click inside the graph on the right mouse button and select "Switch Residual Mode"
|
|
February 8, 2018, 03:15 |
|
#6 | |
New Member
Join Date: Nov 2017
Posts: 27
Rep Power: 8 |
Quote:
|
||
February 8, 2018, 03:25 |
|
#7 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
Using upwind should be forbidden in CFX, since you have high Resolution. Especially around Mach 1.
Upwind and first order in time may be more stable, but inappropriate when it comes to accuracy. This is really a waste of time. You could use upwind as a start to come to an initial condition in steady state. But even that is really unnecessary. I haven't used upwind in CFX for more than 12 years. Just stick to the defaults. |
|
February 8, 2018, 03:37 |
|
#8 | |
New Member
Join Date: Nov 2017
Posts: 27
Rep Power: 8 |
Quote:
|
||
February 8, 2018, 03:48 |
|
#9 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
Sure. Use second order in time.
|
|
February 8, 2018, 04:20 |
|
#10 | |
Senior Member
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12 |
Quote:
I was actually going for printing the residuals to a file so you can check where your mesh generates high values of it and improve it there if possible. That would be only required if you have high max residuals of course. IF it is: you have to define transient output in Pre -> Output Control -> Trn Results and there you can create an trn result item with "output equation residuals". If you dont want a hugh amount of data, take only selected variables output, not full and define some timesteps you are interested in, maybe 10,20,30,40,... |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. | Nkl | OpenFOAM Running, Solving & CFD | 19 | October 10, 2019 02:42 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 13:38 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 08:35 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 06:37 |