mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: mapped: use coupleGroup specification
This commit is contained in:
@ -9,7 +9,6 @@
|
||||
T
|
||||
{
|
||||
type compressible::thermalBaffle1D<hConstSolidThermoPhysics>;
|
||||
samplePatch baffle1DWall_slave;
|
||||
|
||||
thickness uniform 0.005; // thickness [m]
|
||||
Qs uniform 100; // heat flux [W/m2]
|
||||
|
||||
@ -29,35 +29,13 @@ baffles
|
||||
surface triSurfaceMesh;
|
||||
name baffle1D.stl;
|
||||
|
||||
patches
|
||||
patchPairs
|
||||
{
|
||||
master
|
||||
type wall;
|
||||
patchFields
|
||||
{
|
||||
//- Master side patch
|
||||
name baffle1DWall_master;
|
||||
|
||||
type wall;
|
||||
inGroups (baffleWallGroup);
|
||||
|
||||
patchFields
|
||||
{
|
||||
#include "./0/include/wallBafflePatches"
|
||||
#include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||
}
|
||||
}
|
||||
slave
|
||||
{
|
||||
//- Slave side patch
|
||||
name baffle1DWall_slave;
|
||||
|
||||
type wall;
|
||||
inGroups (baffleWallGroup);
|
||||
|
||||
patchFields
|
||||
{
|
||||
#include "./0/include/wallBafflePatches"
|
||||
#include "./0/include/1DBaffle/1DTemperatureSlaveBafflePatches"
|
||||
}
|
||||
#include "./0/include/wallBafflePatches"
|
||||
#include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -78,10 +56,7 @@ baffles
|
||||
name ${masterPatchName};
|
||||
|
||||
type mappedWall;
|
||||
|
||||
|
||||
type interRegionMappedWallGenerator;
|
||||
inGroups (baffleWallGroup);
|
||||
inGroups (baffleWallGroup);
|
||||
|
||||
sampleMode nearestPatchFace;
|
||||
sampleRegion ${baffleRegionName};
|
||||
|
||||
Reference in New Issue
Block a user