[MOAB-dev] WriteNCDF and others
Rajeev Jain
jain at mcs.anl.gov
Thu Jun 2 14:53:35 CDT 2011
There is something wrong going on my .h5m file has 48130 hexes and .exo (created using mbconvert) file has 107907 hexes. I'm sorry, this may be due to some previous steps in 'parallel' coregen.
In this case 2 NEUMANN_SET (s) are lost.
The files are on MCS workstation : /homes/jain/pll/acis/MeshKit-acis/rgg/test/simple_hexflatcore
jain at jain-desktop:~/pll/acis/MeshKit-acis/rgg/test/simple_hexflatcore$ mbsize shfc2proc.h5m
File shfc2proc.h5m:
type count total minimum average rms maximum std.dev.
------- ------- -------- --------------------------------- --------------------------------- --------------------------------- --------------------------------- ---------------------------------
Edge 118368 1.1e+05 0.16385 0.91435 1.1219 2.0008 0.65004
Quad 99226 7.4e+04 0.048153 0.74355 0.86489 2.395 0.44177
Hex 48130 2.8e+04 0.09778 0.58739 0.65082 1.8499 0.28025
1D Side 974464 9.7e+05 0.16385 0.99621 1.2111 2.0008 0.68872
Vertex 58482
jain at jain-desktop:~/pll/acis/MeshKit-acis/rgg/test/simple_hexflatcore$ mbconvert shfc2proc.h5m shfc2proc.exo
Read "shfc2proc.h5m"
Wrote "shfc2proc.exo"
jain at jain-desktop:~/pll/acis/MeshKit-acis/rgg/test/simple_hexflatcore$ mbsize shfc2proc.exo
File shfc2proc.exo:
type count total minimum average rms maximum std.dev.
------- ------- -------- --------------------------------- --------------------------------- --------------------------------- --------------------------------- ---------------------------------
Quad 24528 1.2e+04 0.048153 0.47846 0.61201 1.5708 0.38163
Hex 107907 6.8e+04 0.09778 0.62589 0.69238 1.8499 0.29607
1D Side 1392996 1.4e+06 0.16385 1.0112 1.2211 2.0008 0.68443
Vertex 58482
jain at jain-desktop:~/pll/acis/MeshKit-acis/rgg/test/simple_hexflatcore$ mbsize -t shfc2proc.h5m
File shfc2proc.h5m:
Tag Name Vertex Edge Quad Hex EntitySet
-------------- -------- -------- -------- -------- ---------
MATERIAL_SET 0 0 0 0 5
NEUMANN_SET 0 0 0 0 15
DIRICHLET_SET 0 0 0 0 0
GEOM_DIMENSION 0 0 0 0 227
GLOBAL_ID 58482 118368 99226 48130 563
AKDTree 0 0 0 0 563
AKDTree_box 0 0 0 0 0
ATTRIB_VECTOR 0 0 0 0 227
CATEGORY 0 0 0 0 313
GEOM_SENSE_2 0 0 0 0 37
NAME 0 0 0 0 87
OBB 0 0 0 0 0
UNIQUE_ID 0 0 0 0 227
jain at jain-desktop:~/pll/acis/MeshKit-acis/rgg/test/simple_hexflatcore$ mbsize -t shfc2proc.exo
File shfc2proc.exo:
Tag Name Vertex Hex EntitySet
-------------- -------- -------- ---------
MATERIAL_SET 0 0 5
NEUMANN_SET 0 0 13
DIRICHLET_SET 0 0 0
GEOM_DIMENSION 0 0 0
GLOBAL_ID 58482 107907 18
HAS_MID_NODES 0 0 5
distFactor 0 0 13
qaRecord 0 0 0
Rajeev
>________________________________
>From: Jason Kraftcheck <kraftche at cae.wisc.edu>
>To: Rajeev Jain <jain at mcs.anl.gov>
>Cc: "moab-dev at mcs.anl.gov" <moab-dev at mcs.anl.gov>
>Sent: Thursday, June 2, 2011 2:02 PM
>Subject: Re: [MOAB-dev] WriteNCDF and others
>
>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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20110602/34b71fa5/attachment-0001.htm>
More information about the moab-dev
mailing list