diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/0.org/include/1DBaffle/1DTemperatureMasterBafflePatches b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/0.org/include/1DBaffle/1DTemperatureMasterBafflePatches index 5e2ff882e363d59c2536f1ca83bd32a73b663932..1c2a91f28cbe1f0eb8a84bfd761318ad9c609660 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/0.org/include/1DBaffle/1DTemperatureMasterBafflePatches +++ b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/0.org/include/1DBaffle/1DTemperatureMasterBafflePatches @@ -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] diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/createBafflesDict b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/createBafflesDict index feb96c24ba198d3e8cf9d907f98bfd9c13a45a1a..fe16ef97a259ec6b8886c14ee462a6c0bdc0c79e 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/createBafflesDict +++ b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/createBafflesDict @@ -29,35 +29,13 @@ baffles surface triSurfaceMesh; name baffle1D.stl; - patches + patchPairs { - master - { - //- Master side patch - name baffle1DWall_master; - - type wall; - inGroups (baffleWallGroup); - - patchFields - { - #include "./0/include/wallBafflePatches" - #include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches" - } - } - slave + type wall; + patchFields { - //- 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};