mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: sprayFoam: add examples for the new cloud function objects
- ReynoldsNumber (thermo) - NusseltNumber - HeatTransferCoeff
This commit is contained in:
committed by
Andrew Heather
parent
d3d82c6a26
commit
7788a1a01a
8
tutorials/lagrangian/sprayFoam/aachenBomb/Allclean
Executable file
8
tutorials/lagrangian/sprayFoam/aachenBomb/Allclean
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cd "${0%/*}" || exit # Run from this directory
|
||||||
|
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
cleanCase0
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
12
tutorials/lagrangian/sprayFoam/aachenBomb/Allrun
Executable file
12
tutorials/lagrangian/sprayFoam/aachenBomb/Allrun
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cd "${0%/*}" || exit # Run from this directory
|
||||||
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
restore0Dir
|
||||||
|
|
||||||
|
runApplication blockMesh
|
||||||
|
|
||||||
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
@ -232,6 +232,21 @@ cloudFunctions
|
|||||||
{
|
{
|
||||||
type WeberNumber;
|
type WeberNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ReynoldsNumber1
|
||||||
|
{
|
||||||
|
type ReynoldsNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
NusseltNumber1
|
||||||
|
{
|
||||||
|
type NusseltNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
HeatTransferCoeff1
|
||||||
|
{
|
||||||
|
type HeatTransferCoeff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user