Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Good Afternoon Community,
If anybody can tell me why I'm not getting an output to the attached file. My goal is to calculate the lateral stiffness of a pile group called alpha_sub_uF, but when I substitute the pile spacing S_p and xi in the procedure, I did not get any output. I have cut and paste the equation I'm trying to program at the bottom of the worksheet. Please help.
Regards,
Boyer
Solved! Go to Solution.
Prime numbers by default matrix elements beginning from 0, not from 1. This is determined by the system variable ORIGIN.
So either you rewrite your routine so that the loops run fron 0 to np-1 (as opposed to 1 to np) or you set ORIGIN to 1. Personally I prefer to use the default ORIGIN=1.
As you have created alpha_uF as a function you have to provide arguments when you call it.
Prime numbers by default matrix elements beginning from 0, not from 1. This is determined by the system variable ORIGIN.
So either you rewrite your routine so that the loops run fron 0 to np-1 (as opposed to 1 to np) or you set ORIGIN to 1. Personally I prefer to use the default ORIGIN=1.
As you have created alpha_uF as a function you have to provide arguments when you call it.
Personally I prefer to use the default ORIGIN=1.
You mean "Personally I prefer to use the default ORIGIN=0".
Richard Jackson wrote:
Personally I prefer to use the default ORIGIN=1.
You mean "Personally I prefer to use the default ORIGIN=0".
Sure yes - a typo.
Special thanks to all of you in the community.
Regards,
Boyer