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

[Commercial meshers] FluentMeshToFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2012, 10:53
Post FluentMeshToFoam
  #1
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 14
CRT is on a distinguished road
Hi all,

I have a mesh file created with icem, I would like to do the simulations in OpenFOAM. I used FluentMeshToFoam to convert my file and use it. When I check the mesh all seems to be ok, however when I try to visualize the mesh with paraFoam, I can open the file and visualize the outline, but when i switch to wireframe the program breaks as well as my computer.

Do you think that there is a problem with my Mesh, maybe with paraFoam?

What i did in detail
1.
fluent.msh file (2D unstructured mesh) converted using FluentMeshToFoam in a case folder . Within this case folder I have a system folder with the main files ( controlDict, fvSchemes and fvSolution), another folder 0 which is empty, and a constant folder with the g, Rasproperties and Transportproperties files.

from this step I get.
"
Create time

Dimension of grid: 2
Number of points: 906697
Reading points
Number of cells: 899548
Other readCellGroupData: d 1 db9dc 1 0
Reading mixed cells
number of faces: 1806259
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Read zone1:13 name:FLU patchTypeID:fluid
Reading zone data
Read zone1:14 name:int_FLU patchTypeID:interior
Reading zone data
Read zone1:15 name:WALL patchTypeID:wall
Reading zone data
Read zone1:16 name:AXIS patchTypeID:axis
Reading zone data
Read zone1:17 name:INLET patchTypeID:mass-flow-inlet
Reading zone data
Read zone1:18 name:GAPTOP patchTypeIDutflow
Reading zone data


FINISHED LEXING


dimension of grid: 2
Grid is 2-D. Extruding in z-direction by: 0.00781488
Creating shapes for 2-D cells
Building patch-less mesh...--> FOAM Warning :
From function polyMesh:olyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 614
Found 1823356 undefined faces in mesh; adding to default patch.
done.

Building boundary and internal patches.
Creating patch 0 for zone: 14 start: 1 end: 1781999 type: interior name: int_FLU
Creating patch 1 for zone: 15 start: 1782000 end: 1804452 type: wall name: WALL
Creating patch 2 for zone: 16 start: 1804453 end: 1806185 type: axis name: AXIS
Creating patch 3 for zone: 17 start: 1806186 end: 1806249 type: mass-flow-inlet name: INLET
Creating patch 4 for zone: 18 start: 1806250 end: 1806259 type: outflow name: GAPTOP
Creating patch for front and back planes

Patch int_FLU is internal to the mesh and is not being added to the boundary.
Adding new patch WALL of type wall as patch 0
Adding new patch AXIS of type symmetryPlane as patch 1
Adding new patch INLET of type patch as patch 2
Adding new patch GAPTOP of type patch as patch 3
Adding new patch frontAndBackPlanes of type empty as patch 4

Writing mesh... to "constant/polyMesh" done.

End
"


If i check the mesh I get:

"
carles@ISMGT31:~/OpenFOAM/carles-2.1.0/run/2> checkMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.x-97cf67d69932
Exec : checkMesh
Date : May 21 2012
Time : 15:40:40
Host : ISMGT31
PID : 7832
Case : /home/carles/OpenFOAM/carles-2.1.0/run/2
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 = 0

Time = 0

Mesh stats
points: 1813394
internal points: 0
faces: 3605355
internal faces: 1781999
cells: 899548
boundary patches: 5
point zones: 0
face zones: 0
cell zones: 0

Overall number of cells of each type:
hexahedra: 889614
prisms: 9934
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0

Checking topology...
Boundary definition OK.
Cell to face addressing OK.
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
WALL 22453 44910 ok (non-closed singly connected)
AXIS 1733 3468 ok (non-closed singly connected)
INLET 64 130 ok (non-closed singly connected)
GAPTOP 10 22 ok (non-closed singly connected)
frontAndBackPlanes 1799096 1813394 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (-4.73491e-12 0 -0.00390744) (0.38 0.091 0.00390744)
Mesh (non-empty, non-wedge) directions (1 1 0)
Mesh (non-empty) directions (1 1 0)
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (-6.20526e-17 -3.94744e-16 2.47734e-20) OK.
Max cell openness = 2.33542e-16 OK.
Max aspect ratio = 4.02168 OK.
Minumum face area = 3.67793e-09. Maximum face area = 3.57831e-06. Face area magnitudes OK.
Min volume = 2.87426e-11. Max volume = 1.281e-09. Total volume = 0.000242844. Cell volumes OK.
Mesh non-orthogonality Max: 20.4403 average: 4.16882
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.622065 OK.
Coupled point location match (average 0) OK.

Mesh OK.

End
"

All seems to be right

2.
I run paraFoam, select just internalMesh and then click apply.
The program load the file, but as i said, when in the display menu i switch to wireframe the program is collapsed even the computer so I have to "restart" my computer in a bad way...


I hope someone could help me, at least to give some advice about possible errors, because itīs quite strange due to I could visualize it some time ago. I donīt know why I canīt visualize it any more...

I changed the graphic card of my computer, but i think itīs not the problem since i could visualize another mesh from tutorials cases so on.

Thanks a lot,
Carles.
CRT is offline   Reply With Quote

Old   May 22, 2012, 17:06
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Carles,

Try running like this:
Code:
paraFoam -builtin
Best regards,
Bruno
__________________

Last edited by wyldckat; May 23, 2012 at 09:00. Reason: typo in builtin
wyldckat is offline   Reply With Quote

Old   May 24, 2012, 07:12
Thumbs up
  #3
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 14
CRT is on a distinguished road
Hi bruno,

Thanks for your reply.

What does this command do?
I didnīt try and the program seems to work. Thatīs why i donīt want to touch nothing else .

those interested check: http://http://www.cfd-online.com/For...tml#post362852

greetings,
Carles
CRT is offline   Reply With Quote

Old   May 24, 2012, 17:07
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Carles,

When in doubt:
Code:
paraFoam -help
The "-builtin" option uses the internal reader that ParaView has for OpenFOAM. There are several differences between OpenFOAM's official reader and the internal reader, but in the end it's nice to have both options, since this way more possibilities are available.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
fluentmeshtofoam, parafoam


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
[Commercial meshers] fluentMeshToFoam: "fluent patch type shadow not recognised" preibie OpenFOAM Meshing & Mesh Conversion 28 March 29, 2017 05:56
[Commercial meshers] Converting an abaqus mesh using matlab scripts and fluentMeshToFoam MichaelD OpenFOAM Meshing & Mesh Conversion 1 July 2, 2014 07:34
[Commercial meshers] fluentMeshToFoam instead of fluent3DMeshToFoam sasanghomi OpenFOAM Meshing & Mesh Conversion 2 March 29, 2013 08:58
[Commercial meshers] Converting a mesh with splitted cells using fluentMeshToFoam jlpelerin OpenFOAM Meshing & Mesh Conversion 4 April 25, 2011 17:56
[Commercial meshers] Error fluentMeshToFoam loneboard OpenFOAM Meshing & Mesh Conversion 26 February 6, 2009 11:20


All times are GMT -4. The time now is 07:35.