### 2.5.6. CGNS

Imports a CGNS file. The external import routine is `ImportCGNS`. Available options are:

`-v` Verbose output. Echo additional data to `stdout` during the import.

`-b` Read a grid from the specific CGNS base.

`-B` Read all CGNS bases. (default)

`-c` Read BOCO information as 2D regions.

`-f` Import Family Information as regions.

`-E` Import each Element Section as a separate region.

`-I` Import each side of a connection as a separate region.

`-P` Do not add the Zone name as a prefix to any region being defined.

#### 2.5.6.1. SplitCGNS.exe

The SplitCGNS.exe program will take a single CGNS file and split it into multiple files on a "file per problem basis". The method for running this is:

    SplitCGNS.exe [ -l ] <filename> <basename>

If the file contains two problems called "Pipe" and "Elbow", the import filter will only currently read "Pipe", but using SplitCGNS will produce two files called basename_Pipe.cgns and basename_Elbow.cgns each containing a single problem that can then be selected for import via the normal method.

Specifying the "`-l`" option "links" the part of the data in the original file to the created file using a relative pathname. The created file does not therefore need to duplicate data.

The "`-l`" option should only be used if the original file and resulting files are going to be kept relative to each other (that is, if when SplitCGNS was run the original file was in ../../example.cgns, it must always remain in this position relative to the created files).

Release 18.2 - © ANSYS, Inc. All rights reserved.