CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   chtMutiRegionFoam without topoSetDict (https://www.cfd-online.com/Forums/openfoam-pre-processing/166812-chtmutiregionfoam-without-toposetdict.html)

bibin.sme February 17, 2016 00:22

chtMutiRegionFoam without topoSetDict
 
Hi dear all,

Can anyone tell me how to create multiRegions
without using in toposetDict in chtMultiRegionFoam. since for complex geometries its had to define regions using topSetDict. can we use Salome software to create mesh by zones then split using splitmeshRegions??

Also regarding the coupled Patch Filed, how to define say an interface mass flux boundary condition if needed.... ???

:confused::confused::confused:
Bibin

jmdf February 17, 2016 15:05

Hi Bibin,

yes there are ways to create multi regions without using topoSet.
One way that I used that works with Salome is to create two meshes (or more, depending on how many regions you have), create the boundary that will be the interface between the regions. After that export and convert it to the openfoam format, run splitMeshRegions and create the interfaces on the boundary file.

There are others/better ways to do this, although I don't have enough experience to give you the best answer. However, I believe snappyHexMesh has ways to do it as well.

bibin.sme February 18, 2016 00:35

Thank you so much Joćo...

Bibin

dewey May 18, 2017 18:35

Hi, i am trying to run a chtMultiRegionFoam, i have 3 bodyes, the fluid pipe, and inside i have 2 obstacles, 1 solid, and one porous.
My mesh was created with ansys and exported, later i used the command
splitMeshRegions -cellZones -overwrite in order to put my 3 domains,
but when create the porous zone, this command create the internal faces as wall, how can avoid this? the fluid flow through the porous media. this 2 walls have to be internal faces

porosity_to_part_4-solid
{
type mappedWall;
inGroups 1(wall);
nFaces 24192;
startFace 1479713;
sampleMode nearestPatchFace;
sampleRegion part_4-solid;
samplePatch part_4-solid_to_porosity;
}


All times are GMT -4. The time now is 09:18.