TUT: simplify basic/laplacianFoam/flange

BAKW: ensure bitwise backward compatibility
This commit is contained in:
Kutalmis Bercin
2020-01-09 16:38:37 +00:00
parent 45a0f70a28
commit c399a4b3fb
4 changed files with 3 additions and 20 deletions

View File

@ -20,7 +20,7 @@ internalField uniform 273;
boundaryField boundaryField
{ {
patch1 "(patch1|patch3)"
{ {
type zeroGradient; type zeroGradient;
} }
@ -31,11 +31,6 @@ boundaryField
value uniform 273; value uniform 273;
} }
patch3
{
type zeroGradient;
}
patch4 patch4
{ {
type fixedValue; type fixedValue;

View File

@ -4,6 +4,5 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
cleanCase cleanCase
rm -rf Fieldview
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -3,18 +3,7 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
runAnsysToFoam() runApplication ansysToFoam flange.ans -scale 0.001
{
if [ -f log.ansysToFoam ]
then
echo "ansysToFoam already run on $PWD: remove log file to re-run"
else
echo "Running ansysToFoam: converting mesh $1"
ansysToFoam $1 -scale $2 > log.ansysToFoam 2>&1
fi
}
runAnsysToFoam flange.ans 0.001
runApplication $(getApplication) runApplication $(getApplication)
runApplication foamToEnsight -noZero runApplication foamToEnsight -noZero
runApplication foamToEnsightParts -noZero runApplication foamToEnsightParts -noZero

View File

@ -22,7 +22,7 @@ ddtSchemes
gradSchemes gradSchemes
{ {
default Gauss linear; default none;
grad(T) Gauss linear; grad(T) Gauss linear;
} }