CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] splitMeshRegions Error! (https://www.cfd-online.com/Forums/openfoam-meshing/153317-splitmeshregions-error.html)

aminem May 22, 2015 11:22

splitMeshRegions Error!
 
1 Attachment(s)
Hi,

Can anyone told me why I have an error when I tape this command:

Code:

splitMeshRegions -cellZonesOnly
Error

Code:

For the cellZonesOnly option all cells have to be in a cellZone.
Cell 0 at(-0.37500614 -0.37500185 -0.32501155) is not in a cellZone. There might be more unzoned cells.

I have 3 solid and one fluid in my problem (see attached picture).

Thanks.

zfaraday May 23, 2015 07:54

Try using
Code:

splitMeshRegions -cellZones

aminem May 24, 2015 13:35

Hi,

Yes, it's work with

Code:

splitMeshRegions -cellZones
but I want to understand why it's doesn't work with

Code:

splitMeshRegions -cellZonesOnly
Thanks

aminem May 27, 2015 06:30

Hi,
I have resolved a problem

This command
Code:

splitMeshRegions -cellZonesOnly
can work if I make all cells in a zone by using topoSetDict.

Thanks

cfdsolver1 September 19, 2016 02:21

Hello, I am having the same problem. Can you explain how did you solve this issue? Thanks.


Quote:

Originally Posted by aminem (Post 547843)
Hi,
I have resolved a problem

This command
Code:

splitMeshRegions -cellZonesOnly
can work if I make all cells in a zone by using topoSetDict.

Thanks


Bloerb September 20, 2016 09:38

Check your polyMesh directory. Now check if there is a file called cellZones. If there is open it and check how many there are, what the names are etc. Also check if you have a folder called sets. For the cellZones only option to work you need to have a cellZone for every cell in your mesh.

If there is no such file you need to create those zones with topoSet

aezid August 13, 2020 04:39

Quote:

Originally Posted by aminem (Post 547843)
Hi,
I have resolved a problem

This command
Code:

splitMeshRegions -cellZonesOnly
can work if I make all cells in a zone by using topoSetDict.

Thanks

Could you please share that topoSetDict. ? I am also facing this type of error and don't know how to solve this.

Thanks

Reda123 December 31, 2022 05:30

Try with this,
blockMesh
topoSet

splitMeshRegions -cellZonesOnly -overwrite


All times are GMT -4. The time now is 08:55.