CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

how to read ICEM meshes by Fortran

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree6Likes
  • 2 Post By yzeyue
  • 3 Post By som87
  • 1 Post By Crank-Shaft

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2014, 10:12
Default how to read ICEM meshes by Fortran
  #1
Member
 
garry
Join Date: Oct 2013
Posts: 41
Rep Power: 12
yzeyue is on a distinguished road
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?
hilllike and Wang Shang like this.
yzeyue is offline   Reply With Quote

Old   March 9, 2014, 23:47
Default
  #2
Member
 
Join Date: Dec 2012
Posts: 92
Rep Power: 13
beer is on a distinguished road
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.
beer is offline   Reply With Quote

Old   March 10, 2014, 09:24
Default
  #3
Member
 
Join Date: May 2012
Posts: 68
Rep Power: 13
som87 is on a distinguished road
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.
hilllike, metmet and beer like this.
__________________
Best wishes,

Somdeb Bandopadhyay
som87 is offline   Reply With Quote

Old   March 10, 2014, 09:40
Default
  #4
Member
 
Join Date: Dec 2012
Posts: 92
Rep Power: 13
beer is on a distinguished road
Quote:
Originally Posted by som87 View Post
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
beer is offline   Reply With Quote

Old   March 10, 2014, 11:53
Default
  #5
Member
 
Join Date: May 2012
Posts: 68
Rep Power: 13
som87 is on a distinguished road
Quote:
Originally Posted by beer View Post
Actually thats new for me. Thanks for the information.
Altough I use C++ anyway
with C++, cgns is more easy-to-use ..*teardrops from a "vintage" fortran admirer*
__________________
Best wishes,

Somdeb Bandopadhyay
som87 is offline   Reply With Quote

Old   March 10, 2014, 13:48
Default Cannot see the surfaces in the fluid when bring it from ICEM
  #6
New Member
 
sa
Join Date: Jul 2012
Posts: 23
Rep Power: 13
saharesobh is on a distinguished road
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
saharesobh is offline   Reply With Quote

Old   March 10, 2014, 18:30
Default
  #7
Senior Member
 
Crank-Shaft's Avatar
 
Ovi
Join Date: Oct 2012
Location: Sydney, Australia
Posts: 166
Rep Power: 13
Crank-Shaft is on a distinguished road
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.
metmet likes this.
__________________
--
Mechanical Engineering
Sydney, Australia


Crank-Shaft is offline   Reply With Quote

Old   September 14, 2015, 09:00
Default Ask for the code read fluent mesh
  #8
New Member
 
William Yao
Join Date: Sep 2015
Posts: 2
Rep Power: 0
william.yao is on a distinguished road
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 View Post
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.
william.yao is offline   Reply With Quote

Old   September 19, 2022, 02:48
Default read icem mesh by fortran
  #9
New Member
 
XIE JIN
Join Date: Apr 2022
Location: Sydney AU
Posts: 15
Rep Power: 4
JINXIE is on a distinguished road
Quote:
Originally Posted by william.yao View Post
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
JINXIE is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PEM Fuel cell module meshes. ICEM vs workbench aarvay FLUENT 24 March 2, 2020 06:50
[ICEM] Merging Hexa Meshes in ICEM screech1987 ANSYS Meshing & Geometry 11 March 13, 2014 11:45
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 00:52
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
[Commercial meshers] Mesh conversion from Ansys ICEM fabian_korn OpenFOAM Meshing & Mesh Conversion 3 February 24, 2010 08:19


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