[CIG-SHORT] python function to read ExodusII files

Christian Baillard christian_baillard at hotmail.com
Mon Dec 8 09:15:35 PST 2014


Hi Brad,

Thanks! I'll take a look a that.

Ch.

Le 8 déc. 2014 à 18:01, Aagaard, Brad a écrit :

> Christian,
> 
> PyLith uses the NetCDF library via C++ to read Exodus files.
> 
> I recommend the netCDF4 module (which we include in the PyLith binary) for access to NetCDF files from Python. See examples/meshing/cubit_cellsize/exodus_add_properties.py for an example of how we add cell size information to an Exodus file.
> 
> Brad
> 
> 
> On Mon, Dec 8, 2014 at 8:51 AM, Christian Baillard <christian_baillard at hotmail.com> wrote:
> Hi all,
> 
> I'm trying to read the exodus file output by Trelis using python functions. I just wondered which python functions is used by pylith to do it.
> Does it exist any python functions to read exodus file (either from the binary form or from the ASCII file -- after a ncdump)?
> 
> Cheers,
> 
> Christian
> 
> 
> 
> 
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
> 
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20141208/b567def0/attachment.html>


More information about the CIG-SHORT mailing list