How do I export the volume mesh for ANSYS / FLUENT?

1,113 views
Skip to first unread message

Paul Delgado

unread,
May 4, 2012, 4:51:53 PM5/4/12
to iso2mesh-users
We noticed that there is no particular way to save a volume mesh. We
need to export the meshes for ANSYS FLUENT. How can we accomplish
this?

Qianqian Fang

unread,
May 5, 2012, 6:14:55 PM5/5/12
to iso2mes...@googlegroups.com, Paul Delgado
do you know the file format? If you can provide a
detailed file specification, I don't mind writing a
converter.

Qianqian


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Paul Delgado

unread,
May 7, 2012, 11:57:00 AM5/7/12
to iso2mesh-users
When I try opening a FLUENT mesh file (.msh), it looks a bit
complicated. I'm not sure that I can make much sense of it. I did
find a source online which somewhat describes how the files are
structured. Again, it seems a bit complicated, but perhaps it might
make more sense to you? :)
http://www.stanford.edu/class/me469b/handouts/gambit_write.pdf

I also found this discussion on the cfd forum about converting STL
files to FLUENT meshes, and it seems that it cannot really be done...
http://www.cfd-online.com/Forums/fluent/33918-stl-file-mesh-surface-problems.html

If you need a sample .msh file for comparison, I can upload one (i'm
not sure how to do it directly on the forum).
Just let me know.
Thanks.
Paul

On May 5, 4:14 pm, Qianqian Fang <fa...@nmr.mgh.harvard.edu> wrote:
> On 5/4/2012 10:51 PM, Paul Delgado wrote:
>
> > We noticed that there is no particular way to save a volume mesh.  We
> > need to export the meshes for ANSYS FLUENT.  How can we accomplish
> > this?
>
> do you know the file format? If you can provide a
> detailed file specification, I don't mind writing a
> converter.
>
> Qianqian
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine athttp://www.partners.org/complianceline. If the e-mail was sent to you in error

Qianqian Fang

unread,
May 7, 2012, 5:20:50 PM5/7/12
to iso2mes...@googlegroups.com, Paul Delgado
On 5/7/2012 5:57 PM, Paul Delgado wrote:
> When I try opening a FLUENT mesh file (.msh), it looks a bit
> complicated. I'm not sure that I can make much sense of it. I did
> find a source online which somewhat describes how the files are
> structured. Again, it seems a bit complicated, but perhaps it might
> make more sense to you? :)
> http://www.stanford.edu/class/me469b/handouts/gambit_write.pdf
>
> I also found this discussion on the cfd forum about converting STL
> files to FLUENT meshes, and it seems that it cannot really be done...
> http://www.cfd-online.com/Forums/fluent/33918-stl-file-mesh-surface-problems.html

iso2mesh supports STL and binary STL files, both added recently:

http://iso2mesh.svn.sourceforge.net/viewvc/iso2mesh/trunk/iso2mesh/savestl.m?view=log
http://iso2mesh.svn.sourceforge.net/viewvc/iso2mesh/trunk/iso2mesh/savebinstl.m?view=log

you'll have to download the svn version to use them

http://iso2mesh.sf.net/cgi-bin/index.cgi?Download#Anonymous_SVN_Access

Qianqian

Deng Hang

unread,
May 22, 2012, 4:57:15 PM5/22/12
to iso2mesh-users
Hi,

I am trying to find a way to export volume mesh generated in iso2mesh
to CFD simulator as well. Theoretically, I should be able to just use
the STL file from iso2mesh to generate volume mesh in the simulator,
but I haven't succeeded yet. But iso2mesh is very easy to use and
generate a volume mesh for me quite nicely.

I wonder if Qianqian has got the time to write a converter to FLUENT.

Though I am using OpenFOAM instead of FLUENT, but conversion between
them is generally simple.

Thank you so much!

Best,

On May 7, 5:20 pm, Qianqian Fang <fan...@gmail.com> wrote:
> On 5/7/2012 5:57 PM, Paul Delgado wrote:
>
> > When I try opening a FLUENT mesh file (.msh), it looks a bit
> > complicated.  I'm not sure that I can make much sense of it.  I did
> > find a source online which somewhat describes how the files are
> > structured.  Again, it seems a bit complicated, but perhaps it might
> > make more sense to you? :)
> >http://www.stanford.edu/class/me469b/handouts/gambit_write.pdf
>
> > I also found this discussion on the cfd forum about converting STL
> > files to FLUENT meshes, and it seems that it cannot really be done...
> >http://www.cfd-online.com/Forums/fluent/33918-stl-file-mesh-surface-p...
>
> iso2mesh supports STL and binary STL files, both added recently:
>
> http://iso2mesh.svn.sourceforge.net/viewvc/iso2mesh/trunk/iso2mesh/sa...http://iso2mesh.svn.sourceforge.net/viewvc/iso2mesh/trunk/iso2mesh/sa...

Qianqian Fang

unread,
May 22, 2012, 5:29:12 PM5/22/12
to iso2mes...@googlegroups.com, Deng Hang
On 05/22/2012 04:57 PM, Deng Hang wrote:
> Hi,
>
> I am trying to find a way to export volume mesh generated in iso2mesh
> to CFD simulator as well. Theoretically, I should be able to just use
> the STL file from iso2mesh to generate volume mesh in the simulator,
> but I haven't succeeded yet. But iso2mesh is very easy to use and
> generate a volume mesh for me quite nicely.
>
> I wonder if Qianqian has got the time to write a converter to FLUENT.

the STL and binary STL files generated from my scripts
were only tested on meshlab. I don't have a copy of
FLUENT unfortunately.

I will be happy to modify the script to support FLUENT,
but I think it is more important for you to find out what
STL format does FLUENT accept. If you can share a
working sample, that can help a lot.

Once again, contribution from anyone is highly
encouraged, that is the whole idea of making it
open-sourced.

Qianqian
Reply all
Reply to author
Forward
0 new messages