Dear Nek5000 Developers and Community,
I am currently conducting an LES simulation of urban canopy flow involving temperature and 3 passive scalars. My friction Reynolds number is $Re_\tau=500$ and the Peclet number for scalars is $Pe=360$ ($Sc=0.72$).
Due to the high Peclet number and the presence of localized sources, I need to apply explicit filtering to the passive scalars to prevent Gibbs oscillations and ensure stability.
The Issue:
I initially tried to specify the filter settings for each scalar individually in the .par file as follows:
However, this resulted in a parsing error at runtime:
ERROR: Par file contains unknown key SCALAR01:FILTERWEIGHT
My Current Workaround:
I have removed the scalar-specific lines and placed the filtering settings under the [GENERAL] block instead:
My Questions:
Does the explicit filtering setting in the [GENERAL] block automatically apply to ALL solved fields (Velocity, Temperature, and Passive Scalars) by default?
In the log file, I see the following output during initialization:
Does this confirm that the passive scalars are indeed being filtered with the weight of 0.05?
Is it necessary to manually call filter_s in userchk to ensure the scalars are filtered, or is the .par configuration in [GENERAL] sufficient?
I want to ensure my scalars are not "running naked" without dissipation control.
Thank you very much for your help!
Best regards,
Fusu