|
[Sponsors] |
July 13, 2017, 11:26 |
Monitoring residuals , is it safe ?
|
#1 |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Hi, i read that monitoring only the residuals can be treaky, and we should monitoring also values on interest, in my case velocity and temperature. By monitoring those values, how can we say that the solution is converged ? When the values dont change any more or when it becomes close to experimental results ? Or what ? Also, what are the acceptable values of residuals that can be published for continuity, velocity and energy
|
|
July 13, 2017, 11:37 |
|
#2 |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Transient or steady state simulation?
|
|
July 13, 2017, 11:46 |
|
#3 |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
||
July 13, 2017, 12:01 |
|
#4 |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
You need to define what convergence means to you.
e.g. if you monitor temperature you can define convergence as: the calculated solution for temperature in each time step changes only in the second decimal place behind the comma. You need to get a feeling how exact your solutions per time step need to be. If you study convergence levels you will see that the change in temperature in each time step correlates to the level the residuals reach. So you can set automatic convergence detection if you know let's say for example that 1e-4 in residuals for energy translates to a max change in temperature in the xyz place behind the comma. You have to find that out for yourself. |
|
July 13, 2017, 12:07 |
|
#5 |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
But when i took the mesures of temperature in experiance, i didnt took it with a fix time step so i have no idea how much it must be changing each timstep, althought i have an idea how much it changes every z/d , because i took temperature mesurements with velocity, each time i mesured velocity i mesured also temperature. I hope you understood me
Sent from my F1f using CFD Online Forum mobile app |
|
July 13, 2017, 12:08 |
|
#6 |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Also for continuity. I usually accept a mass imbalance of < 0.1% as acceptable. Again this translates into a value for continuity residuals. Maybe something like 1e-4 or less. You need to check this.
|
|
July 13, 2017, 12:11 |
|
#7 | |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Quote:
Sent from my F1f using CFD Online Forum mobile app |
||
July 13, 2017, 12:15 |
|
#8 | |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Quote:
You can simulate until maybe you first measured your temperature in experiment. If you measured first after 5 mins. simulate 5 mins. Also how exact is you measurement device? If you now the uncertainty in your measurements, you do need to be more exact in simulation than your measurement device. |
||
July 13, 2017, 12:17 |
|
#9 | |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Quote:
|
||
July 13, 2017, 12:20 |
|
#10 |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Time of experimental was about an hour Because i took the velocities in 20 axial stations and for each axial station a go for 10 stations radially . I dont think that i can do a 1 hour of simulation because i am setting the time step = 10^-5 . If i can reac 10 seconds of simulation i am lucky 😥
The device is velocicalc [IMG]lghttp.17652.nexcesscdn.net/808B15/magento/media/catalog/product/cache/8/image/500x500/ae8e27adf667b20d5f3db4b7e3a38cc2/9/5/9555_app.jpg[/IMG] Sent from my F1f using CFD Online Forum mobile app |
|
July 13, 2017, 12:20 |
|
#11 | |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Quote:
Sent from my F1f using CFD Online Forum mobile app |
||
July 13, 2017, 12:22 |
|
#12 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Since you are doing an LES, what you call residuals are only the terms you have in each time step in the formulation for solving the system of the equations. Now that depends on the choice of the formulation, are you using a full compressible flow solver? In such a case what about the Mach number? Are the residuals normalized?
|
|
July 13, 2017, 12:29 |
|
#13 | |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Quote:
Residuals are not normalized Sent from my F1f using CFD Online Forum mobile app |
||
July 13, 2017, 12:47 |
|
#14 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Your case will be stiff using a compressible flow model. Are you preconditioning the equations? Could you switch to a pure incompressible solver? Try to evaluate the normalized residuals
|
|
July 13, 2017, 12:53 |
|
#15 | |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Quote:
Sent from my F1f using CFD Online Forum mobile app |
||
July 13, 2017, 13:21 |
|
#16 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
I think I cannot help you if you are not aware about these issues? What about your background in CFD? |
||
July 13, 2017, 13:35 |
|
#17 | |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Quote:
Sent from my F1f using CFD Online Forum mobile app |
||
July 13, 2017, 13:46 |
|
#18 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
Quote:
You should attend a couple of course in fluid mechanics and CFD ... there are a lot of CFD textbooks, each one has some peculiarity and some issues more detalined than others. However, it requires some effort and some years to be good in CFD.... |
||
July 13, 2017, 14:19 |
|
#19 | |
Senior Member
dilaw meda
Join Date: Jun 2017
Location: algeria
Posts: 145
Rep Power: 9 |
Quote:
Sent from my F1f using CFD Online Forum mobile app |
||
July 13, 2017, 14:59 |
|
#20 | |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Quote:
So did you find some average temperature in your experiment? Have you measured exactly after one hour? Try to describe your experimental findings. Is the temperature constant over time, if yes what do you expect if you would measure after five minutes? Same temp as after one hour? If you cannot afford the simulation to run to one hour, i would concider redoing your measurements and run it till you have experimental data to compare. Mass imbalance means that the mass flow in the systems equals the mass flow out of the system. It's very important to ensure mass balance in every time step. So please check for that and as mentioned set your target residual values accordingly. Also for temperature and velocities as i described above. Your residuals sound good but try to look for the actual change in values to see what they actually mean. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSYS Workbench on "Uncertified" Linux Distros | hsr | CFX | 289 | April 20, 2023 10:23 |
Monitoring Residuals - Initial or Final? | BigPapi34 | OpenFOAM Running, Solving & CFD | 1 | November 3, 2014 06:31 |
Monitoring Residuals - Initial or Final? | BigPapi34 | Main CFD Forum | 0 | November 3, 2014 06:23 |
Monitoring residuals in Workbench-Fluent using Remote Solver | fadiga | Main CFD Forum | 2 | October 16, 2013 16:43 |
judging convergence through residuals | MachZero | Main CFD Forum | 7 | December 25, 2012 13:18 |