How to define a load on file.nam

send steel abq names

will write the node and element numbers included in ”steel”. This file could
be used to define a set for material assignments, boundary conditions or loads.

Name of the topic is what my problem is.

Include that file in your input file just like you include all.msh

This makes the sets Esteel and Nsteel available.

Well, I do not get it

beam-nam.fbd
valu Etyp he8

seto beam
pnt p2 0 4 0
pnt p3 0 4 1000

line l1 p2 p3
seta se1 l l1

swep se1 sesw1 tra 20 0 0

seta sesw2 A001
swep sesw2 sesw3 tra 0 20 0

pnt p4 10 4 0
pnt p5 15 4 90
line l2 p4 p5
setc beam

elty beam Etyp
mesh beam
send beam abq

load.nam
** Names based on load
*ELSET,ELSET=Eload
13,
14,
15,
16,
29,
30,
31,
32,
45,
46,
47,
48,
61,
62,
63,
64,

beam-nam.inp
*HEADING
Model: CalculiX decomposed force experiment
*INCLUDE,INPUT=beam.msh
*INCLUDE,INPUT=load.nam
*MATERIAL,NAME=EL
*ELASTIC
2e6,0.3
*SOLID SECTION,ELSET=Ebeam,MATERIAL=EL
**Homogeneous Conditions
*BOUNDARY
*INCLUDE,INPUT=fix_123.bou
*STEP
*STATIC
*DLOAD
Eload,P31,200000 #<<<< it is error I have no idea how to get over it.
*NODE FILE ** It adds to Datasets → 1 DISP
U
*EL FILE ** It adds to Datasets → 2 STRESS
S
*END STEP

*ERROR reading *DLOAD. Card image:
ELOAD,P31,200000

ELOAD,P3,200000

these is the way

*NODE, NSET=Nbeam
       1,-5.000000000000e-01,5.000000000000e-01,0.000000000000e+00
       2,0.000000000000e+00,5.000000000000e-01,0.000000000000e+00
       3,0.000000000000e+00,5.000000000000e-01,1.000000000000e+00
       4,-5.000000000000e-01,5.000000000000e-01,1.000000000000e+00
       5,-5.000000000000e-01,0.000000000000e+00,0.000000000000e+00
       6,0.000000000000e+00,0.000000000000e+00,0.000000000000e+00
       7,0.000000000000e+00,0.000000000000e+00,1.000000000000e+00
       8,-5.000000000000e-01,0.000000000000e+00,1.000000000000e+00
       9,0.000000000000e+00,5.000000000000e-01,2.000000000000e+00
      10,-5.000000000000e-01,5.000000000000e-01,2.000000000000e+00
      11,0.000000000000e+00,0.000000000000e+00,2.000000000000e+00
      12,-5.000000000000e-01,0.000000000000e+00,2.000000000000e+00
      13,0.000000000000e+00,5.000000000000e-01,3.000000000000e+00
      14,-5.000000000000e-01,5.000000000000e-01,3.000000000000e+00
      15,0.000000000000e+00,0.000000000000e+00,3.000000000000e+00
      16,-5.000000000000e-01,0.000000000000e+00,3.000000000000e+00
      17,0.000000000000e+00,5.000000000000e-01,4.000000000000e+00
      18,-5.000000000000e-01,5.000000000000e-01,4.000000000000e+00
      19,0.000000000000e+00,0.000000000000e+00,4.000000000000e+00
      20,-5.000000000000e-01,0.000000000000e+00,4.000000000000e+00
      21,0.000000000000e+00,5.000000000000e-01,5.000000000000e+00
      22,-5.000000000000e-01,5.000000000000e-01,5.000000000000e+00
      23,0.000000000000e+00,0.000000000000e+00,5.000000000000e+00
      24,-5.000000000000e-01,0.000000000000e+00,5.000000000000e+00
      25,0.000000000000e+00,5.000000000000e-01,6.000000000000e+00
      26,-5.000000000000e-01,5.000000000000e-01,6.000000000000e+00
      27,0.000000000000e+00,0.000000000000e+00,6.000000000000e+00
      28,-5.000000000000e-01,0.000000000000e+00,6.000000000000e+00
      29,0.000000000000e+00,5.000000000000e-01,7.000000000000e+00
      30,-5.000000000000e-01,5.000000000000e-01,7.000000000000e+00
      31,0.000000000000e+00,0.000000000000e+00,7.000000000000e+00
      32,-5.000000000000e-01,0.000000000000e+00,7.000000000000e+00
      33,0.000000000000e+00,5.000000000000e-01,8.000000000000e+00
      34,-5.000000000000e-01,5.000000000000e-01,8.000000000000e+00
      35,0.000000000000e+00,0.000000000000e+00,8.000000000000e+00
      36,-5.000000000000e-01,0.000000000000e+00,8.000000000000e+00
      37,-5.000000000000e-01,-5.000000000000e-01,0.000000000000e+00
      38,0.000000000000e+00,-5.000000000000e-01,0.000000000000e+00
      39,0.000000000000e+00,-5.000000000000e-01,1.000000000000e+00
      40,-5.000000000000e-01,-5.000000000000e-01,1.000000000000e+00
      41,0.000000000000e+00,-5.000000000000e-01,2.000000000000e+00
      42,-5.000000000000e-01,-5.000000000000e-01,2.000000000000e+00
      43,0.000000000000e+00,-5.000000000000e-01,3.000000000000e+00
      44,-5.000000000000e-01,-5.000000000000e-01,3.000000000000e+00
      45,0.000000000000e+00,-5.000000000000e-01,4.000000000000e+00
      46,-5.000000000000e-01,-5.000000000000e-01,4.000000000000e+00
      47,0.000000000000e+00,-5.000000000000e-01,5.000000000000e+00
      48,-5.000000000000e-01,-5.000000000000e-01,5.000000000000e+00
      49,0.000000000000e+00,-5.000000000000e-01,6.000000000000e+00
      50,-5.000000000000e-01,-5.000000000000e-01,6.000000000000e+00
      51,0.000000000000e+00,-5.000000000000e-01,7.000000000000e+00
      52,-5.000000000000e-01,-5.000000000000e-01,7.000000000000e+00
      53,0.000000000000e+00,-5.000000000000e-01,8.000000000000e+00
      54,-5.000000000000e-01,-5.000000000000e-01,8.000000000000e+00
      55,5.000000000000e-01,5.000000000000e-01,0.000000000000e+00
      56,5.000000000000e-01,5.000000000000e-01,1.000000000000e+00
      57,5.000000000000e-01,0.000000000000e+00,0.000000000000e+00
      58,5.000000000000e-01,0.000000000000e+00,1.000000000000e+00
      59,5.000000000000e-01,5.000000000000e-01,2.000000000000e+00
      60,5.000000000000e-01,0.000000000000e+00,2.000000000000e+00
      61,5.000000000000e-01,5.000000000000e-01,3.000000000000e+00
      62,5.000000000000e-01,0.000000000000e+00,3.000000000000e+00
      63,5.000000000000e-01,5.000000000000e-01,4.000000000000e+00
      64,5.000000000000e-01,0.000000000000e+00,4.000000000000e+00
      65,5.000000000000e-01,5.000000000000e-01,5.000000000000e+00
      66,5.000000000000e-01,0.000000000000e+00,5.000000000000e+00
      67,5.000000000000e-01,5.000000000000e-01,6.000000000000e+00
      68,5.000000000000e-01,0.000000000000e+00,6.000000000000e+00
      69,5.000000000000e-01,5.000000000000e-01,7.000000000000e+00
      70,5.000000000000e-01,0.000000000000e+00,7.000000000000e+00
      71,5.000000000000e-01,5.000000000000e-01,8.000000000000e+00
      72,5.000000000000e-01,0.000000000000e+00,8.000000000000e+00
      73,5.000000000000e-01,-5.000000000000e-01,0.000000000000e+00
      74,5.000000000000e-01,-5.000000000000e-01,1.000000000000e+00
      75,5.000000000000e-01,-5.000000000000e-01,2.000000000000e+00
      76,5.000000000000e-01,-5.000000000000e-01,3.000000000000e+00
      77,5.000000000000e-01,-5.000000000000e-01,4.000000000000e+00
      78,5.000000000000e-01,-5.000000000000e-01,5.000000000000e+00
      79,5.000000000000e-01,-5.000000000000e-01,6.000000000000e+00
      80,5.000000000000e-01,-5.000000000000e-01,7.000000000000e+00
      81,5.000000000000e-01,-5.000000000000e-01,8.000000000000e+00
*ELEMENT, TYPE=C3D8, ELSET=Ebeam
     1,     1,     2,     3,     4,     5,     6,     7,     8
     2,     4,     3,     9,    10,     8,     7,    11,    12
     3,    10,     9,    13,    14,    12,    11,    15,    16
     4,    14,    13,    17,    18,    16,    15,    19,    20
     5,    18,    17,    21,    22,    20,    19,    23,    24
     6,    22,    21,    25,    26,    24,    23,    27,    28
     7,    26,    25,    29,    30,    28,    27,    31,    32
     8,    30,    29,    33,    34,    32,    31,    35,    36
     9,     5,     6,     7,     8,    37,    38,    39,    40
    10,     8,     7,    11,    12,    40,    39,    41,    42
    11,    12,    11,    15,    16,    42,    41,    43,    44
    12,    16,    15,    19,    20,    44,    43,    45,    46
    13,    20,    19,    23,    24,    46,    45,    47,    48
    14,    24,    23,    27,    28,    48,    47,    49,    50
    15,    28,    27,    31,    32,    50,    49,    51,    52
    16,    32,    31,    35,    36,    52,    51,    53,    54
    17,     2,    55,    56,     3,     6,    57,    58,     7
    18,     3,    56,    59,     9,     7,    58,    60,    11
    19,     9,    59,    61,    13,    11,    60,    62,    15
    20,    13,    61,    63,    17,    15,    62,    64,    19
    21,    17,    63,    65,    21,    19,    64,    66,    23
    22,    21,    65,    67,    25,    23,    66,    68,    27
    23,    25,    67,    69,    29,    27,    68,    70,    31
    24,    29,    69,    71,    33,    31,    70,    72,    35
    25,     6,    57,    58,     7,    38,    73,    74,    39
    26,     7,    58,    60,    11,    39,    74,    75,    41
    27,    11,    60,    62,    15,    41,    75,    76,    43
    28,    15,    62,    64,    19,    43,    76,    77,    45
    29,    19,    64,    66,    23,    45,    77,    78,    47
    30,    23,    66,    68,    27,    47,    78,    79,    49
    31,    27,    68,    70,    31,    49,    79,    80,    51
    32,    31,    70,    72,    35,    51,    80,    81,    53

*NSET,NSET=Nfix
1, 2, 5, 6, 37, 38, 55, 57, 73, 

*ELSET,ELSET=Eload
9, 10 ,11, 12, 13, 14, 15, 16
25, 26 ,27, 28, 29, 30, 31, 32

*MATERIAL,NAME=EL
*ELASTIC
2e6,0.3
*SOLID SECTION,ELSET=Ebeam,MATERIAL=EL

*DENSITY
7.86E-9

*BOUNDARY
Nfix,1,3,0

*STEP
*STATIC
*DLOAD
**Ebeam,GRAV,9810.,0.,0.,-1.
Eload,P2,10

*NODE FILE
U
*EL FILE
S
*END STEP

maybe you should start more simple

I just get it. I copy your inp and try it, works.

The example is not so elaborated.

I experiment with file.nam to get used to ways to apply load to structure. I did the following
plot f beam
view elem
qadd load
mode:a
75 e:64 s:5 n= 95 100 125 120
79 e:64 s:2 n= 124 125 100 99
78 e:63 s:2 n= 123 124 99 98
95 e:64 s:4 n= 120 125 124 119
77 e:62 s:2 n= 122 123 98 97
94 e:63 s:4 n= 119 124 123 118
76 e:61 s:2 n= 121 122 97 96
93 e:62 s:4 n= 118 123 122 117
94 e:63 s:4 n= 119 124 123 118
60 e:45 s:2 n= 96 97 72 71
94 e:63 s:4 n= 119 124 123 118
95 e:64 s:4 n= 120 125 124 119
61 e:46 s:2 n= 97 98 73 72
75 e:64 s:5 n= 95 100 125 120
59 e:48 s:5 n= 70 75 100 95
62 e:47 s:2 n= 98 99 74 73
75 e:64 s:5 n= 95 100 125 120
59 e:48 s:5 n= 70 75 100 95
63 e:48 s:2 n= 99 100 75 74
39 e:32 s:5 n= 39 49 75 70
47 e:32 s:2 n= 74 75 49 47
45 e:31 s:2 n= 73 74 47 45
59 e:48 s:5 n= 70 75 100 95
43 e:30 s:2 n= 72 73 45 43
59 e:48 s:5 n= 70 75 100 95
41 e:29 s:2 n= 71 72 43 42
75 e:64 s:5 n= 95 100 125 120
40 e:13 s:2 n= 42 43 44 41
59 e:48 s:5 n= 70 75 100 95
39 e:32 s:5 n= 39 49 75 70
42 e:14 s:2 n= 43 45 46 44
39 e:32 s:5 n= 39 49 75 70
44 e:15 s:2 n= 45 47 48 46
38 e:16 s:5 n= 40 50 49 39
46 e:16 s:2 n= 47 49 50 48
done
send load abq nam
please wait for ‘ready’
write file: load.nam
ready
ready

1 Like

The load is applied to face number 2 of all elements belonging to set Eload where there is no face being numbered with 2

How does it work? I have no idea.

plot fa all

plot fa all

why my visual numbering is different from yours? How to configure it to resemble it as on your image.

Do you mean P2 is the surface S2 as I get it from yellow marks on your image, is it right?

1 Like