|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
CGNS is a de facto standard file format for exchanging data in CFD and other mesh-based simulations. CGNS provides native C and Fortran interfaces. However, many users and developers in scientific and engineering computing use MATLAB and Octave for daily development work. Up to now there was no MATLAB/Octave interfaces for CGNS. MatCGNS aims to fill in this gap. MatCGNS provides the complete CGNS mid-level library interface to users through MEX functions, as well as high-level interfaces specifically written for reading and writing unstructured meshes with node-centered and cell-centered data in MATLAB and Octave. Most users would find the high-level interfaces easy to use and can also adapt them by calling the mid-level library. 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?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. |