[关闭]
@BravoWA 2016-06-06T02:20:45.000000Z 字数 1321 阅读 2140

Possible way to create Polyhedral Mesh and post-processing using Fluent file format

Polyhedral S-FEM CFD Fluent


1. Idea

Many commerical software and openfoam have supported the polyhedral grid for CFD.
We have already know S-FEM is able to use n-side polyhedral elements in solid mechanics.
However, the pre-processing and post-precessing are awful which were done by Matlab.
Thus, figure out the mesh file format of one commerical software, like Fluent, then use the file to extract the info we want.

2. Fluent .cas file format for polyhedral grid

Note that Fluent can only convert the Tet to polyhedons in 3D cases, no ability in 2D.

To figure out the format, I did following procedures:

1. I did a unit cube in the Mesh of Ansys workbench.
2. Open it in Fluent.
3. Click on Fluent-Mesh-Polyhedra-Convert Domain, convert Tet mesh to Polyhedra mesh.
4. Click on Fluent-File-Export-Case, without option write binary format.
5. Open .cas file in any text editor.
6. Goto URL: https://www.sharcnet.ca/Software/TGrid/pdf/ug/appb.pdf, to understand text blocks in .cas file

3. My understandings

Look at .cas file, Fluent is no longer using cell to present the mesh when using polyhedral grids.
Only the faces of polyhedral grids are necessary.
However, in previous works about polyhedron in S-FEM, we still need the connectivities of one polyhedral element, i.e., cell.
We need to write codes to rebuild the connectivities of one polyhedral element.

After we got the result, we need also to rewrite the .dat file of Fluent. Then,we can use Ansys-CFD-Post to visualize them.

End.

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注