|
[Sponsors] |
[Commercial meshers] fluent3DMeshToFoam conversion problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2013, 06:01 |
fluent3DMeshToFoam conversion problem
|
#1 |
Member
Join Date: Jul 2013
Posts: 62
Rep Power: 13 |
Hello together,
I'm having some trouble with converting an .msh- Mesh into the OF- format. I'm Using fluent3DMeshToFoam. The mesh consists of tetrahedras, prisms and polyhedras. If I make fluent3DMeshToFoam the conversion happens, but if I do checkMesh, I get the following output: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.1-57f3c3617a2d Exec : checkMesh -constant Date : Sep 25 2013 Time : 10:59:15 Host : "karman" PID : 22015 Case : /z/pro/cfdtmp03/zachjoer/test/sim nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create polyMesh for time = constant Time = constant Mesh stats points: 579505 faces: 4478543 internal faces: 4436101 cells: 2060402 faces per cell: 4.3266528 boundary patches: 10 point zones: 0 face zones: 1 cell zones: 2 Overall number of cells of each type: hexahedra: 0 prisms: 674616 wedges: 0 pyramids: 0 tet wedges: 717 tetrahedra: 1383038 polyhedra: 2031 Breakdown of polyhedra by number of faces: faces number of cells 2 306 3 968 4 757 Checking topology... Boundary definition OK. Illegal cells (less than 4 faces or out of range faces) found, number of cells: 1274 <<Writing 1274 illegal cells to set illegalCells Point usage OK. Upper triangular ordering OK. Face vertices OK. Number of regions: 1 (OK). Checking patch topology for multiply connected surfaces... Patch Faces Points Surface topology B_11 1209 641 ok (non-closed singly connected) B_10 13030 6617 ok (non-closed singly connected) B_13 3350 2716 ok (non-closed singly connected) B_12 6488 3348 ok (non-closed singly connected) B_14 3356 2719 ok (non-closed singly connected) B_2 2640 1431 ok (non-closed singly connected) B_4 396 228 ok (non-closed singly connected) B_7 158 92 ok (non-closed singly connected) B_6 4960 2506 ok (non-closed singly connected) B_9 6855 3470 ok (non-closed singly connected) Checking geometry... Overall domain bounding box (-0.65547 -0.3 -0.3) (1.99753 0.3 0.3) Mesh (non-empty, non-wedge) directions (1 1 1) Mesh (non-empty) directions (1 1 1) Boundary openness (3.2271105e-16 2.0610033e-17 -7.3297854e-17) OK. ***Open cells found, max cell openness: 1, number of open cells 2748 <<Writing 2748 non closed cells to set nonClosedCells <<Writing 27330 cells with high aspect ratio to set highAspectRatioCells Minimum face area = 3.127814e-09. Maximum face area = 0.0061901726. Face area magnitudes OK. Min volume = 3.8690058e-13. Max volume = 0.00015677402. Total volume = 0.95395743. Cell volumes OK. Mesh non-orthogonality Max: 88.836451 average: 17.259755 *Number of severely non-orthogonal faces: 5758. Non-orthogonality check OK. <<Writing 5758 non-orthogonal faces to set nonOrthoFaces Face pyramids OK. Max skewness = 3.6532294 OK. Coupled point location match (average 0) OK. Failed 2 mesh checks. End Best regards, CFDnewbie147 |
|
September 27, 2013, 03:34 |
|
#2 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
check where are those open cells
OF write those cells in the "nonClosedCells" subset. So you can display them in Paraview for instance >foamToVTK -cellSet nonClosedCells Which software did you use to generate your mesh?
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
September 28, 2013, 08:56 |
|
#3 |
Member
Join Date: Jul 2013
Posts: 62
Rep Power: 13 |
Hey,
i did what you told me and those cells are everywhere (not only the non closed cells, also the illegal cells(why are they illegal? they are polyhedra with 2 or 3 faces!) and the non-orthogonal faces. I used an enterprise intern mesher (from TAU- Code) and converted the netcdf- format- mesh to a fluent mesh. And this .msh mesh i imported via fluent3DMeshToFoam to the OF mesh format. Can u help me what i have to do? Is this a problem caused by converting the mesh two times or is the mesh really bad??? Thank you for ur help! |
|
September 30, 2013, 02:47 |
|
#4 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
If you have the possibility, try to run a check mesh in fluent
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
September 30, 2013, 03:40 |
|
#5 |
Member
Join Date: Jul 2013
Posts: 62
Rep Power: 13 |
Thank you for your quick reply.
But I don't have the opportunity to check the mesh in fluent, only when I'm back at university in a few weeks. Is there a "button" for checking the mesh in fluent or how do you mean I should check the mesh? Best regards, cfdnewbie147 |
|
September 30, 2013, 03:53 |
|
#6 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
you load your mesh in fluent, then in define/check mesh:
http://www.sharcnet.ca/Software/Flue...e178.htm#21267
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
January 10, 2014, 06:07 |
|
#7 | |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
Quote:
How you saved the fluent mesh file in ascii format? I have no idea about it Thanks |
||
January 10, 2014, 07:55 |
|
#8 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
the msh file isn't created from fluent, but from the mesher: gambit for instance
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
January 10, 2014, 09:42 |
|
#9 |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
||
January 10, 2014, 10:13 |
|
#10 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
I don't have ANSYS, so I am not helpfull
Maybe you should ask on ANSYS Meshing subforum
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
February 3, 2014, 06:10 |
|
#11 |
Member
Join Date: Jul 2013
Posts: 62
Rep Power: 13 |
Hello together,
I have to say I don't know how to save a ANSYS-mesh-file in an ASCII format because I didn't use ANSYS to create this mesh. I used a selfmade python script for converting into the .msh format. I hope you will find an answer. Best regards CFDNewbie147 |
|
February 13, 2014, 16:57 |
|
#12 | |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Quote:
http://www.cfd-online.com/Forums/ans...ii-format.html With regards, Sebastian |
||
February 16, 2014, 15:32 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Sebastian,
Thanks for the late reply. It reminded me that we needed a FAQ for this. I've added it here: http://openfoamwiki.net/index.php/FA...sh_in_ASCII.3F Best regards, Bruno
__________________
|
|
March 12, 2014, 06:07 |
|
#14 | |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Quote:
|
||
March 12, 2014, 06:16 |
|
#15 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
If you are using the default meshing method in Ansys meshing then it is heavily probable that you will keep receiving these errors no matter how good your mesh looks in fluent. The default meshing method creates very nice mesh in some parts and fills in rest of the part with some poor quality elements (poor for openfoam, fluent will happily except it).
You could do one of following: 1. You can always visualize elements based on their quality in Ansys meshing. Decide if they are good or not and keep on trying until you get a mesh with proper quality. 2. You can chose a method that has only one type of elements (hexa or tetra). It is more easy to control the quality of mesh if you have only one type elements by simply controlling the size. Someone please correct me if I am wrong. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BuoyantBoussinesqSimpleFoam_Facing problem | Mondal131211 | OpenFOAM Running, Solving & CFD | 1 | April 10, 2019 20:41 |
Mesh& steptime independant: conduction-convection problem | Fati1 | Main CFD Forum | 1 | October 28, 2018 14:52 |
Problem diverges when exhaust valve opens | swerner0711 | AVL FIRE | 0 | September 21, 2018 08:14 |
[Other] Mesh Conversion to Openfoam problem | Ahadi | OpenFOAM Meshing & Mesh Conversion | 0 | June 13, 2014 10:28 |
Unit Conversion Problem | lambuhere | CFX | 0 | August 20, 2004 05:49 |