Path: blob/devel/ElmerWorkflows/Gid2Elmer/GidElmerMarcoInstructions.txt
3204 views
Instructions for importing meshes into Elmer from GiD1=====================================================23Note: these procedures have been originally written long ago and may not work with the current version of GiD.45It is possible to use GiD as a pre processor and mesh generator for Elmer in 2d and 3d analysis.67Copy the folder elmer.gid under in GiD's problem type folder \GiD\Problemtypes. The folder contains all necessary templates GiD to run under linux- and windows (and possibly Mac) platforms. It may be that the directory also includes the binaries, if not you should compile them from the source codes to stand-alone executables.8910Update from Mark Smith in 2014: The updated Elmer problem type for GiD which now handles prism and pyramid elements, though not extensively tested it seems to do the job on windows.11Included are the original files : findparents.f90.orig and Elmer.bas.orig. (note that the mac type has not been updated).121314151617Elmer/GiD tutorial in 2D ML 16.5.200418--------------------------------------------------------------------------19201) Make sure that the folder elmer.gid is copied in \GiD\ProblemTypes.21Then, "elmer" should be a valid problem type for GiD and visible in22Data -> Problem type.23242) Invoke GiD and choose File -> New25263) Create a square: Geometry -> Create -> Object -> Rectangle. Give:2728First corner point: 0 029Second corner point: 1 130314) Right-click the mouse and choose a) Render -> Flat lighting b) Rotate ->32Trackball. Select a nice view point and give the command "zoom frame".33345) Choose Data -> Problem type -> elmer35366) Assign boundary conditions to the boundary lines by choosing Data ->37Condition. Select "LineCondition" with Index=1 and assign it to all four38boundary lines of the rectangle. NOTE: Only the boundary elements with39Index>0 will be written in the mesh file "mesh.boundary".40417) Choose Data -> Materials and assign Index=1 to the surface of the42rectangle. NOTE: Only the bulk elements with material Index>0 will be43written in the mesh file "mesh.elements".44458) Set Utilities -> Preferences -> Meshing -> Mesh always by default: lines46This option is needed to generate the mesh.boundary file.47489) Select Meshing -> Generate. Give size=0.14. As a result, we should49get 28 linear boundary elements, 104 triangular bulk elements, and 6750nodes.515210) Save the project: File -> Save as.535411) Save the mesh in elmer-format by choosing Calculate -> Calculate. The55mesh.* files written by GiD can be found from the project-folder.5657Any questions? Write a message to: [email protected]585960