|
[Sponsors] |
When to use local timescale or physical timescale |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 2, 2011, 11:31 |
When to use local timescale or physical timescale
|
#1 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
I am using ANSYS12.1 to simulate, but recently I met a problem
after mesh and adding all the boundary conditions, I use physical timescale t=2s to simulate while now I use local timescale factor and use default value 5 to simulate, the result distributions turns out to be slightly different, so which timescale shall i use? I am really confused now |
|
March 2, 2011, 17:39 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
This FAQ explains timescale selection and when to use local timescale factor:
http://www.cfd-online.com/Wiki/Ansys...gence_criteria |
|
March 3, 2011, 05:28 |
|
#3 | |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
Quote:
before I asked this question, i have already searched the FAQ, still I have the problem. From the text, he uses "Use a larger physical time step" first, and then Use Local Timescale Factor? So when I trying to solve my simulation, which option shall I use? and what's the time scale is appropiate to use? 1s? 5s? or 10s? in my simulation, both can converge under 10e-5, but the temp and velocity distribution is slightly different |
||
March 3, 2011, 18:46 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
This is all discussed in the page I linked to.
|
|
March 4, 2011, 04:21 |
|
#5 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
Use a larger physical time step. A time step approximately equal to the average residence time in the simulation domain is a good guide for most simulations. If it is a recirculating system without an inlet or outlet then use the turn over time of the largest flow feature. You can get the residence time in CFX-Post by placing a streamline and looking at the "Time" variable on it. The maximum value of time is the residence time.
Use Local Timescale Factor. A factor of about 5 is a good guess to start with. If this is successful you should run the final few iterations to convergence with a physical timescale (not local timescale all the way to convergence). That's all i seen from that page about timescale, it doesn't describe which to choose and what's the appropriate number......... |
|
March 6, 2011, 18:07 |
|
#6 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
The FAQ is written as a step by step guide as how to address the non-convergence. It discusses adjusting the timestep later on:
Quote:
|
||
March 7, 2011, 05:58 |
|
#7 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
Ghorrocks, I understand your meaning,
but here, if I try to use physical timescale, from the link you gave me, "A time step approximately equal to the average residence time in the simulation domain is a good guide for most simulations" I checked my result file, min=0s and max=84s, so average is 42s? WHile from the CFX help file, "time scale should be not larger than the advection time scale value" in order to get convergence which is only 2.75s so which number shall i choose, and what's the real meaning behind the number? |
|
March 7, 2011, 08:17 |
|
#8 |
Senior Member
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17 |
I've tested the timescale problems recently. In my multidomain heat transfer (solid and fluid) simulation I've used automatic timescale first with conservative, then with aggressive by adjustin the factor from 1 to 10 step by step to avoid divergence. Because of the time need of the convergence in case of complex heat transfer (with heat source) problem, this can help to shorten convergence type. But if you choose large timesteps (large timescale factors or physical timescale doesn't matter) the residuals remains "high". After in my simulation the imbalances were under 0.1, a swithed to physical timescale with very small value. So the RMS and also MAX values decreased fast, as the imbalances do.
|
|
March 7, 2011, 19:45 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
"time scale should be not larger than the advection time scale value" - where did you see that? I cannot find this comment, and it is incorrect in my opinion. The time scale SHOULD be larger than the advection time scale for a steady state simulation to reduce flow vortex instabilities.
|
|
March 10, 2011, 03:58 |
|
#10 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
Hi, Ghorrocks
I tried large physical timescale under High Resolution Advection Scheme, and my imbalance is under 0.02%, RMS value reached the 1e-06. Does this mean my simulation is correct and converge? WHile from the help file "Problem with Convergence" : if the MAX residual is more than one order of magnitude larger than your RMS residual, it usually indicates that the problem is concentrated to a local region. and I found two of " Locations of Maximum Residuals " is close to my interested region, does this matter? |
|
March 10, 2011, 07:25 |
|
#11 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Quote:
Correct - Cannot say. There are many checks you need to do beyond just convergence to get a correct solution. And no, I am not going to write them all up on the forum, I will refer you to CFD text books for that. Computational Fluid Dynamics by Roache is one of the key textbooks for CFD accuracy. |
||
March 10, 2011, 08:41 |
|
#12 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
Hi
While from the help file "Problem with Convergence" : if the MAX residual is more than one order of magnitude larger than your RMS residual, it usually indicates that the problem is concentrated to a local region. In my simulation, MAX residual is more than one order of magnitude larger than RMS residual, and two out of four " Locations of Maximum Residuals " is close to my interested region, so do you know any methods to decrease the value difference to eliminate the influence? |
|
March 10, 2011, 20:24 |
|
#13 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Improving mesh quality is usually the biggest difference.
|
|
March 21, 2011, 09:18 |
|
#14 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
Hello, Ghorrocks,
I tried to modify the geometrical mesh quality a bit and rerun the program. THe result didn't change much...... Here I used both High Resolution and Specified Blend Factor=1 methods and set the RMS residual=1e-05, will the result be very similiar accroding to the theory? Becasue both are second-order accurate. |
|
March 21, 2011, 10:18 |
|
#15 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
Another question, if I use Specified Blend Factor=1 here, what will Local time scale and Physical time scale make any difference in simulation?
From ANSYS help file, Local Timescale Factor allows different time scales to be used. It's best for uniform element and moderate aspect ratio.The default value is 5, what's the meaning of 5 here? Physical Timescale allows a fixed time scale. My model has great aspect ratios and with non-uniform elements, so which option is best for my model? Because my simulation is under steady situation, will these two timescales matter much? Too many questions , heihei, Thank you in advance! |
|
March 21, 2011, 20:10 |
|
#16 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Quote:
Local time scale really only needs to be used for difficult problems. Most problems should be OK with physical time scale. |
||
March 22, 2011, 02:10 |
|
#17 |
Member
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 16 |
But here if I use physical timescale and set RMS residual =1e-06, it takes me 24hours to converge, while if I use local time scale and use default value=5, it took me one day to reach 1e-04 rms residual, and I checked the CFD post, the shape of distribution is different from Physical timescale. 1e-04 is just for demonstrate the basic shape and i am not sure how many days will it take to reach 1e-06.....so I wonder is there a way to speed up the converge
|
|
March 22, 2011, 07:48 |
|
#18 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
The CFX documentation describes how to speed things up. This link may also be of assistance.
http://www.cfd-online.com/Wiki/Ansys...gence_criteria And of course you can always stick more computers on a parallel network to speed things up. |
|
August 7, 2013, 15:36 |
|
#19 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 |
Can you please tell me how I can check the regions of max residuals ,
Thank you. |
|
August 7, 2013, 19:31 |
|
#20 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
When you set the simulation up, in the CFX-Pre output tab add the equation residuals to the results file. Then the residuals will be part of the output file and you can use standard post-processing techniques on them as a normal variable.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |