mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
heatExchanger tutorial: removed unnecessary creation of empty baffle patch
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
./Allmesh
|
||||
|
||||
runApplication $(getApplication)
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
./Allrun.pre
|
||||
./Allmesh
|
||||
|
||||
runApplication -s air decomposePar -region air
|
||||
runApplication -s porous decomposePar -region porous
|
||||
|
||||
@ -133,13 +133,6 @@ boundary
|
||||
(20 21 22 23)
|
||||
);
|
||||
}
|
||||
|
||||
blades
|
||||
{
|
||||
type wall;
|
||||
faces
|
||||
();
|
||||
}
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
|
||||
@ -19,30 +19,24 @@ FoamFile
|
||||
// faces.
|
||||
internalFacesOnly true;
|
||||
|
||||
|
||||
// Baffles to create.
|
||||
baffles
|
||||
{
|
||||
baffleFaces
|
||||
baffles
|
||||
{
|
||||
//- Use predefined faceZone to select faces and orientation.
|
||||
type faceZone;
|
||||
zoneName rotorBlades;
|
||||
|
||||
|
||||
patches
|
||||
{
|
||||
master
|
||||
{
|
||||
//- Master side patch
|
||||
name blades;
|
||||
type patch;
|
||||
name blades;
|
||||
type wall;
|
||||
}
|
||||
slave
|
||||
{
|
||||
//- Slave side patch
|
||||
name blades;
|
||||
type patch;
|
||||
$master;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user