ENH: mapped: use coupleGroup specification

This commit is contained in:
mattijs
2013-11-12 15:15:02 +00:00
parent 7096e5fbdc
commit d64871cc82
2 changed files with 6 additions and 32 deletions

View File

@ -9,7 +9,6 @@
T T
{ {
type compressible::thermalBaffle1D<hConstSolidThermoPhysics>; type compressible::thermalBaffle1D<hConstSolidThermoPhysics>;
samplePatch baffle1DWall_slave;
thickness uniform 0.005; // thickness [m] thickness uniform 0.005; // thickness [m]
Qs uniform 100; // heat flux [W/m2] Qs uniform 100; // heat flux [W/m2]

View File

@ -29,35 +29,13 @@ baffles
surface triSurfaceMesh; surface triSurfaceMesh;
name baffle1D.stl; name baffle1D.stl;
patches patchPairs
{ {
master type wall;
patchFields
{ {
//- Master side patch #include "./0/include/wallBafflePatches"
name baffle1DWall_master; #include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches"
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"
}
} }
} }
} }
@ -78,10 +56,7 @@ baffles
name ${masterPatchName}; name ${masterPatchName};
type mappedWall; type mappedWall;
inGroups (baffleWallGroup);
type interRegionMappedWallGenerator;
inGroups (baffleWallGroup);
sampleMode nearestPatchFace; sampleMode nearestPatchFace;
sampleRegion ${baffleRegionName}; sampleRegion ${baffleRegionName};