splitting regions and defining BC in conjugate heat transfer
Hello!
I'm trying to understand the conjugate heat transfer cases multiRegionHeater from OF tutorial and planeWass2D from HTML Code:
http://openfoamwiki.net/index.php/Getting_started_with_chtMultiRegionSimpleFoam_-_planeWall2D The Allrun script calles programms Code:
blockMesh Code:
topoSet It looks like files in folder sets contains cell labels corresponding to each region. What is stored in the file cellzones? Then Code:
splitMeshRegions -cellZones -overwrite |
hi,
the command topoSet uses the file topoSetDict in the system-folder. It creates the folder sets with the cellZones. The cellZones are volume-regions in the mesh, e.g. topAir, wall. with "splitMeshRegions -cellZones -overwrite" the Mesh is split in several Regions on the basis of the created cellZones. the new boundaries are get names like bottomAir_to_wall. But the interaction between the regions is not yet defined. The boundary conditions between the regions are defined with the command changeDictionary which uses the changeDictionaryDict. The boundary condition of the temperature e.g. in regoin bottomAir changes and the interaction between bottomAir_to_wall is defined: bottomAir_to_wall { type mappedWall; nFaces 100; startFace 16040; sampleMode nearestPatchFace; sampleRegion wall; samplePatch wall_to_bottomAir; //interacting boundary in region wall offsetMode uniform; offset (0 0 0); } Try to run the changeDictionary and have a look at the boundary files in planeWall2D before and after. Andreas |
Andreas,
thank you for your answer, it is very helpful. Do I have to define boundary conditions between two regions with same properties - solid1-solid2 or fluid1-fluid2? |
yes, you also have to define boundary conditions between two solids or fluids.
In the tutorial /heatTransfer/chtMultiRegionsSimpleFoam/multiRegionHeater you can see this. There e.g ist the boundary condition between two solid regions (heater and leftSolid) |
All times are GMT -4. The time now is 09:48. |