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

cobalt's format?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 29, 2005, 07:52
Default cobalt's format?
  #1
Ervas
Guest
 
Posts: n/a
i get a unstructure grid used by cobalt format, and i have to read it. but cobalt's format is...???
  Reply With Quote

Old   March 29, 2005, 10:22
Default Re: cobalt's format?
  #2
User
Guest
 
Posts: n/a
The first line of the Cobalt grid file contains three integers :

nDimensions nZones nBoundaryPatches

where the meaning is self-explanatory.

The next line contains five integers :

nVertices nFaces nCells nVerticesPerFaceMax nFacesPerCellMax

where the last two quantities represent the maximum number of vertices defining a face and the maximum number of faces defining a cell.

For example, if the grid consisted purely of tetrahedra, nVerticesPerFaceMax and nFacesPerCellMax would be equal to 3 and 4, respectively.

On the other hand, if the grid consisted of tetrahedra, prisms, and pyramids, nVerticesPerFaceMax and nFacesPerCellMax would be equal to 4 and 5, respectively.

The next nVertices lines contain the x-, y-, and z-coordinates for each vertex.

The next nFaces lines contain the face-connectivity information, nVerticesPerFace <nVerticesPerFace> vertices Cell1 Cell2 where Cell1 and Cell2 are the two cells which share a given face. If a face lies on a boundary patch, the respective cell is given by the negative patch index.
  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
NASTRAN Data format Srinivasan Arunajatesan Main CFD Forum 1 January 2, 2014 07:20
Best format for simulation data? cbisw Main CFD Forum 9 May 30, 2011 02:38
Help required in plot3d format Kishore Main CFD Forum 5 September 15, 2009 07:06
about unformatted cobalt's format? Steff Main CFD Forum 0 March 14, 2008 04:09
Colors & DXF format in Phoenics. HELP Yiannis Phoenics 3 November 12, 2001 14:00


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