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