CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   how to read ICEM meshes by Fortran (https://www.cfd-online.com/Forums/ansys-meshing/131075-how-read-icem-meshes-fortran.html)

yzeyue March 8, 2014 10:12

how to read ICEM meshes by Fortran
 
hi,

I don't know how to read the meshes by Fortran.

I need to program, but I don't know the meshing rule of ICEM, especially the multiple grid.

what can I do now?

beer March 9, 2014 23:47

Hi

There are different ways to write out the mesh information in ICEM. Me personally I like the FluentV6 output, because it is in ASCII. So you can read it for small test cases and compare it with the information the code reads in and see if your routine for the read in is right.
The structure of the FluentV6 files is also easy to understand and straight forward. You won't need more than a day or two to write the routine.
I have a commented example file somewhere on my home-PC. I'll try to find it, when I'm home.
Like I said before, there are heaps of other ways to write out the generated file from ICEM. I suggest just try a few common ones and choose the one you understood the best.

som87 March 10, 2014 09:24

Just to add with the previous post by Marcus, you can just export icem mesh in cgns format (w/o reading in fluent) & read it in fortran provided you have already installed cgns library.

beer March 10, 2014 09:40

Quote:

Originally Posted by som87 (Post 479139)
Just to add with the previous post by Marcus, you can just export icem mesh in cgns format (w/o reading in fluent) & read it in fortran provided you have already installed cgns library.

Actually thats new for me. Thanks for the information.
Altough I use C++ anyway :D

som87 March 10, 2014 11:53

Quote:

Originally Posted by beer (Post 479147)
Actually thats new for me. Thanks for the information.
Altough I use C++ anyway :D

with C++, cgns is more easy-to-use ..*teardrops from a "vintage" fortran admirer*

saharesobh March 10, 2014 13:48

Cannot see the surfaces in the fluid when bring it from ICEM
 
Hey,

Hope you are doing well. I have a very quick question. Actually I drew a rectangular geometry with two zones (interior1 and interior 2) in ICEM and mesh it and could bring it to the Fluent including all of the boundary conditions but I cannot bring the surfaces ( interior one and two) to the fluent. The fluent does not show me the surfaces. Would you please give me a hint.

Thanks

Crank-Shaft March 10, 2014 18:30

I might be facing similar problems with exporting from ICEM for multiblock grid in a CGNS format. I can choose to either output volumes or surfaces and there is a pop-up message where the user is required to choose. This appears when you right click on pre-mesh and choose convert to structured multiblock mesh.

There should be a way to combine them and export both, otherwise I do not see how we can assign boundary conditions properly.

Look forward to some interesting comments and suggestions on here.

Thank you.

william.yao September 14, 2015 09:00

Ask for the code read fluent mesh
 
Hi,
I'm also working on reading the FluentV6 output from ICEM using FORTRAN. Could you please give me your sample commented example file to help me read it in FORTRAN? my email address: yaomin_yaomin@163.com
Quote:

Originally Posted by beer (Post 479058)
Hi

There are different ways to write out the mesh information in ICEM. Me personally I like the FluentV6 output, because it is in ASCII. So you can read it for small test cases and compare it with the information the code reads in and see if your routine for the read in is right.
The structure of the FluentV6 files is also easy to understand and straight forward. You won't need more than a day or two to write the routine.
I have a commented example file somewhere on my home-PC. I'll try to find it, when I'm home.
Like I said before, there are heaps of other ways to write out the generated file from ICEM. I suggest just try a few common ones and choose the one you understood the best.


JINXIE September 19, 2022 02:48

read icem mesh by fortran
 
Quote:

Originally Posted by william.yao (Post 563881)
Hi,
I'm also working on reading the FluentV6 output from ICEM using FORTRAN. Could you please give me your sample commented example file to help me read it in FORTRAN? my email address: yaomin_yaomin@163.com


I'm using fortran to read mesh generated by icem, do you know how to do that? Thanks


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