.par file specifications: dt and regularization #561
-
Dear Neks, I have been using Nek5000 for a couple of years, am trying to get started with NekRS, and struggle understanding some of the parameters in the parameter file. In case it is of any importance for specifying the below parameters: I run DNS of Rayleigh-Bénard convection. I would like to understand the following two specifications under the [GENERAL] section (more elaborations below):
To 1: To 2: I am aware of the parHelp.txt file, but unfortunately it doesn't (at least for me) clarify the situation sufficiently. As it is important to understand how one specifies the numerical code or simulation, I would be thankful for any help. Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
dt
regularization
Hope this helps, |
Beta Was this translation helpful? Give feedback.
dt
dt = A + targetCFL=B +max=C +initial=D
When one of the tags (
targetcfl
,max
,initial
) is used, it turns on the variable dt. The idea is to increase / decrease dt so the CFL is approximately the targetCFL (by default, it's 0.5 if not set in par file)If you have more non-linearity from source term, it's recommended to be more conservative. CFL = 0.5 is a ok number. If you use OIF (characteristic with RK substeps), then you can increase the target CFL = 0.6339 * number_of_substeps.
regularization