Topic: error in assembly - AbaqusUserElement for OOFEM
Dear all,
I tried to implement an interface in OOFEM for User Element written for Abaqus. I developed the class abaqususerelement.C and it seems to work fine (array dimensions and passed variables are ok).
Now I'm testing the code, but I'm not able to start a simple linear static analysis. I'm using the following input deck:
spring2.out
test for abaqus user element interface
LinearStatic nsteps 1
domain 3dShell
OutputManager tstep_all dofman_all element_all
ndofman 2 nelem 1 ncrosssect 1 nmat 1 nbc 3 nic 0 nltf 1
node 1 coords 3 0. 0. 0. bc 6 0 0 0 0 0 0 load 1 3
node 2 coords 3 1. 0. 0. bc 6 0 0 0 0 0 0
#
abaqususerelement 1 nodes 2 1 2 coords 3 dofs 3 3 2 1 numsvars 52 properties 44 1.7846 23.7743 0.2283 27.7141 -0.2283 3.1666 0.75833 0.925 64 0.3 0.6 1 0 0.000253 -0.01833 0.56666 1.0666 1 0 10.0 10.0 0.3 19.268 23.7743 2.6995 19.268 0.40133 23.4716 -0.40133 2.1666 0.75 0.90833 24 0 0.8 -1000000 8 0.85 1 -0.30833 1 0 0.000253 1.5 type 3002 uel U1126F.dll
#
SimpleCS 1 area 0.1575 Iy 0.002657812 Iz 0.001607812 Ik 0.003606447115384616 beamShearCoeff 1.e30
IsoLE 1 d 1. E 25.e6 n 0.15 tAlpha 1.2e-5
BoundaryCondition 1 loadTimeFunction 1 prescribedvalue 0.0
ConstantEdgeLoad 2 loadTimeFunction 1 Components 6 0.0 0.0 3.0 0.0 0.0 0.0 loadType 3 ndofs 6
NodalLoad 3 loadTimeFunction 1 Components 6 0.0 0.0 15.0 0. 0. 0.
PeakFunction 1 t 1.0 f(t) 1.
and I get the following error:
____________________________________________________
OOFEM - Finite Element Solver
Copyright (C) 1994-2014 Borek Patzak
____________________________________________________
Total number of solution steps 1
***ELEMENTO 1 INIZIALIZZATO
_______________________________________________________
Error: (skyline.C:220)
In Skylineoofem::Skyline::assemble:
dimension of 'mat' and 'loc' mismatch
_______________________________________________________
No backtrace available
Total 1 error(s) and 0 warning(s) reported
oofem exit code 1
which seems to be a general error during assembly of the stiffness matrix; I tried to solve it but without success, I cannot understand the error. In attachment you can find the code for abaqususerelement, the DLL (it has been compiled on windows) with the UEL routine and the input deck.
Please help me
I wish to contribute to oofem development by including the attached abaqususerelement code in the GIT repository, accordingly to the oofem license, once the reported issue will be solved.