mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: fix no-U/P iteration issue in TUT/simpleFoam/turbineSiting (#1114)
This commit is contained in:
@ -12,6 +12,5 @@ zDir (0 0 1);
|
|||||||
flowDir (1 0 0);
|
flowDir (1 0 0);
|
||||||
z0 uniform 0.1;
|
z0 uniform 0.1;
|
||||||
zGround uniform 935.0;
|
zGround uniform 935.0;
|
||||||
value $internalField;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -5,7 +5,6 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
|
|
||||||
cleanCase0
|
cleanCase0
|
||||||
|
|
||||||
# Remove decomposeParDict
|
|
||||||
rm -f system/decomposeParDict
|
rm -f system/decomposeParDict
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,18 +4,19 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# Make dummy 0 directory
|
# Make dummy 0 directory
|
||||||
|
rm -rf 0
|
||||||
mkdir 0
|
mkdir 0
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
\cp system/decomposeParDict.hierarchical system/decomposeParDict
|
cp system/decomposeParDict.hierarchical system/decomposeParDict
|
||||||
runApplication decomposePar
|
runApplication decomposePar
|
||||||
|
|
||||||
\cp system/decomposeParDict.ptscotch system/decomposeParDict
|
cp system/decomposeParDict.ptscotch system/decomposeParDict
|
||||||
runParallel snappyHexMesh -overwrite
|
runParallel snappyHexMesh -overwrite
|
||||||
|
|
||||||
find . -iname '*level*' -type f -delete
|
find . -iname '*level*' -type f -delete
|
||||||
|
|
||||||
# - Set the initial fields
|
# Set the initial fields
|
||||||
restore0Dir -processor
|
restore0Dir -processor
|
||||||
|
|
||||||
runParallel topoSet
|
runParallel topoSet
|
||||||
|
|||||||
@ -19,7 +19,7 @@ disk1
|
|||||||
{
|
{
|
||||||
type actuationDiskSource;
|
type actuationDiskSource;
|
||||||
|
|
||||||
fields (U);
|
fields (U);
|
||||||
|
|
||||||
selectionMode cellSet;
|
selectionMode cellSet;
|
||||||
cellSet actuationDisk1;
|
cellSet actuationDisk1;
|
||||||
@ -34,7 +34,7 @@ disk2
|
|||||||
{
|
{
|
||||||
type actuationDiskSource;
|
type actuationDiskSource;
|
||||||
|
|
||||||
fields (U);
|
fields (U);
|
||||||
|
|
||||||
selectionMode cellSet;
|
selectionMode cellSet;
|
||||||
cellSet actuationDisk2;
|
cellSet actuationDisk2;
|
||||||
|
|||||||
Reference in New Issue
Block a user