Proj:MedAba
FEA data exchange: MedAba project by Otto Ernst Bernhardi
This project aims at developing a file conversion tool to facilitate the directionnal exchange of FEA meshes between Salome MED format and Calculix / Abaqus INP format.
This software is developed by Otto Ernst Bernhardi and is provided "as is" without warranty.
The attached archive contains the MedAba utility compiled for linux 32 and 64 bits; the source code/makefile and a simple mesh example.
Remarks:
How to apply boundary conditions:
Generate a node group an Salome. It will be converted into a *nset which in
turn can be used in appropriate *boundary definitions.
How to apply surface pressure conditions:
If you have generated element surface groups in salome, these will be
converted into corresponding *elsets which can be easily used to apply
pressure loadings etc.
You create the groups in Salome using e.g. "create group on Geometry". The geometry must be a surface.
For example, if you have created an element surface group "boundary" in Salome, Medaba will translate it into several *elset's like
... *elset, elset=boundaryF4 5, ...
This means that element 5 in *elset in boundaryF4 has its element surface 4 on
the loaded surface. In case of irregular meshes with tet elements there will
be (at most) four *elsets with endings F1, F2, F3 and F4 -- in case of brick
elements there will be (at most) 6 *elsets.
Then, to apply the loading in ccx, you type
*dload boundaryF4, P4, 12345.6
if there are F1, F2... surfaces present in the input files these also have to be included here. In the example, the pressure value is 12345.6.
Remark: the surface name is F4, the loading name is P4, corresponding to the ABAQUS/calculix conventions.
Use with gmsh:
This version of medaba will work with salome. GMSH also generates .med files; however, the element - node sequencing for the tet elements seems to be different from those in Salome. Please check the definition of the seqabq array in medaba10.c.
Downloads
Link to the original forum discussion: