My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

MexCGNS is an interface of CGNS for MATLAB and Octave through MATLAB Executables (MEX). CGNS CGNS is a de facto standard file format for exchanging data in CFD and other mesh-based simulations. It provides native C and Fortran interfaces. However, many users and developers in scientific and engineering computing use MATLAB and Octave for daily development work. MexCGNS provides the complete CGNS mid-level library interface to users through MEX functions. MexCGNS also provides some high-level interfaces written for reading and writing unstructured meshes with node-centered and cell-centered data in MATLAB and Octave. Most users would find these high-level interfaces easy to use, and can also adapt these functions by calling the mid-level library function.

To install mexCGNS, see the Installation Guide.

If you use mexCGNS and found it useful, please email me and I will add you to the user list.

What is new?

2/12/2011. Released mexcgns 3.1, based on cgnslib 3.1.3-4 with HDF5 and 64-bit integer support. The new version uses HDF5 as the default output format.

10/06/2011. Fixed a bug in src/cgns_get_boco_type.m. It only affects users who use cg_boco_read for structured meshes.

07/10/2010. The beta release of MexCGNS 3.0 is now available. It fixed some bugs in cg_elements_partial_write when writing CGNS-2.5 compatible ADF files. Also, all the M-files without the cg prefix are moved into the private subdirectory to avoid name conflict.

07/03/2010. The alpha release of MexCGNS 3.0 is now available. MexCGNS 3.0 supports both ADF and HDF5 output. It also circumvents a MATLAB-Octave incompatibility issue in Octave 3.2. You are encouraged to upgrade to MexCGNS 3.0 if you want to use HDF5-based CGNS files or if you want to use Octave 3.2.

MexCGNS 3.0 is based on a modified version of the beta release of cgnslib-3.0.8, with three modifications: 1) it supports both v1.8 and v1.6 of HDF5. 2) It can write native ADF files that are compatible with cgnslib-2.5.x, so that current tools (such as Tecplot and VisIt) can read the output. 3) It has fixed some bugs in cgnslib-3.0.8.

Powered by Google Project Hosting