mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: weightedFlux: adapt for word input
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user