Abaqus import (*.inp file)

Moderator: GiD Team

fcdiass
Posts: 1
Joined: Fri Nov 08, 2019 8:04 pm

Abaqus import (*.inp file)

Postby fcdiass » Fri May 22, 2020 11:04 pm

I would like to know how to use correctly the option "Files > Import > Abaqus..." available since version 14.1.8d (developer version).

In version 14.1.8d when I choose this option, a window opens and I can choose files with *.inp extension. A kind of code runs, and in the end I can't see the mesh anywhere.

In version 14.1.9d when I choose this option, I can do the same as the previous step, but in the end, I receive an error message.

What I am doing wrong?

PS: Next, I present the contents of the "test.inp" file, in case someone wanted to reproduce my steps.

Code: Select all

*Heading
** Job name: Job-1 Model name: Model-1
** Generated by: Abaqus/CAE 2017
*Preprint, echo=NO, model=NO, history=NO, contact=NO
**
** PARTS
**
*Part, name=Part-1
*Node
      1,           0.,           0.
      2,  0.200000003,           0.
      3,  0.400000006,           0.
      4,  0.600000024,           0.
      5,  0.800000012,           0.
      6,           1.,           0.
      7,           0.,  0.200000003
      8,  0.200000003,  0.200000003
      9,  0.400000006,  0.200000003
     10,  0.600000024,  0.200000003
     11,  0.800000012,  0.200000003
     12,           1.,  0.200000003
     13,           0.,  0.400000006
     14,  0.200000003,  0.400000006
     15,  0.400000006,  0.400000006
     16,  0.600000024,  0.400000006
     17,  0.800000012,  0.400000006
     18,           1.,  0.400000006
     19,           0.,  0.600000024
     20,  0.200000003,  0.600000024
     21,  0.400000006,  0.600000024
     22,  0.600000024,  0.600000024
     23,  0.800000012,  0.600000024
     24,           1.,  0.600000024
     25,           0.,  0.800000012
     26,  0.200000003,  0.800000012
     27,  0.400000006,  0.800000012
     28,  0.600000024,  0.800000012
     29,  0.800000012,  0.800000012
     30,           1.,  0.800000012
     31,           0.,           1.
     32,  0.200000003,           1.
     33,  0.400000006,           1.
     34,  0.600000024,           1.
     35,  0.800000012,           1.
     36,           1.,           1.
     37,           0.,   1.20000005
     38,  0.200000003,   1.20000005
     39,  0.400000006,   1.20000005
     40,  0.600000024,   1.20000005
     41,  0.800000012,   1.20000005
     42,           1.,   1.20000005
     43,           0.,   1.39999998
     44,  0.200000003,   1.39999998
     45,  0.400000006,   1.39999998
     46,  0.600000024,   1.39999998
     47,  0.800000012,   1.39999998
     48,           1.,   1.39999998
     49,           0.,   1.60000002
     50,  0.200000003,   1.60000002
     51,  0.400000006,   1.60000002
     52,  0.600000024,   1.60000002
     53,  0.800000012,   1.60000002
     54,           1.,   1.60000002
     55,           0.,   1.79999995
     56,  0.200000003,   1.79999995
     57,  0.400000006,   1.79999995
     58,  0.600000024,   1.79999995
     59,  0.800000012,   1.79999995
     60,           1.,   1.79999995
     61,           0.,           2.
     62,  0.200000003,           2.
     63,  0.400000006,           2.
     64,  0.600000024,           2.
     65,  0.800000012,           2.
     66,           1.,           2.
*Element, type=CPS4
 1,  1,  2,  8,  7
 2,  2,  3,  9,  8
 3,  3,  4, 10,  9
 4,  4,  5, 11, 10
 5,  5,  6, 12, 11
 6,  7,  8, 14, 13
 7,  8,  9, 15, 14
 8,  9, 10, 16, 15
 9, 10, 11, 17, 16
10, 11, 12, 18, 17
11, 13, 14, 20, 19
12, 14, 15, 21, 20
13, 15, 16, 22, 21
14, 16, 17, 23, 22
15, 17, 18, 24, 23
16, 19, 20, 26, 25
17, 20, 21, 27, 26
18, 21, 22, 28, 27
19, 22, 23, 29, 28
20, 23, 24, 30, 29
21, 25, 26, 32, 31
22, 26, 27, 33, 32
23, 27, 28, 34, 33
24, 28, 29, 35, 34
25, 29, 30, 36, 35
26, 31, 32, 38, 37
27, 32, 33, 39, 38
28, 33, 34, 40, 39
29, 34, 35, 41, 40
30, 35, 36, 42, 41
31, 37, 38, 44, 43
32, 38, 39, 45, 44
33, 39, 40, 46, 45
34, 40, 41, 47, 46
35, 41, 42, 48, 47
36, 43, 44, 50, 49
37, 44, 45, 51, 50
38, 45, 46, 52, 51
39, 46, 47, 53, 52
40, 47, 48, 54, 53
41, 49, 50, 56, 55
42, 50, 51, 57, 56
43, 51, 52, 58, 57
44, 52, 53, 59, 58
45, 53, 54, 60, 59
46, 55, 56, 62, 61
47, 56, 57, 63, 62
48, 57, 58, 64, 63
49, 58, 59, 65, 64
50, 59, 60, 66, 65
*Nset, nset="Rock 1", generate
  1,  66,   1
*Elset, elset="Rock 1", generate
  1,  50,   1
** Section: Section-1
*Solid Section, elset="Rock 1", material="Rock 1"
1.,
*End Part
** 
**
** ASSEMBLY
**
*Assembly, name=Assembly
** 
*Instance, name=Part-1-1, part=Part-1
*End Instance
** 
*Nset, nset=Loads, instance=Part-1-1
 61, 66
*Nset, nset=Set-3, instance=Part-1-1
 1,
*Nset, nset=line, instance=Part-1-1, generate
 1,  6,  1
*Elset, elset=line, instance=Part-1-1, generate
 1,  5,  1
*End Assembly
**
** MATERIALS
**
*Material, name="Rock 1"
*Elastic
 3e+07, 0.2
**
** BOUNDARY CONDITIONS
**
** Name: BC-1 Type: Displacement/Rotation
*Boundary
line, 2, 2
** Name: BC-2 Type: Displacement/Rotation
*Boundary
Set-3, 1, 1
** ----------------------------------------------------------------
**
** STEP: Load
**
*Step, name=Load, nlgeom=NO
Load
*Static
1., 1., 1e-05, 1.
**
** LOADS
**
** Name: Loads   Type: Concentrated force
*Cload
Loads, 2, -100.
**
** 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
User avatar
escolano
Posts: 1628
Joined: Thu Sep 18, 2014 3:31 pm

Re: Abaqus import (*.inp file)

Postby escolano » Wed Jun 03, 2020 11:02 am

There is an small bug in the Abaqus mesh import plugin v 0.1
I attach an
Abaqus.zip
(4.59 KiB) Downloaded 18 times
with a fixed 0.2 version

To use it must simply unzip at "<GiD>\plugins\Import\pre", replacing the current one.

You can see the content of the zip, there are two text files, the .xml with declarations of the plugin, and the .tcl with the scripting code to read the .inp files and create the mesh.

Your example could be read without problems with this plugin version.
If do you have problems with other examples send us a copy (can be sent privatelly if necessary)

Next GiD versions will include the updated plugin,

Return to “Import/Export”

Who is online

Users browsing this forum: No registered users and 1 guest