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

[Commercial meshers] Pointwise to Foam - cyclic BC points order

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Pj.
  • 2 Post By cnsidero

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 16, 2014, 09:35
Default Pointwise to Foam - cyclic BC points order
  #1
Pj.
Member
 
Luca
Join Date: Mar 2013
Posts: 68
Rep Power: 13
Pj. is on a distinguished road
Hi everybody

I'm trying to run a case containing a cyclic BC using a mesh prepared with PointWise.
I'm facing some problem with the correct exportation of the two cyclic boundaries patch. I created the periodic faces (or domains in Pointwise language) in Pointwise using the create > periodic > translate command. Then I exported the mesh as OpenFoam mesh and ran the command foamUpgradeCyclics to upgrade the cyclic definition to the "new" format.

When i run checkMesh it warns me:
Code:
 **Error in coupled point location: 1 faces have their 0th or 
consecutive vertex not opposite their coupled equivalent. Average mismatch 0.
To better understand the problem I prepared two 1-by-1-by-1 meshes (a mesh with only one cell) with a cyclic BC on two opposite faces both with Pointwise and blockMesh.

I figured that the problem is in the way Pointwise orders the points of the faces of the periodic boundaries.

To make an example lets say that I want to cycle the face 1-2-3-4 to the face 1'-2'-3'-4'.
BlockMesh create two faces:
face 1: (1 2 3 4)
face 2: (1' 4' 3' 2')
that is to say that:
-the two face start with the "same" point
-the points are take once clockwise and once counter-clockwise (this way the normal is always pointing inside the volume)

Pointwise create two faces:
face 1: (1 2 3 4)
face 2: (4' 3' 2' 1')
that is to say that:
-the two face DOESN'T start with the "same" point
-the points are take once clockwise and once counter-clockwise (this way the normal is always pointing inside the volume)

As I said: checkMesh returns the error I copied above with the Pointwise version, while it accepts the checkMesh version.
I link a tar file containing the test case with the pointwise .pw file, the blockMesh dict and two polyMesh folders, one with the mesh generated by Pointwise (PW) and the one generated by blockMesh (BM).
https://www.dropbox.com/s/6y0iba661m...ST.tar.gz?dl=0

How can I solve this problem (on a way more complex mesh of course)?

Thank you very much,
Luca
foam likes this.
Pj. is offline   Reply With Quote

 


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
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 10:01.