|
[Sponsors] |
[Commercial meshers] How to convert a .msh file to open Foam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2012, 07:18 |
|
#41 |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
thank -mAx-
its work |
|
October 27, 2012, 08:14 |
|
#42 |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
hi
I can convert my .msh file and create some files that includes boundry,faces,points,zonepoints and ... now how can I create the blockMesh file? |
|
October 27, 2012, 13:01 |
|
#43 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
no blockMesh is just another way for meshing.
In your case you can go and define your boundary conditions Don't forget to scale your problem with transformPoints Also checkMesh and renumberMesh
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
October 28, 2012, 14:36 |
|
#44 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Quote:
when you import your file from gambit or some where else it is not necessary any more, now the main file you maybe want to change is "boundary" file in constant/polyMesh there, you can define your boundary name or type! also as Max told, another tools are checkMesh and transportPoints checkMesh is an utility which shows whether your mesh is suitable for OpenFOAM or not and return some essential results of your mesh.
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
November 13, 2012, 10:51 |
|
#45 |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
thanks for reply
now I have a file .msh and when convert it I see this error Creating patch 0 for zone: 3 name: wall type: wall Creating patch 1 for zone: 4 name: body type: wall Creating patch 2 for zone: 5 name: outlet type: outflow Creating patch 3 for zone: 6 name: inlet type: inlet-vent Creating cellZone 0 name: fluid type: fluid Creating faceZone 0 name: default-interior type: interior faceZone from Fluent indices: 217967 to: 26546254 type: interior new cannot satisfy memory request. This does not necessarily mean you have run out of virtual memory. It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library Aborted (core dumped) [hadi@hadi bluntbody]$ |
|
November 13, 2012, 10:57 |
|
#46 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
How big is your mesh, and how many ram-memory do you have?
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 13, 2012, 11:59 |
|
#47 |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
my size of file 1.8gig and my ram is 8gig
|
|
November 14, 2012, 01:41 |
|
#48 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 28, 2012, 02:52 |
|
#49 | |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
hi
I excute the checkMesh , All of them its Ok but at the end line : Quote:
|
||
November 28, 2012, 09:05 |
|
#50 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
you can see high skewness mesh in paraview, but what exactly do you want to know?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
November 28, 2012, 11:10 |
|
#51 | |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
salam
I want to know what is this?and what should I do for this error? Quote:
I see my geometry in paraFoam and its look like gambit file. |
||
November 29, 2012, 06:21 |
|
#52 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Quote:
but if you want to see the high skewness cells in paraview, activate include sets , then choose skew cells
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
December 9, 2012, 07:02 |
|
#53 |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
hi
I solved my skew error with divided the volumes in to the small parts.but now I face this error: non positive volumes exists. I check the volumes in the Examine mesh/volume and I put the the upper limit in to the 0 then show a face.I remesh and after check I don't see that faces and any thing but when I converted I see this error again: non positive volumes exists. |
|
December 9, 2012, 11:54 |
|
#54 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
maybe it returns for the direction of block definition
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
January 31, 2013, 07:30 |
|
#55 | |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 15 |
Hello All,
I have a *.msh file and I'm trying to convert it to OpenFoam format. when I use fluentMeshToFoam or fluent3DMeshToFoam functions, the mesh is apparently converted. Even when I check the mesh with checkMesh function it says that the mesh is O.K. but when I make the mesh by blockMesh it makes an error: Quote:
When I put another tutorials blockMeshDict file beside my mesh, the blockMesh works but the mesh shown in Paraview is just a cube, that is my outer boundary not all of it. What should I do to fix the problem? Thanks in advance, Ali |
||
January 31, 2013, 07:34 |
|
#56 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Once your mesh is converted with fluentMeshToFoam or fluent3DMeshToFoam, then your geometry is ready.
What do you want to do with blockMesh?
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
February 1, 2013, 16:34 |
|
#57 |
Member
hadi abdollahzadeh
Join Date: Aug 2012
Location: Iran-yasouj
Posts: 59
Rep Power: 14 |
salam
dear Ali when you create your mesh and covert it ,It's not nessary use blockMesh because blockMesh is utility that create mesh after convert your mesh ,set your B.Cs and run your case |
|
February 2, 2013, 06:12 |
|
#58 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 15 |
Hi MAX,
My Problem is solved. thanks for the reply. Regards, Ali |
|
February 2, 2013, 06:14 |
|
#59 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 15 |
Dear Hadi,
Thanks for the reply, my problem is solved, Regards, Ali |
|
May 2, 2013, 16:29 |
Fluent mesh conversion
|
#60 |
Member
sandy
Join Date: May 2013
Posts: 91
Rep Power: 13 |
Hi danath ,
I tried converting in the same way u did . but it shows errors for me .. my msh file is flat.msh. I created a folder named Flat plate (/OpenFOAM/OpenFOAM-2.2.0/tutorials/incompressible/simpleFoam/Flat Plate$) I then copied the flat.msh into this . I also copied the O , constant , system in any one of the tutorials folder into it . now the Flat plate folder consists of the following things 1.0 folder 2.constant folder 3.system folder 4.flat.msh when i pointed to the Flat plate folder and in the terminal , i gave fluentMeshToFoam flat.msh .. It shows error .. . I am struggling a lot to do this simple conversion . Can you help me with this .. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |