Author Topic: More than 16 entries in a line  (Read 6471 times)

mubeen

  • Jr. Member
  • **
  • Posts: 22
    • Mubeen Shahid
More than 16 entries in a line
« on: December 24, 2012, 04:16:59 AM »
Hi all,
I have a problem with INITial DISPlacements command. I am writing UEL for material model with 15 DOF per node. To specify initial conditions at all (27) nodes, I wrote:
Code: [Select]
     
BATCh
INITial DISPlacements
END
1  1 0. 0. 0. 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0
27 0 0. 0. 0. 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0 304.0
         
However the number of entries exceed 16 (here are 17 per line).
Consequently, the last entry (12th 304.0) isn't read by FEAP, and an arbitrary value is assigned to it during the analysis.
Is there any possibility to continue the data on next line?

P.S: If I use PARAmeter command, e.g.
Code: [Select]
         
PARAmeter
r = 304.00
.
.
.
BATCh
INITial DISPlacements
END
1  1 0. 0. 0. r r r r r r r r r r r r
27 1 0. 0. 0. r r r r r r r r r r r r
         
FEAP neglects value of "r" completely and assigns zero values to all DOFs.

mubeen

  • Jr. Member
  • **
  • Posts: 22
    • Mubeen Shahid
Re: More than 16 entries in a line
« Reply #1 on: December 30, 2012, 05:44:26 AM »
I suspect  that INITIAL DISPLacements command sets values for only displacements (u1,u2,u3) i.e. first three DOFs at the node; consequently rest of the values entered at that line have no effect.
If that is true, then is there any other procedure to initialize the values of other DOFs at the nodes?
--
P.S:
I thought to set the initial values of rest of DOFs by using History (hr) arrays, but that would increase the problem size many-times.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: More than 16 entries in a line
« Reply #2 on: January 09, 2013, 07:53:08 PM »
For each data line FEAP will read the node number, the node-generation number, and then up to 14 values on the line.  If ndf > 14 then
the ndf-14 remaining values must be entered on the next line.  Thus  you need

batch
  init disp
end
1 1   0 0 0  304 304 304  304 304 304  304 304 304  304 304
304
27 0  0 0 0  304 304 304  304 304 304  304 304 304  304 304
304

Have a look at your version of program/genvec.f and you should see the relevant logic.  It this does not work with your version please use a debugger to interrogate what is going wrong in genvec.f