Page 1 of 1
Perform test-filtering on a field
Posted: Wed Nov 13, 2019 3:37 am
by Mohammad
Hello,
I want to perform a test-filtering on a field.
It seems that in previous versions there was a subroutine called "
cfiltr". (According to this topic:
viewtopic.php?t=1133 and ver 4.0 doxygen:
cfiltr)
But in current versions there's no subroutine with that name. Is it renamed or changed?
Regards,
Mohammad
Re: Perform test-filtering on a field
Posted: Wed Nov 13, 2019 10:19 am
by Yvan Fournier
Hello,
cfiltr has been renamed to cs_les_filter.
Regards,
Yvan
Re: Perform test-filtering on a field
Posted: Wed Nov 13, 2019 1:03 pm
by Mohammad
Dear Yvan,
Hello and thanks for your reply.
If it is renamed, then why
cs_les_filter and
cfiltr both exist in version 4.0 doxygen?(
link)
While in version 5.0 there is only
cs_les_filter.(
link)
It seems their inputs are different at least in the number of required elements.
If it is OK, is there an example of
cs_les_filter usage? Specially about the first input
stride.
For example if I want to filter the velocity field, how can I do that with cs_les_filter? What should I set for
stride input?
Regards,
Mohammad
Re: Perform test-filtering on a field
Posted: Wed Nov 13, 2019 2:03 pm
by Yvan Fournier
Hello,
In version 4.0, the name of the function and file containing it were different. They have been aligned in 5.0.
To find examples of the use of this function, you need to search for its use in the source code. I am not sure of other examples of its use. You will also need to force the use of the extended neighborhood (modify the "haltyp" function) if you plan to use it for something else than LES with dynamic Smagorinsky filter.
Regards,
Yvan
Re: Perform test-filtering on a field
Posted: Thu Nov 14, 2019 9:05 am
by Mohammad
Dear Yvan,
Thank you very much.
Regards,
Mohammad