CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   OpenFoam to CFX (http://www.cfd-online.com/Forums/openfoam/86601-openfoam-cfx.html)

djstoneage March 28, 2011 03:19

OpenFoam to CFX
 
Hi all

Is there a way to export data from OpenFoam to CFX post for post processing?

lentschi March 28, 2011 04:30

Hello,

you can use foamToCGNS.

Regards Markus

xqy March 31, 2011 08:31

foamToCGNS is a standard utility in openfoam-1.7.1?

Why I can't find it?

linnemann March 31, 2011 08:55

foamToCGNS is part of the turbomachinery OSIG for 1.5-dev.

It will work for 1.6-ext with a little modification.

The easiest way to get from OF to CFX without relying on thirdparty tools is using

foamMeshToFluent (for the mesh only)

CFX can import fluent mesh. (not polyhedra cells)

djstoneage March 31, 2011 11:24

I have problem importing the foamdata to cfx. I am currently trying to benchmark openfoam and cfx using the same pre processor and post. trying to bench mark the solver. any one have tried importing foam data to cfx appreciate some help

kurne April 5, 2011 01:54

Dear chyn wey lee
I have successfully transfer the result data from the foam to CFX. The procedure is that first of all you have to use utility foamDataToFluent and this will convert the data in Fluent readable format.Then you can open the fluent and first import the mesh i.e fluent.msh format mesh and then import the file obtain by
utility foamDataToFluent.

In fluent there is an options to convert the fluent data to CFD Post with this you can transfer the data from the Fluent to CFX.

If you find any difficulties then let me know.

Cheers.....

jms May 26, 2011 09:30

Dear Kurne,

Is there any way to make the conversion without going through Fluent? I do not have Fluent and this is the reason why I would rather convert the data straight from OpenFOAM to ANSYS CFX.

Thanks!

Regards,

Josť

camoesas September 27, 2011 05:50

HI Everybody,

I am also interested in a possibility to convert OpenFoam Results to CFX readable file for postprocessing! Is there a way?

Jose have you found something?

Camoesas

camoesas September 28, 2011 05:29

Maybe a detour via foamToCGNS?

Edit: Or as I learned here foamDataToCGNS?

But unfortunately there a just two threads containing the keyword "foamDataToCGNS"

Do I have to download the script and compile it? Like: tecplot
But I dont find any information...

Thomas_Lloyd January 12, 2012 09:23

foamToCGNS for OpenFOAM-1.6-ext
 
Hi all,
I have installed the CGNS converters on OF-1.5-dev successfully.

Can someome please tell me the modifications to make to files before it can be installed for OF-1.6-ext?

Thanks,

Thomas

aqua February 5, 2012 14:37

Quote:

Originally Posted by linnemann (Post 301673)
foamToCGNS is part of the turbomachinery OSIG for 1.5-dev.

It will work for 1.6-ext with a little modification.

The easiest way to get from OF to CFX without relying on thirdparty tools is using

foamMeshToFluent (for the mesh only)

CFX can import fluent mesh. (not polyhedra cells)

Hi,Could you please introduce how to modify the converter so that it will work for 1.6-ext? Thank you so much!!

Aqua

aqua February 5, 2012 14:41

Quote:

Originally Posted by Thomas_Lloyd (Post 339022)
Hi all,
I have installed the CGNS converters on OF-1.5-dev successfully.

Can someome please tell me the modifications to make to files before it can be installed for OF-1.6-ext?

Thanks,

Thomas

Hello,
Thomas,
Did you find the way to modify CGNS so that it can work for 1.6-ext? I am using 1.6-ext, so would really appericate if you can help on this.
Thank you so much!
Aqua

Ohbuchi February 6, 2012 01:55

Hi,
I've build cgnsToFoam, foamToCGNS and related libraries(libcgns, libcgnsoo) from source code for 1.5-dev without modification.
These utilities worked fine on my PC.

aqua February 6, 2012 06:46

Quote:

Originally Posted by Ohbuchi (Post 342874)
Hi,
I've build cgnsToFoam, foamToCGNS and related libraries(libcgns, libcgnsoo) from source code for 1.5-dev without modification.
These utilities worked fine on my PC.

Hi,
did you mean that you built foamToCGNS on your computer for your 1.6-ext?

Sorry my English is not that fluent..

Aqua

aqua March 2, 2012 07:02

Quote:

Originally Posted by linnemann (Post 301673)
foamToCGNS is part of the turbomachinery OSIG for 1.5-dev.

It will work for 1.6-ext with a little modification.

The easiest way to get from OF to CFX without relying on thirdparty tools is using

foamMeshToFluent (for the mesh only)

CFX can import fluent mesh. (not polyhedra cells)

Hello,

I am using foamToCGNS, the mesh is created in OpenFoam by SnappyHexMesh, but when run foamToCGNS, error happens like :

Wrong number of vertices in cell
expected 4,5,6, or 8, found 0

From function foamToCGNS
in file writeCGNS.H at line 219.


Does CGNS deal with polyhedral cell created by snappyHexMesh? If not, is there some other way to convert OF mesh to CFX?

Thank you so much!

Aqua


All times are GMT -4. The time now is 03:05.