mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
This commit is contained in:
@ -7,10 +7,10 @@
|
||||
\cp ../lesFiles/fvS* ../lesFiles/controlDict system/
|
||||
\cp ../lesFiles/turbulenceProperties constant/
|
||||
|
||||
# $1 for special test cases?
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0 $1
|
||||
\ls -d processor* | xargs -I {} \mv ./{}/500 ./{}/0 $1
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0/uniform $1
|
||||
# restart from iteration 500
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0
|
||||
\ls -d processor* | xargs -I {} \mv ./{}/500 ./{}/0
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0/uniform
|
||||
|
||||
runParallel pisoFoam
|
||||
|
||||
|
||||
@ -20,9 +20,7 @@ runParallel snappyHexMesh -decomposeParDict system/decomposeParDict.ptscotch -pr
|
||||
find . -type f -iname "*level*" -exec rm {} \;
|
||||
|
||||
#- set the initial fields
|
||||
# $1 for special test cases?
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0 $1
|
||||
\ls -d processor* | xargs -I {} \cp -r 0.org ./{}/0 $1
|
||||
restore0Dir -processor
|
||||
|
||||
runParallel renumberMesh -overwrite
|
||||
runParallel potentialFoam -initialiseUBCs
|
||||
|
||||
@ -46,8 +46,8 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
value $internalField;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ boundaryField
|
||||
porosityWall
|
||||
{
|
||||
type slip;
|
||||
value uniform (0 0 0);
|
||||
value $internalField;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
@ -45,8 +45,8 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
value uniform (0 0 0);
|
||||
inletValue uniform (0 0 0);
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,39 +24,39 @@ boundaryField
|
||||
front
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 200;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
back
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 200;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
walls
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 200;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
porosityWall
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 200;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
inlet
|
||||
{
|
||||
type turbulentMixingLengthDissipationRateInlet;
|
||||
mixingLength 0.005;
|
||||
value uniform 200;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue uniform 200;
|
||||
value uniform 200;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,39 +24,39 @@ boundaryField
|
||||
front
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 1;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
back
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 1;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
walls
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 1;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
porosityWall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 1;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
inlet
|
||||
{
|
||||
type turbulentIntensityKineticEnergyInlet;
|
||||
intensity 0.05;
|
||||
value uniform 1;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue uniform 1;
|
||||
value uniform 1;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,37 +24,37 @@ boundaryField
|
||||
front
|
||||
{
|
||||
type nutkWallFunction;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
back
|
||||
{
|
||||
type nutkWallFunction;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
walls
|
||||
{
|
||||
type nutkWallFunction;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
porosityWall
|
||||
{
|
||||
type nutkWallFunction;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
12
tutorials/incompressible/porousSimpleFoam/angledDuct/explicit/Allclean
Executable file
12
tutorials/incompressible/porousSimpleFoam/angledDuct/explicit/Allclean
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove copies of common files
|
||||
\rm -rf 0 constant
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -1,11 +1,17 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
echo "Use common files for 0/, constant/ and blockMeshDict"
|
||||
\rm -rf 0 constant
|
||||
\cp -r ../common/0.org 0
|
||||
\cp -r ../common/constant constant
|
||||
|
||||
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1 @@
|
||||
../../common/blockMeshDict.m4
|
||||
12
tutorials/incompressible/porousSimpleFoam/angledDuct/implicit/Allclean
Executable file
12
tutorials/incompressible/porousSimpleFoam/angledDuct/implicit/Allclean
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove copies of common files
|
||||
\rm -rf 0 constant
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
17
tutorials/incompressible/porousSimpleFoam/angledDuct/implicit/Allrun
Executable file
17
tutorials/incompressible/porousSimpleFoam/angledDuct/implicit/Allrun
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
echo "Use common files for 0/, constant/ and blockMeshDict"
|
||||
\rm -rf 0 constant
|
||||
\cp -r ../common/0.org 0
|
||||
\cp -r ../common/constant constant
|
||||
|
||||
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1 @@
|
||||
../../common/blockMeshDict.m4
|
||||
@ -1 +0,0 @@
|
||||
../angledDuctImplicit/0
|
||||
@ -1 +0,0 @@
|
||||
../angledDuctImplicit/Allrun
|
||||
@ -1 +0,0 @@
|
||||
../angledDuctImplicit/constant
|
||||
@ -1 +0,0 @@
|
||||
../../angledDuctImplicit/system/blockMeshDict.m4
|
||||
@ -17,8 +17,7 @@ runParallel snappyHexMesh -overwrite
|
||||
# restore0Dir
|
||||
|
||||
#- For parallel running: set the initial fields
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0
|
||||
\ls -d processor* | xargs -I {} \cp -r 0.org ./{}/0
|
||||
restore0Dir -processor
|
||||
|
||||
runParallel patchSummary
|
||||
runParallel potentialFoam
|
||||
|
||||
@ -8,17 +8,16 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
mkdir 0
|
||||
|
||||
runApplication blockMesh
|
||||
cp system/decomposeParDict.hierarchical system/decomposeParDict
|
||||
\cp system/decomposeParDict.hierarchical system/decomposeParDict
|
||||
runApplication decomposePar
|
||||
|
||||
cp system/decomposeParDict.ptscotch system/decomposeParDict
|
||||
\cp system/decomposeParDict.ptscotch system/decomposeParDict
|
||||
runParallel snappyHexMesh -overwrite
|
||||
|
||||
find . -type f -iname "*level*" -exec rm {} \;
|
||||
|
||||
# - set the initial fields
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0
|
||||
\ls -d processor* | xargs -I {} \cp -r 0.org ./{}/0
|
||||
restore0Dir -processor
|
||||
|
||||
runParallel topoSet
|
||||
runParallel $(getApplication)
|
||||
|
||||
Reference in New Issue
Block a user