CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Importable grid file format for cfx 5.71 (http://www.cfd-online.com/Forums/cfx/22357-importable-grid-file-format-cfx-5-71-a.html)

Oliver March 27, 2006 10:20

Importable grid file format for cfx 5.71
 
Hi,

does anyone has the description (or the link to) of an unstructured grid file format, which can be imported by cfx 5.7.1 or greater? E.G. Patran (where I don't understand the boundary definition within the named components). Favoured is ascii, but binary is also welcome (in particular it is sufficient documented). If possible, I don't want to use it via a library (e.g. as cgns).

In my opinion, the file only has to have the following sections

Thanks in advance!

Oliver

nodes 1 x1 y1 z1 2 x2 y2 z2 ... elements/cells (here hexaedrons) 1 1 2 3 4 17 16 15 14 1 21 22 23 24 99 100 101 102 ...

boundary1 (here quads) 1 1 2 3 4 2 5 6 7 8

boundary2 ...


Chebeba March 27, 2006 15:37

Re: Importable grid file format for cfx 5.71
 
How about NASTRAN? Looks a lot like what you described. Here's a small example with 7 hexa's.

/C

-----------------------------------

$ Nastran input deck

SOL 103

CEND

BEGIN BULK

GRID 1 059.00000-8.0000015.00000 0 0

GRID 2 0-6.00000-8.0000015.00000 0 0

GRID 3 059.000004.00000015.00000 0 0

...and so on down to:

GRID 16 055.40000.4000001-11.4000 0 0

$ Volume element data for family SOLID

PSOLID 1 0 0 0

CHEXA 1 1 1 2 4 3 5 6 8 7

CHEXA 2 1 9 10 12 11 13 14 16 15

CHEXA 3 1 11 12 3 4 15 16 7 8

CHEXA 4 1 10 9 2 1 14 13 6 5

CHEXA 5 1 12 10 1 3 16 14 5 7

CHEXA 6 1 9 11 4 2 13 15 8 6

CHEXA 7 1 13 14 16 15 6 5 7 8

ENDDATA


Oliver March 28, 2006 04:51

Re: Importable grid file format for cfx 5.71
 
Hi Chebeba,

thanks for your answer! Yes, this works (after I reformatted your example). But how can I define several boundary faces? Or several cell zones? I changed some parameters from 0 to 1 or to 2, but nothing happens within CFX.

Do you have a documentation about the different parameters?

Regards

Oliver


Chebeba March 28, 2006 09:13

Re: Importable grid file format for cfx 5.71
 
As usual, Google is your friend:

http://www.mscsoftware.com/support/p...elease2001.pdf

(Lots of stuff about the solver, I didn't read it all but looks like you should find what you want somewhere in there... /C

Oliver March 30, 2006 11:40

Re: Importable grid file format for cfx 5.71
 
Hi Chebeba,

thanks again. For Nastran, it seems that cfx ignore the boundaries. But I've got now the necessary information on the patran neutral file format.

Regards

Oliver



All times are GMT -4. The time now is 15:51.