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
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf constant/baffle3DRegion
|
rm -rf constant/baffle3DRegion/polyMesh
|
||||||
rm -rf 0
|
rm -rf 0
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -8,9 +8,6 @@ runApplication blockMesh
|
|||||||
|
|
||||||
cp -R 0.orig 0
|
cp -R 0.orig 0
|
||||||
|
|
||||||
mkdir constant/baffle3DRegion
|
|
||||||
cp 0/include/3DBaffle/physicalProperties constant/baffle3DRegion
|
|
||||||
|
|
||||||
# Create 1D and 3D baffles
|
# Create 1D and 3D baffles
|
||||||
runApplication createBaffles -overwrite
|
runApplication createBaffles -overwrite
|
||||||
|
|
||||||
|
|||||||
@ -35,13 +35,13 @@ baffles
|
|||||||
type wall;
|
type wall;
|
||||||
patchFields
|
patchFields
|
||||||
{
|
{
|
||||||
#include "./0/include/wallBafflePatches"
|
#include "./include/wallBafflePatches"
|
||||||
#include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
#include "./include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "./0/include/baffle3DSetup"
|
#include "./include/baffle3DSetup"
|
||||||
|
|
||||||
baffleFacesThermoBaffle3D
|
baffleFacesThermoBaffle3D
|
||||||
{
|
{
|
||||||
@ -58,8 +58,8 @@ baffles
|
|||||||
sameGroup off;
|
sameGroup off;
|
||||||
patchFields
|
patchFields
|
||||||
{
|
{
|
||||||
#include "./0/include/wallBafflePatches"
|
#include "./include/wallBafflePatches"
|
||||||
#include "./0/include/3DBaffle/3DTemperatureMasterBafflePatches"
|
#include "./include/3DBaffle/3DTemperatureMasterBafflePatches"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user