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/)
-   -   topoSet and splitMeshRegions (https://www.cfd-online.com/Forums/openfoam-pre-processing/190305-toposet-splitmeshregions.html)

amod_kumar July 10, 2017 08:54

topoSet and splitMeshRegions
 
Hello,

I am trying to modify a bit the tutorial folder multiRegionHeater. The 3 zones used in the tutorial is being simplified by a bottom water domain, top air domain and a thin solid domain separating the air and water.

The output of topoSet and splitMeshRegions are attached below. While topoSet has created 3 cell zones, split mesh is able to recognize only two zones, it is combining water and solid zone (as evident from the number of cells).

Any suggestion!

Regards,
Amod
-----+-----+-----+-----+-----+-----+
Output from <topoSet> command-line utility:

Time = 0
mesh not changed.
Created cellSet waterCellSet
Applying source boxToCell
Adding cells with center within boxes 1((-10 -10 -10) (10 -0.01 10))
cellSet waterCellSet now size 7500
Created cellSet solidCellSet
Applying source boxToCell
Adding cells with center within boxes 1((-10 -0.01 -10) (10 0.01 10))
cellSet solidCellSet now size 5000
Created cellSet airCellSet
Applying source boxToCell
Adding cells with center within boxes 1((-10 0.01 -10) (10 10 10))
cellSet airCellSet now size 7500
Created cellZoneSet airDomain
Applying source setToCellZone
Adding all cells from cellSet airCellSet ...
cellZoneSet airDomain now size 7500
Created cellSet solidZone
Applying source cellToCell
Adding all elements of cellSet solidCellSet ...
cellSet solidZone now size 5000
Created cellSet waterDomain
Applying source cellToCell
Adding all elements of cellSet waterCellSet ...
cellSet waterDomain now size 7500
End

---------------------------
Output from <splitMeshRegions -cellZones -overwrite>
Create mesh for time = 0

Creating single patch per inter-region interface.

Trying to match regions to existing cell zones.


Number of regions:2

Writing region per cell file (for manual decomposition) to "/home/ofuser/workingDir/of_Simu/multiRegionHeater/constant/cellToRegion"

Writing region per cell as volScalarField to "/home/ofuser/workingDir/of_Simu/multiRegionHeater/0/cellToRegion"

Region Cells
------ -----
0 12500
1 7500

Region Zone Name
------ ---- ----
0 -1 domain0
1 0 airDomain


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