CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] SplitMesh error messages

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2006, 11:51
Default SplitMesh error messages
  #1
Member
 
Rosario Russo
Join Date: Mar 2009
Location: Trieste, Italy
Posts: 56
Rep Power: 17
ariorus is on a distinguished road
Hi,
I need to split my mesh in order to apply boundary conditions at some internal zero-thickness surfaces.

I used this approach:

1)I exported my mesh (from gambit) applying interior boundary at a zero-thickness surface named "thinsurf".
In this way I get a faceset named thinsurf.

2) modified boundary file by adding two empty boundaries with zero faces, called "thinsurf1" and "thinsurf2".

3) executed "splitMesh . mycase thinsurf thinsurf1 thinsurf2".

I tried using a very 2d simple mesh and it works ok, but using 3d meshes I have a lot of problems.

The output of splitMesh is the following:
[...]
Splitter
{
type attachDetach;
faceZoneName membraneFaces;
masterPatchName thinface1;
slavePatchName thinface2;
triggerTimes 1(0);
manualTrigger off;
active on;
}

Adding topology modifiers
--> FOAM Warning :
From function bool primitiveMesh::checkCellsZipUp(const bool, labelHashSet*) const
in file meshes/primitiveMesh/primitiveMeshCheck.C at line 1471
40 open cells found. Please use the mesh zip-up tool.
Failed 1 mesh topology checks.
Failed some mesh checks.
[...]


And the output of "checkMesh . mycase" gives me a lot of messages like this:


bool primitiveMesh::checkCellsZipUp(const bool, labelHashSet*) const :
Cell 6324 has got 4 unmatched edges:
4
(
(1702 1654)
(1702 551)
(551 192)
(192 1654)
)


--> FOAM Warning :
From function bool primitiveMesh::checkCellsZipUp(const bool, labelHashSet*) const
in file meshes/primitiveMesh/primitiveMeshCheck.C at line 1471
40 open cells found. Please use the mesh zip-up tool.
Writing 40 cells with over used edges to set zipUpCells


I think the problem is in the mesh but if I run checkMesh before using splitMesh everything seems ok. I don't know what to do...

Thank you for any suggestions.
ariorus is offline   Reply With Quote

Old   January 26, 2006, 09:57
Default So far I succeeded if my thin
  #2
Member
 
Rosario Russo
Join Date: Mar 2009
Location: Trieste, Italy
Posts: 56
Rep Power: 17
ariorus is on a distinguished road
So far I succeeded if my thin surface is surrounded by layers of prisms.

Simple tetrahedra cells give errors. Probably the error is due to theaedra having sharp points on the surface...
ariorus is offline   Reply With Quote

Old   March 14, 2006, 10:31
Default I had a similar problem with l
  #3
Member
 
Kati Laakkonen
Join Date: Mar 2009
Location: Espoo, Finland
Posts: 35
Rep Power: 17
kati is on a distinguished road
I had a similar problem with lots of unmatched edges and open cells after splitMesh. I then read the original mesh into Fluent (changed the interior to wall before that) and wrote it out as a case file, and ran fluentMeshToFoam on the case file. The resulting foam mesh is ok.

I also tested a very simple 3D case with internal boundary condition, and that was ok for splitMesh. The original case was about 2 million cells and complicated structure, no tetras, but some prisms. I don't know what exactly is the problem with the larger mesh. If someone is interested in developing splitMesh further, I can test it more or try to find the places and mesh structure where it goes wrong.
kati is offline   Reply With Quote

Old   October 20, 2009, 09:12
Default
  #4
Member
 
toto
Join Date: Jun 2009
Posts: 71
Rep Power: 16
ronaldo is on a distinguished road
Hi,

please just tell me how to run splitMesh and CellSet?
What about the makeCellSets.setSet file.

Thank you in advance!
ronaldo is offline   Reply With Quote

Old   September 27, 2019, 04:37
Arrow Boundary conditions (PatchType and vlaue) for newly created boundaries
  #5
New Member
 
Purn Prakash
Join Date: Nov 2018
Posts: 27
Blog Entries: 1
Rep Power: 7
purnp2 is on a distinguished road
Hello,
I am reviving this old post in hope of understanding the complete picture of how splitMesh works.

I have written my original post here:
boundary conditions for p, U, omega, k and nut for an "internal wall" of a mesh

My question, in the context of the current thread is: what boundary condtions should I use for the newly generated walls (thinsurf1 and thinsurf2).

1. For example, in 0/p.boundaryField
Code:
thinsurf1
{
     type    <?????>
}
thinsurf2
{
     type     <?????>
}
2. In 0.polyMesh
Code:
thinsurf1
{
       type          <?????>
       inGroup     1(<?????>)
       nFaces       283
       startFace   466642
}
thinthinsurf2
{
       type          <?????>
       inGroup     1(<?????>)
       nFaces       283
       startFace   466925
}
What should I assinge in places of <?????> ?
purnp2 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
createPatch and splitMesh problem dhruv OpenFOAM 3 August 6, 2018 01:47
[mesh manipulation] splitMesh utility achyutan OpenFOAM Meshing & Mesh Conversion 0 January 4, 2014 05:47
Master and Slave patches from a splitMesh Hisham OpenFOAM Running, Solving & CFD 1 August 28, 2012 13:59
splitMesh Error robingilbert OpenFOAM 0 March 17, 2010 18:16
Poblem with splitMesh sara OpenFOAM Running, Solving & CFD 0 December 3, 2008 03:07


All times are GMT -4. The time now is 12:02.