CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   FoamMeshToFluent (https://www.cfd-online.com/Forums/openfoam-post-processing/61440-foammeshtofluent.html)

tutlhino May 24, 2007 05:47

Hey All, I'm currently workin
 
Hey All,
I'm currently working on a comparison between openFOAM and cfx, and therefore I need meshes in both formats. I started with the forward- and backward-facing steps of the tutorials and converted it with foamMeshToFluent without any error message. After that I tried to load the mesh into icemCFD to convert it to the cfx format. But an error occured which is obviously due to the last part of the converted fluent-mesh. Here a lot of 4s appear, which seems quite strange and looks like that:

...
4 299b 299c 2938 2937 13ba 0
4 29ff 2a00 299c 299b 141e 0
4 2a63 2a64 2a00 29ff 1482 0
))
(12 (1 1 1482 1 0)(
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
...
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4)())
(39 (1 fluid fluid-1)())
(39 (2 interior interior-1)())
(39 (10 pressure-outlet inlet)())
(39 (11 pressure-outlet outlet)())
(39 (12 symmetry bottom)())
(39 (13 symmetry top)())
(39 (14 pressure-outlet obstacle)())
(39 (15 pressure-outlet defaultFaces)())

I also tried to convert the openFOAM mesh after solving the problem, as this converter is presented as a post-processing tool but I got the same results. Does anyone know if this is a bug, or if this must be due to an input problem???
Or has anyone already a converted mesh of the tutorial examples (forward- or backward-facing step).

Cheers
Florian

gabriel June 11, 2007 07:51

Hi Florian, I could conver
 
Hi Florian,

I could convert with the command foamMeshToFluent <root> <case> the Foam mesh to fluent mesh and then import it into the preprocessor of cfx. I use cfx v11. What i was not able until the moment is to import it directly to cfxpost and to import also the results to cfxpost.

Best Gabriel

openfoammaofnepo March 7, 2014 11:20

Hi,

do you know what is the meaning of the following lines:

Code:

(12 (1 1 1482 1 0)(
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
...
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4)())

In my case, I use pure tetrahedron cells, so the edge number of each is 3. but in the mesh file converted from foamMeshToFluent, I got the following:

Code:

(12 (1 1 1482 1 0)(
3  3 3 3 3 3 3 3
...
3  3 3 3 3 3 3 3)())

best, OFFO


All times are GMT -4. The time now is 14:38.