[MOAB-dev] WriteNCDF and others

Jason Kraftcheck kraftche at cae.wisc.edu
Thu Jun 2 14:02:24 CDT 2011


On 06/02/2011 01:44 PM, Rajeev Jain wrote:

> 
> When converting this .h5m file to a .exo file MATERIAL_SET =1 is lost.
> 

I cannot reproduce this:


hex 1178$ mbsize -t blocks.cub
File blocks.cub:
      Tag Name   Vertex     Edge     Quad      Hex EntitySet
-------------- -------- -------- -------- -------- ---------
  MATERIAL_SET        0        0        0        0         2
   NEUMANN_SET        0        0        0        0         0
 DIRICHLET_SET        0        0        0        0         0
GEOM_DIMENSION        0        0        0        0        45
     GLOBAL_ID      396      540      275      250        47
          NAME        0        0        0        0         0
     UNIQUE_ID        0        0        0        0        45
      CATEGORY        0        0        0        0        47
 ATTRIB_VECTOR        0        0        0        0        37
           OBB        0        0        0        0         0
  GEOM_SENSE_2        0        0        0        0        11

hex 1179$ mbconvert blocks.cub blocks.h5m
Read "blocks.cub"
Wrote "blocks.h5m"

hex 1180$ mbsize -t blocks.h5m
File blocks.h5m:
      Tag Name   Vertex     Edge     Quad      Hex EntitySet
-------------- -------- -------- -------- -------- ---------
  MATERIAL_SET        0        0        0        0         2
   NEUMANN_SET        0        0        0        0         0
 DIRICHLET_SET        0        0        0        0         0
GEOM_DIMENSION        0        0        0        0        45
     GLOBAL_ID      396      540      275      250        47
 ATTRIB_VECTOR        0        0        0        0        37
      CATEGORY        0        0        0        0        47
  GEOM_SENSE_2        0        0        0        0        11
          NAME        0        0        0        0         0
           OBB        0        0        0        0         0
     UNIQUE_ID        0        0        0        0        45

hex 1181$ mbconvert blocks.h5m blocks.exo
Read "blocks.h5m"
Wrote "blocks.exo"

hex 1182$ file blocks.exo
blocks.exo: NetCDF Data Format data

hex 1183$ mbsize -t blocks.exo
File blocks.exo:
      Tag Name   Vertex      Hex EntitySet
-------------- -------- -------- ---------
  MATERIAL_SET        0        0         2
   NEUMANN_SET        0        0         0
 DIRICHLET_SET        0        0         0
GEOM_DIMENSION        0        0         0
     GLOBAL_ID      396      250         2
 HAS_MID_NODES        0        0         2
    distFactor        0        0         0
      qaRecord        0        0         0


More information about the moab-dev mailing list