tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling: Simplified directory structure
This commit is contained in:
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf constant/baffle3DRegion
|
||||
rm -rf constant/baffle3DRegion/polyMesh
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,9 +8,6 @@ runApplication blockMesh
|
||||
|
||||
cp -R 0.orig 0
|
||||
|
||||
mkdir constant/baffle3DRegion
|
||||
cp 0/include/3DBaffle/physicalProperties constant/baffle3DRegion
|
||||
|
||||
# Create 1D and 3D baffles
|
||||
runApplication createBaffles -overwrite
|
||||
|
||||
|
||||
@ -35,13 +35,13 @@ baffles
|
||||
type wall;
|
||||
patchFields
|
||||
{
|
||||
#include "./0/include/wallBafflePatches"
|
||||
#include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||
#include "./include/wallBafflePatches"
|
||||
#include "./include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#include "./0/include/baffle3DSetup"
|
||||
#include "./include/baffle3DSetup"
|
||||
|
||||
baffleFacesThermoBaffle3D
|
||||
{
|
||||
@ -58,8 +58,8 @@ baffles
|
||||
sameGroup off;
|
||||
patchFields
|
||||
{
|
||||
#include "./0/include/wallBafflePatches"
|
||||
#include "./0/include/3DBaffle/3DTemperatureMasterBafflePatches"
|
||||
#include "./include/wallBafflePatches"
|
||||
#include "./include/3DBaffle/3DTemperatureMasterBafflePatches"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user