STYLE: weightedFlux: adapt for word input

This commit is contained in:
mattijs
2019-12-19 09:20:23 +00:00
parent d092f42928
commit 9ab75c5c3b
2 changed files with 4 additions and 4 deletions

View File

@ -45,9 +45,9 @@ Description
\verbatim \verbatim
gradSchemes gradSchemes
{ {
grad(T) Gauss weightedFlux "lambda"; grad(T) Gauss weightedFlux lambda;
grad(u) Gauss weightedFlux "D"; grad(u) Gauss weightedFlux D;
grad(potential) Gauss weightedFlux "sigma"; grad(potential) Gauss weightedFlux sigma;
} }
\endverbatim \endverbatim

View File

@ -29,7 +29,7 @@ runApplication -s 2 $(getApplication)
# ---- # ----
echo "Run weightedFlux (3)" echo "Run weightedFlux (3)"
foamDictionary -entry endTime -set 3 system/controlDict >/dev/null foamDictionary -entry endTime -set 3 system/controlDict >/dev/null
sed -i '/^ *grad/s/Gauss.*;/Gauss weightedFlux "DT";/' system/fvSchemes sed -i '/^ *grad/s/Gauss.*;/Gauss weightedFlux DT;/' system/fvSchemes
runApplication -s 3 $(getApplication) runApplication -s 3 $(getApplication)