mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: add missing fields
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# No application, so need to clean manually
|
rm log.* 2>/dev/null # No application, clean manually
|
||||||
rm log.*
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -13,7 +13,7 @@ fieldTransfer
|
|||||||
executeControl timeStep;
|
executeControl timeStep;
|
||||||
executeInterval 1;
|
executeInterval 1;
|
||||||
|
|
||||||
fields (p rho U T);
|
fields (p rho U T rhoU pTotal);
|
||||||
|
|
||||||
// Remove derived fields we created prior
|
// Remove derived fields we created prior
|
||||||
removeFieldsOnExecute (rhoU pTotal);
|
removeFieldsOnExecute (rhoU pTotal);
|
||||||
|
|||||||
@ -13,7 +13,7 @@ fieldTransfer
|
|||||||
executeControl timeStep;
|
executeControl timeStep;
|
||||||
executeInterval 1;
|
executeInterval 1;
|
||||||
|
|
||||||
fields (p U);
|
fields (p U rhoU pTotal);
|
||||||
|
|
||||||
// Remove derived fields we created prior
|
// Remove derived fields we created prior
|
||||||
removeFieldsOnExecute (rhoU pTotal);
|
removeFieldsOnExecute (rhoU pTotal);
|
||||||
|
|||||||
Reference in New Issue
Block a user