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

2D unstructured Grid

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 10, 2008, 19:24
Default 2D unstructured Grid
  #1
prapanj
Guest
 
Posts: n/a
Hi

I am writing a 2D unstructured Euler solver.

I am willing to take in the grid in plot3D format. The grid generation software I have is gridgen. Could someone guide me in doing this?

I find that the plot3D option is not getting highlighted when i tend to export points. I found that this is dependent on the analysis software choice.

I had created block. but since it is only one face, when i export the grid points, I am only having the domain option highlighted, the block option is dim.

It would be kind of you if you could suggest some other 2D unstructured grid format too. I had tried other formats, but I am not able to get info on the formats on the net. Without format info I would not be able to read the grid into my program.

Please help.

Thankin you

Prapanj

  Reply With Quote

Old   March 11, 2008, 04:12
Default Re: 2D unstructured Grid
  #2
Praveen. C
Guest
 
Posts: n/a
Isnt plot3d a structured grid format ? Do you want to convert it into unstructured grid ? Some unstructured grid formats I have used are amdba and msh. See for example the softwares BAMG and GMSH which export in msh format.
  Reply With Quote

Old   March 15, 2008, 09:14
Default Re: 2D unstructured Grid
  #3
John Chawner
Guest
 
Posts: n/a
Hello Prapanj,

PLOT3D is a file format restricted to structured quad grids (i.e. a mapped mesh). So, if you select any unstructured grids, PLOT3D isn't an available option.

Also, Gridgen lets you export either the grid by itself or the grid as formatted for your CFD solver. The latter requires blocks to exist.

The easiest way to export grids to PLOT3D is this...

1. Input/Output Commands

2. Grid Pts - Export

3. Domain - Surfaces

4. Enter the file name.

5. On the File Attributes menu, select PLOT3D and any other attributes.

6. Select the domains to export.

If you have 2D blocks and want to export the assembled domains as the block face, do this...

1. Analysis Software Commands

2. Select Analysis Software

3. Choose a CFD Solver and set it to 2D.

4. Create all your domains.

5. Assemble those domains into blocks (2D blocks have only 1 face each).

6. Input/Output Commands

7. Grid Pts - Export

8. Block - Volumes

9. Enter the file name.

10. On the File Attributes menu, select PLOT3D and any other attributes.

11. Select the blocks to export.

Hope this helps.

  Reply With Quote

Old   March 15, 2008, 17:30
Default Re: 2D unstructured Grid
  #4
prapanj
Guest
 
Posts: n/a
hey

thank you for your response. I am writing a solver on my own. And I found that Cobalt would be the best format. So I have started using that format. From the edge connectivity info that cobalt format has, I have written a fortran 90 subroutine to get the cell node connectivity too. I would like upload that to the cfd-online page, if you feel that would be of any use.

Thanking you

prapanj
  Reply With Quote

Old   March 15, 2008, 18:01
Default Re: 2D unstructured Grid
  #5
John Chawner
Guest
 
Posts: n/a
Hello parpanj,

I'm glad you've got something working. I also suggest that you consider using the CGNS file format standard. See the web site www.cgns.org. This is an open format for not only grid information but all the solver information too. The library is freely available on the web site. CGNS might work better for you than adopting a commercial vendor's format as your own. Plus, your files would be immediately compatible with all other CGNS compatible tools.

Best regards.
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Validity of unstructured grid on S809 airfoil didiean FLUENT 11 April 3, 2011 02:10
2D airfoil simulation, turbulence, boundary layer, unstructured grid louis.langouche@gmail.com FLUENT 0 March 3, 2010 09:19
unstructured mesh grid independence for Fluent Shane Schouten FLUENT 0 October 11, 2006 16:50
structured & unstructured grid Ben Main CFD Forum 9 February 10, 2003 14:33
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59


All times are GMT -4. The time now is 11:19.