CGNS logo

CFD General Notation System
Download


 

CGNS site pages
CGNS Home
What is CGNS?
Getting Started
Latest News
Switch to HDF5
Steering Committee
Implementations
Discussion Group
Download
Contributed Utilities
Example CGNS Files
Proposed Extensions
FAQs

Documentation pages
Documentation Home
Papers and Slides
Meeting Minutes
User's Guide
Overview
SIDS
SIDS-to-ADF
Mid-Level Library
ADF Guide

SourceForge pages
SourceForge CGNS Page
CVS Information
SourceForge.net Logo

If you have not done so already, please REGISTER by e-mailing to the CGNS REGISTRAR the following information:
  • Your name
  • Company, university, lab, or facility name (if applicable)
  • Email, if different from your current sending address
  • Intended use for CGNS
Although there is no registration requirement in order to obtain CGNS, by registering you will help the CGNS team to serve its users better.

We also strongly recommend that you join the Discussion Group. This forum is the primary method used to keep CGNS users current with release and other important information updates. It is also used for discussing important problems/issues and for obtaining help from other CGNS users.

What to Download

As a minimum, you will need to download and compile the CGNS library code. Compilation requires an ANSI compliant C compiler. The source code may downloaded (from SourceForge) as a gzipped, tar file:
  • CGNS Version 3.1.3 (cgnslib_3.1.3-4.tar.gz) - Release 4 of Version 3.1.3 software. Includes 64-bit integer capability and updated Tools for viewing and editing CGNS files. HDF5 is now the default file type, when CGNS is built with HDF5 version 1.8 or later. (CGNS can always read or write both HDF5 and ADF file types.)

    Version 3.1.3 implements the bug fixes by Xiangmin Jiao (Jim), and adds two new functions to more easily read and write GridLocation data for boundary conditions, cg_boco_gridlocation_read and cg_boco_gridlocation_write. It also includes the implementation of CPEX 0027 (Time-dependent Connectivities), CPEX 0030 (Zone Sub-Regions) and CPEX 0031 (General SIDS Improvements), along with the alpha release of Parallel CGNS. These are described in the online documentation.

    Release 2 fixes the Fortran element name ordering bug.

    Release 3 adds the HDF5 CRT_ORDER fix and corrects the directory search order for linked files.

    Release 4 fixes an issue with descriptors under FamilyBCDataSet_t nodes; changes MormalIndexFlag to NormalIndexSize for cg_boco_info; and adds a new Fortran routine cg_exit_on_error_f.

Also available from the SourceForge CGNS summary page:

  • CGNS Version 2.5-5 (cgnslib_2.5-5.tar.gz) - Prior stable-release version. (This release fixes a long standing issue of memory leakage in the CGNS library when closing a file or deleting a node. It also removes the internal storage of element data when reading and writing, and uses the user supplied buffer instead. In the case of partial reads and writes however, the element data is currently reloaded into memory to do the operations.)
  • cgnstools - older (Version 2.5) tools for viewing/editing ADF file (Tcl/Tk based)... note that newer tools are included in the latest Version 3 cgnslib distribution.
  • F77_examples - Fortran CGNS examples.
  • UserGuideCode 3.1.2 - examples from the CGNS User Guide.

  • Complete documentation in the form of a Windows compiled html file (chm) is available for Version 2.5 and Version 3.1 of the CGNS library.

Other CGNS related software and older versions of the library are also available. (NOTE: if building CGNS with an HDF5 version earlier than 1.8, then links will not work when using HDF5 file type.)

Known Bugs

  • The ElementTypeName data array is incorrectly ordered in cgnslib_f.h, resulting in the wrong element name for element types greater than PYRA_5 (download file cgnslib_3.1-3.tar.gz). This is fixed in the current release (cgnslib_3.1.3-2.tar.gz).