CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Mesh data to be read by Fortan code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2003, 14:31
Default Mesh data to be read by Fortan code
  #1
seckin
Guest
 
Posts: n/a
hi, I have created a mesh using Gambit and I want to write the vertex data into a file and let my Fortran code read from that file. I tried to export the mesh from Gambit in some formats but I couldn't figure out the writing style of Gambit. I want the file be in the following format: do j=1,jmax x(i,j), y(i,j), i=1,imax enddo but I guess Gambit writes differently than the above scheme..am I wrong? can anyone give me a clue on this? thanks,regards seckin
  Reply With Quote

Old   April 19, 2003, 17:38
Default Re: Mesh data to be read by Fortan code
  #2
Jim Park
Guest
 
Posts: n/a
I hope you meant to write:

do j = 1, jmax

do i = 1, imax

read x(i,j), y(i,j)

end do

end do

  Reply With Quote

Old   April 19, 2003, 19:19
Default Re: Mesh data to be read by Fortan code
  #3
seckin
Guest
 
Posts: n/a
yes that's correct.. thanks for correcting.. seckin
  Reply With Quote

Old   April 19, 2003, 22:36
Default Re: Mesh data to be read by Fortan code
  #4
xueying
Guest
 
Posts: n/a
You can write a Fortran code to read the informations you want according to the mesh files you generated by skipping some not useful lines. I think it's not possible that the mesh file only have the position informations, otherwise the mesh file doesn't include enough informations.
  Reply With Quote

Old   April 23, 2003, 10:53
Default Re: Mesh data to be read by Fortan code
  #5
Mike
Guest
 
Posts: n/a
Merhaba Seckin, Bence yapman gereken sey GAMBIT el kitabini bulup grid dosyalarini hangi formatta kaydetdiklerini anlamandir. Daha sonra belirtilen formata uygun sekilde gambit grid dosyasindan x,y datalarini okuyup istedigin formatta yazdirabilirsin. Onemli olan kesinlikle gambit el kitabinin verdigi formata bagli kalmandir.
  Reply With Quote

Old   April 24, 2003, 22:58
Default Re: Mesh data to be read by Fortan code
  #6
Selina Tracy
Guest
 
Posts: n/a
Italian! Dose not look like German, French or Spanish. Might be Iraq's. -Selina
  Reply With Quote

Old   May 13, 2003, 17:59
Default Re: Mesh data to be read by Fortan code
  #7
Yuan
Guest
 
Posts: n/a
I don't think Gambit data can be read into Fortran Code. I recommend Gridgen.
  Reply With Quote

Old   December 15, 2020, 12:51
Default
  #8
New Member
 
Bappi
Join Date: Dec 2020
Posts: 5
Rep Power: 5
mohammadbappiamin is on a distinguished road
Quote:
Originally Posted by seckin
;24196
hi, I have created a mesh using Gambit and I want to write the vertex data into a file and let my Fortran code read from that file. I tried to export the mesh from Gambit in some formats but I couldn't figure out the writing style of Gambit. I want the file be in the following format: do j=1,jmax x(i,j), y(i,j), i=1,imax enddo but I guess Gambit writes differently than the above scheme..am I wrong? can anyone give me a clue on this? thanks,regards seckin
Hi,

I have generated a 2D mesh using Gambit and now I need to read the mesh that is generated. Did you find or write any program in Fortran? Do you mind sharing it with me? I am really struggling with it and I would appreciate if you can please help me out.

Thanks
Bappi
mohammadbappiamin is offline   Reply With Quote

Old   December 7, 2022, 00:58
Default
  #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 mohammadbappiamin View Post
Hi,

I have generated a 2D mesh using Gambit and now I need to read the mesh that is generated. Did you find or write any program in Fortran? Do you mind sharing it with me? I am really struggling with it and I would appreciate if you can please help me out.

Thanks
Bappi

Hi,
Did you developed the code to do that? I am currently working on this as well, can you give me some advice? Thanks


Best, Jin
JINXIE is offline   Reply With Quote

Reply


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
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38
How to read mesh data from ANSYS mspilot FLUENT 3 August 21, 2003 06:00


All times are GMT -4. The time now is 07:01.