[MOAB-dev] mbconvert from abaqus to h5m
Paul Wilson
paul.wilson at wisc.edu
Wed Apr 22 09:28:19 CDT 2015
Hello Jacob,
Since I was the main author of this (nearly 6 years ago), I'll add some
comments.
The use case I was working always had PARTs defined separately from
ASSEMBLYs that were composed of INSTANCEs of those PARTs. I hope it
won't be hard to support your use case, which doesn't seem to use any of
those constructs.
I was able to load it successfully without any changes to MOAB by adding
PART and ASSEMBLY information, as in the attached file.
For future reference, it also only currently supports a subset of the
element types and metadata. It will definitely support the linear tets
that are in your sample, but does not support many higher order elements.
Paul
On 04/21/2015 05:59 PM, Grindeanu, Iulian R. wrote:
> thanks for reporting the problem.
> this reader is not tested properly
>
> moab is looking for *PART or *ASSEMBLY keywords.
>
> Even if I modified the file, it is not read correctly
>
> I am working on it
>
> I will make a pull request
>
> Thanks,
> Iulian
>
>
> ________________________________________
> From: moab-dev-bounces at mcs.anl.gov [moab-dev-bounces at mcs.anl.gov] on behalf of Jacob Hochhalter [Jacob.D.Hochhalter at nasa.gov]
> Sent: Tuesday, April 21, 2015 12:56 PM
> To: moab-dev at mcs.anl.gov
> Subject: [MOAB-dev] mbconvert from abaqus to h5m
>
> Hello,
>
> I would like to use the mbconvert tool to translate abaqus '.inp' files
> to '.h5m' files. I have tried the following command:
>
> mbconvert -g tet4.inp tet4.h5m
>
> on moab 4.6 and 4.8 (tet4.inp is attached), but both return '.h5m' files
> without any mesh data.
>
> 'mbconvert -l' returns:
>
> Format Description Read Write File Name Suffixes
> ------ ----------------------------- ---- ----- ------------------
> ...
> Abaqus mesh ABAQUS INP mesh format yes no abq
> ...
>
> which makes me think I should be able to run the conversion.
>
> Am I missing something, or is this not yet functional?
>
> Thanks,
> - Jake
--
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal: http://go.wisc.edu/pphw-cal
Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu
Faculty Director, Advanced Computing Infrastructure ~ http://aci.wisc.edu
-------------- next part --------------
*Heading
** Job name: tet4 Model name: tet4
** Generated by: Abaqus/CAE 6.14-1
*Preprint, echo=NO, model=NO, history=NO, contact=NO
** ----------------------------------------------------------------
**
** PART INSTANCE: box
**
*Part, name=tet4_box
*Node
1, 1., 1., 1.
2, 1., 0., 1.
3, 1., 0., 0.
4, 1., 1., 0.
5, 0., 0., 1.
6, 0., 0., 0.
7, 0., 1., 0.
8, 0., 1., 1.
9, 0.492907375, 0.533767402, 0.547177196
*Element, type=C3D4
1, 2, 6, 5, 9
2, 9, 6, 5, 7
3, 7, 9, 8, 5
4, 6, 7, 9, 3
5, 4, 9, 1, 8
6, 3, 4, 9, 1
7, 3, 7, 9, 4
8, 3, 9, 2, 1
9, 5, 9, 8, 2
10, 9, 2, 1, 8
11, 6, 9, 2, 3
12, 7, 9, 4, 8
*Nset, nset=box__PickedSet2, generate
1, 9, 1
*Elset, elset=box__PickedSet2, generate
1, 12, 1
** Section: Box_Sect
*Solid Section, elset=box__PickedSet2, material=Box_Mat
,
*System
*Nset, nset=disp_y_face
1, 4, 7, 8
*Elset, elset=disp_y_face
5, 12
*Nset, nset=fix_x_edge
5, 6
*Elset, elset=fix_x_edge
1, 2
*Nset, nset=fix_y_face
2, 3, 5, 6
*Elset, elset=fix_y_face
1, 11
*Nset, nset=fix_z_edge
3, 6
*Elset, elset=fix_z_edge
4, 11
**
** MATERIALS
**
*Material, name=Box_Mat
*Elastic
200000., 0.2
*Plastic
50.,0.
5050.,1.
** ----------------------------------------------------------------
**
** STEP: box
**
*Step, name=box, nlgeom=NO
*Static
0.005, 1., 1e-05, 0.05
**
** BOUNDARY CONDITIONS
**
** Name: EdgeFix_x Type: Displacement/Rotation
*Boundary
fix_x_edge, 1, 1
** Name: EdgeFix_z Type: Displacement/Rotation
*Boundary
fix_z_edge, 3, 3
** Name: FaceFix_y Type: Displacement/Rotation
*Boundary
fix_y_face, 2, 2
** Name: FacePrescribe_y Type: Displacement/Rotation
*Boundary
disp_y_face, 2, 2, 0.01
**
** OUTPUT REQUESTS
**
*Restart, write, frequency=0
**
** FIELD OUTPUT: F-Output-1
**
*Output, field, variable=PRESELECT
**
** HISTORY OUTPUT: H-Output-1
**
*Output, history, variable=PRESELECT
*End Step
*End Part
*Assembly, name=tet4_assmby
*Instance, name=box_instance, part=tet4_box
*End Assembly
More information about the moab-dev
mailing list