mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: tutorials: dict command line option
This commit is contained in:
@ -10,7 +10,7 @@ application=`getApplication`
|
|||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication topoSet -dict cRefine.topoSetDict
|
runApplication topoSet -dict cRefine.topoSetDict
|
||||||
runApplication refineMesh -overwrite -dict
|
runApplication refineMesh -overwrite -dict system/refineMeshDict
|
||||||
|
|
||||||
rm log.topoSet
|
rm log.topoSet
|
||||||
runApplication topoSet -dict f.topoSetDict
|
runApplication topoSet -dict f.topoSetDict
|
||||||
|
|||||||
@ -23,7 +23,7 @@ done
|
|||||||
|
|
||||||
for i in bottomAir topAir
|
for i in bottomAir topAir
|
||||||
do
|
do
|
||||||
faceAgglomerate -region $i -dict viewFactorsDict > log.faceAgglomerate.$i 2>&1
|
faceAgglomerate -region $i -dict constant/viewFactorsDict > log.faceAgglomerate.$i 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in bottomAir topAir
|
for i in bottomAir topAir
|
||||||
@ -42,7 +42,7 @@ runApplication `getApplication`
|
|||||||
#
|
#
|
||||||
#for i in bottomAir topAir
|
#for i in bottomAir topAir
|
||||||
#do
|
#do
|
||||||
# mpirun -np 4 faceAgglomerate -region $i -dict viewFactorsDict -parallel> log.faceAgglomerate.$i 2>&1
|
# mpirun -np 4 faceAgglomerate -region $i -dict constant/viewFactorsDict -parallel> log.faceAgglomerate.$i 2>&1
|
||||||
#done
|
#done
|
||||||
|
|
||||||
#for i in bottomAir topAir
|
#for i in bottomAir topAir
|
||||||
|
|||||||
@ -18,7 +18,7 @@ refineMeshByCellSet()
|
|||||||
topoSet > log.topoSet.$1 2>&1
|
topoSet > log.topoSet.$1 2>&1
|
||||||
|
|
||||||
echo "refining primary zone - $1"
|
echo "refining primary zone - $1"
|
||||||
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
refineMesh -dict system/refineMeshDict -overwrite > log.refineMesh.$1 2>&1
|
||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|||||||
@ -18,7 +18,7 @@ refineMeshByCellSet()
|
|||||||
topoSet > log.topoSet.$1 2>&1
|
topoSet > log.topoSet.$1 2>&1
|
||||||
|
|
||||||
echo "refining primary zone - $1"
|
echo "refining primary zone - $1"
|
||||||
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
refineMesh -dict sytem/refineMeshDict -overwrite > log.refineMesh.$1 2>&1
|
||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|||||||
@ -17,7 +17,7 @@ refineMeshByCellSet()
|
|||||||
topoSet > log.topoSet.$1 2>&1
|
topoSet > log.topoSet.$1 2>&1
|
||||||
|
|
||||||
echo "refining primary zone - $1"
|
echo "refining primary zone - $1"
|
||||||
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
refineMesh -dict system/refineMeshDict -overwrite > log.refineMesh.$1 2>&1
|
||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|||||||
@ -10,7 +10,7 @@ application=`getApplication`
|
|||||||
runRefineMesh ()
|
runRefineMesh ()
|
||||||
{
|
{
|
||||||
echo "Running refineMesh on $PWD"
|
echo "Running refineMesh on $PWD"
|
||||||
refineMesh -dict > log.refineMesh 2>&1
|
refineMesh -dict system/refineMeshDict > log.refineMesh 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|||||||
Reference in New Issue
Block a user