CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Importing 3D mesh from ANSYS to OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2012, 19:12
Question Importing 3D mesh from ANSYS to OpenFOAM
Hugh Ingham
Join Date: Aug 2012
Posts: 35
Rep Power: 13
martyn88 is on a distinguished road
Hi all,
I have created a 3D mesh to be used for a LES simulation using ANSYS meshing, however I am having problems with the cyclic boundary conditions when I import it into OpenFOAM.

When making the mesh I basically swept a 2d mesh through a wedge and used face matching so that the face on each side of the wedge is exactly the same. I also set up a 'cyclic region' using the 2 faces and then exported it.

Upon importing it into FOAM using fluent3DToFoam it passes all the mesh checks and I can view it in paraFoam. However, it imports it with the 2 boundaries as type: symmetryPlane. When I change the boundary file to type: cyclic, and define the other relevant information, it says:

face 0 area does not match neighbour by 140.577496188% -- possible face ordering problem.
patch:symmetry1 my area:1.2669562804e-06 neighbour area:7.26150481844e-06 matching tolerance:0.0001
Mesh face:539866 fc0.089354599 0.032148637105 0.032148637105)
Neighbour fc0.6325670359 0.042837176385 0)
If you are certain your matching is correct you can increase the 'matchTolerance' setting in the patch dictionary in the boundary file.
Rerun with cyclic debug flag set for more information.

From function cyclicPolyPatch::calcTransforms()
in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 220.

FOAM exiting

Here are some images of the mesh:



Here is the boundary file:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

type wall;
nFaces 66;
startFace 538534;
type patch;
nFaces 266;
startFace 538600;
type wall;
nFaces 1000;
startFace 538866;
type cyclic;//symmetryPlane
nFaces 18500;
startFace 539866;
matchTolerance 0.0001; // not required for sym
neighbourPatch symmetry2; // not required or sym
type wall;
nFaces 3600;
startFace 558366;
type cyclic;//symmetryPlane
nFaces 18500;
startFace 561966;
matchTolerance 0.0001; // not required for sym
neighbourPatch symmetry1; // not required for sym

How is this mismatch possible when in the boundary file each patch has the same nFaces and the mesh is the same on both sides? What does it mean by possible face ordering problem? I was told that if the cyclic region is defined in your mesher then everything would be in the right order.
Also, I imported the mesh without defining the cyclic region in ANSYS and it came up with the same error but with a figure of about 176%.

How do I fix this? Any help would be appreciated.

Thanks, Hugh
martyn88 is offline   Reply With Quote


ansys mesher, cyclic bc, mesh conversion, open foam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] [Request] OpenFOAM mesh to 2D Ansys fluent mesh anon_q OpenFOAM Community Contributions 6 July 3, 2023 05:24
Mesh Changing When Importing from Fluent russel60 OpenFOAM Running, Solving & CFD 0 February 15, 2019 16:43
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[CAD formats] Importing mesh files to OpenFOAM: is obj format viable? sudo OpenFOAM Meshing & Mesh Conversion 3 March 5, 2014 05:14

All times are GMT -4. The time now is 06:27.