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

Fortran Code for Grid generation.(please help me if you can)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2010, 06:07
Unhappy Fortran Code for Grid generation.(please help me if you can)
  #1
New Member
 
Join Date: Feb 2010
Posts: 1
Rep Power: 0
vortexman is on a distinguished road
Hi guys,
I wanna write a program that generates grid for a rectangular domain.I just need to define nodes (with arrays).actually a program that just reads nodes based on the lengths of rectangle and number of cells for each length.and then import it to PLOT3D.should I define all nodes inside the rectangle or just on boundaries?how can i define the connection between nodes? I don't know how to do it exactly.please help me.

Best Regards,
vortexman is offline   Reply With Quote

Old   February 15, 2010, 06:18
Default
  #2
Member
 
Anonymous
Join Date: Jul 2009
Posts: 44
Rep Power: 16
gerritgroot is on a distinguished road
I don't know about plot3D, but if it permits structured grids, the easiest way is to make a structured grid, in that case you don't need any connectivity table.
gerritgroot is offline   Reply With Quote

Old   February 15, 2010, 13:08
Default use algbriac interpolation
  #3
Member
 
Ramesh K
Join Date: Dec 2009
Location: Bangalore
Posts: 73
Rep Power: 16
RameshK is on a distinguished road
Send a message via Yahoo to RameshK
hi

first do a planar case and then stack it.
u need to define only the boundary points, and based on the number points on the boundaries u can generate points.

this is simple to do only thing is u need to write a gridgen program in 2d and generate the point list and increment the z co-ordinate to get the 3d one
RameshK 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
parallel fortran code Ahmed Main CFD Forum 1 October 23, 2008 07:15
biCGSTAB Fortran code, unstructured mesh Nico Main CFD Forum 4 September 12, 2006 11:12
Fortran Cuthill-McKee code Leon Main CFD Forum 2 September 12, 2005 05:20
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56
Multi-dimensional heat conduction fortran code odat Main CFD Forum 1 August 6, 1999 00:18


All times are GMT -4. The time now is 13:50.