CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   OpenFOAM to Z88 mesh (https://www.cfd-online.com/Forums/openfoam-meshing/120272-openfoam-z88-mesh.html)

mturcios777 July 3, 2013 15:54

OpenFOAM to Z88 mesh
 
Hello everyone,

I've been experimenting with the open source FEA package Z88 Aurora. I was looking to do some analysis based on the conjugate heat transfer in OpenFOAM. I was curious if anyone has done any work on data interchange between these two programs. I was mainly looking to convert a tet-mesh in OF to a tet-mesh in Z88.

Figured I'd ask before I started on a damn fool idealistic crusade :D

Thanks everyone!

mebarrington August 18, 2017 11:05

Hi mturcios777,

I know this post is from long ago, but I am just stating what you intended to start in 2013.

I am also looking to use results from OpenFOAM in Z88. Was the data interchange easy? Should I dive right into this?

Any and all advice is appreciated!

mturcios777 August 18, 2017 12:21

Hello Matthew,

I did do some work on this but only ever tested it on a single geometry. I believe I did it in general like this:

1) Write out the OpenFOAM pointField interpolation to use as source
2) Map the Openfoam point values to the Z88 Points

If you read the Z88 programming manual, you can find the description for the boundary condition files. Its pretty straightforward.

For step 1 I think I just dumped the pointfield with (x,y,z) coordinates and field values through a purpose built Foam utility, then read that file in steps 2 and output the Z88 file. If I knew more about the interpolation function in finiteVolume, I could probably streamline the process by writing a parser to read in the Z88 mesh, directly map the Foam point field to the Z88 point field, then write out the Z88 boundary condition file.

The documentation is all there for how files are formatted and how to set things appropriately. Its just a tedious process. Thankfully, you do it properly once and it should work for all future case.


All times are GMT -4. The time now is 08:40.