turbulentDigitalFilterInlet makes pattern of the turbulent structures running in parallel
Summary
turbulentDigitalFilterInlet makes a pattern of the turbulent structures which follow the partitioning of the domain decomposition using DFM and FSM modes.
Steps to reproduce
- Using the tutorial
cp -r $FOAM_TUTORIALS/tutorials/verificationAndValidation/turbulentInflow/oneCellThickPlaneChannel .
- Run in serial mode
vi Allrun
# flag to enable computations in parallel mode
parallel=false
-
Plot the resulting velocity field magnitude using Paraview
-
Change the number of processors to 9, and change the partition method to serial with 3x3 partitions in y and z directions
vi setups.orig/common/system/decomposeParDict
numberOfSubdomains 9;
method simple;
simpleCoeffs
{
n (1 3 3);
}
- Run for only one time-step, as the partitioning makes the simulation unstable.
vi setups.orig/common/system/controlDict
stopAt writeNow;
- Run in parallel mode
mv results results_serial
vi Allrun
# flag to enable computations in parallel mode
parallel=true
- Plot the resulting velocity field magnitude using Paraview
Example case
See above
What is the current bug behaviour?
The results when running in parallel or serial modes is different using DFM and FSM. A pattern of the turbulent structures follows the partitioning of the domain decomposition.
What is the expected correct behavior?
The results when running in parallel or serial modes is the same. Using DFSEM this behavior is seen.
Relevant logs and/or images
Visible pattern dividing the structures into three partitions, following the domain decomposition.
Visible pattern dividing the structures into three partitions, following the domain decomposition.
No visible pattern.
Environment information
- OpenFOAM version : v2106
- Operating system : centos 8
- Hardware info : AMD EPYC Rome
- Compiler : GCC 9.2