Dear Prof. Taylor/Feap Admin,
Is there any limit in the number of knots/control points?
Due to some numerical reasons, I need to use a very large mesh (193x1000 control points), but when I try to run the model in FEAP, I get this error on the screen:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7F9057094E48
#1 0x7F9057093FD0
#2 0x7F90567C52EF
#3 0x4B7441 in pknots_
#4 0x50A138 in pnurb_in_
#5 0x50C99A in pnums_
#6 0x5034BF in pnewprob_
#7 0x57179F in pcontr_
Segmentation fault (core dumped)
I tried to track the problem and found out that the NURBS_count file is created, but there are some mistakes in the generated file:
the most important is in the beginning for the larger knot vector (which in my problem has 1003 knots)
in the NURBS_count file it is written:
KNOTs
open 11003 0.00000000E+00 0.00000000E+00 0.00000000E+00 1.00200000E-03 2.00401000E-03 3.00601000E-03 4.00802000E-03 5.01002000E-03 6.01202000E-03 7.01403000E-03 8.01603000E-03 9.01804000E-03 1.00200400E-02
...
while my input is:
KNOTs
KNOT 1 1003 0.00000000, 0.00000000, 0.00000000, 0.00100200, 0.00200401, 0.00300601, 0.00400802, 0.00501002, 0.00601202, 0.00701403, 0.00801603, 0.00901804, 0.01002004,
as you can see, the KNOT VECTOR number is tied to the NUMBER OF KNOTS (instead of 1 1003, in NURBS_count it is written 11003). I would assume that this has happened because the placeholder for the number of knots is just 3-digits. I don't know if it has any effect in the final generated mesh or not.
I tried to look for the code responsible for this problem but couldn't find it.
Is it a known problem?