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

[mesh manipulation] Using stitchMesh for two pairs of patches

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2006, 13:16
Default Using stitchMesh for two pairs of patches
  #1
Member
 
Kati Laakkonen
Join Date: Mar 2009
Location: Espoo, Finland
Posts: 35
Rep Power: 17
kati is on a distinguished road
There was a discussion about this earlier, but there didn't seem to be a final conclusion (at least I didn't find one).

I'm trying to model a mixer in a pipe and to reduce the cell count I thought I could use "nonconformal boundaries" (okay that's Fluent-language), one before and one after the mixer. So there is two pairs of patches that I should stitch together.

I can do the stitching for one pair at time, without getting major error messages, but if I try to do it to a mesh with one couple already stitched, it complains about mixed unused nodes and exits.

Does someone know should it work for two pairs, and if yes, give some hints how to do that? For example I don't know what to do with all the zone files it creates, I just renamed them so stitchMesh wouldn't find them. When trying it I moved polyMesh from 1 back to constant, don't know if it should work that way. The version I'm using is 1.2.
kati is offline   Reply With Quote

Old   March 17, 2006, 14:08
Default Sorry about the double posting
  #2
Member
 
Kati Laakkonen
Join Date: Mar 2009
Location: Espoo, Finland
Posts: 35
Rep Power: 17
kati is on a distinguished road
Sorry about the double posting... Is there a way to cancel the own messages?

I got an idea of combining the two pairs into one pair (one patch included then two separate areas, the other patch the same areas but different mesh structure), but that gave the same error message as after stitching one pair: mixed used and unused points at the end of point list.

Regards,
Kati
kati is offline   Reply With Quote

Old   May 22, 2006, 12:55
Default I have a quite similar problem
  #3
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
I have a quite similar problem: I'd like to use "nonconformal boundaries" around a boundary layer, as shown in the picture:


Well, when I use the stitchMesh command this way:
stitchMesh . prova_stitch prism-side-8 prism-side-8-retri-31
I get the following error:
------------------
Adding point and face zones
Reading all current volfields


--> FOAM FATAL ERROR : Duplicate point found in cut face. Error in the face cutting algorithm for global face 3(1062 4710 4774) local face 3(12 240 244)
Slave size: 488 Master size: 600 index: 0.
Face: 5(1062 10124 10244 29022 29142)
Cut face:
101
[...]
------------------

While, when I try to swap master and slave patches I get:

stitchMesh . prova_stitch prism-side-8-retri-31 prism-side-8

------------------
Adding point and face zones
Reading all current volfields


--> FOAM FATAL ERROR : Face 100815 reduced to less than 3 points. Topological/cutting error B.
Old face: 2(4006 13989) new face: 2(4006 13989)

From function void slidingInterface::coupleInterface(polyTopoChange& ref) const
in file slidingInterface/coupleSlidingInterface.C at line 1664.

FOAM aborting
------------------

You said that you could stich the first pair of faces.
Any suggestion?

Francesco
fra76 is offline   Reply With Quote

Old   May 22, 2006, 15:11
Default Hi Francesco, Sorry, I don'
  #4
Member
 
Kati Laakkonen
Join Date: Mar 2009
Location: Espoo, Finland
Posts: 35
Rep Power: 17
kati is on a distinguished road
Hi Francesco,

Sorry, I don't have an answer to your question. I gave up with my case. What I did find out, was that one pair with more than one continuous region worked with simple meshes. So it seemed to have something to do with the quality of the meshes. Because the mesh in my case was complicated and not really good quality, I didn't work on it any further.

Kati
kati is offline   Reply With Quote

Old   May 24, 2006, 03:04
Default Thanks for the answer, even if
  #5
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
Thanks for the answer, even if it leaves me almost hopeless.
You mean that you cannot deal with "nonconformal boundaries", isn't it?
We're planning a fluent/foam comparison on an aerodynamics study of a sport motorbike, using the same mesh, of course.
The problem is how to treat the side of the prismatic boundary layer, and I hoped the stitchMesh could help me.
fra76 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
Problem using AMI vinz OpenFOAM Running, Solving & CFD 298 November 13, 2023 09:19
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 09:00
Regarding periodic BC in ICEM generated grid Tarak OpenFOAM 32 April 30, 2013 15:46


All times are GMT -4. The time now is 20:13.