Page 1 of 1

local variable 'perm' referenced before assignment

Posted: Thu Oct 19, 2023 9:32 am
by xgx
Dear STKO team, can you tell me how to deal with the problem in the following pictures.

Re: local variable 'perm' referenced before assignment

Posted: Mon Oct 23, 2023 8:20 am
by STKO Team
This means you assigned a 3-node shell element (ShellDKGT) to a mesh with a different number of nodes (not a triangle)

Re: local variable 'perm' referenced before assignment

Posted: Sat Oct 28, 2023 1:07 pm
by xgx
STKO Team wrote:
Mon Oct 23, 2023 8:20 am
This means you assigned a 3-node shell element (ShellDKGT) to a mesh with a different number of nodes (not a triangle)
Thank you very much, I have fixed the problem.

Re: local variable 'perm' referenced before assignment

Posted: Mon Oct 30, 2023 9:08 am
by STKO Team
You're welcome

Re: local variable 'perm' referenced before assignment

Posted: Wed Nov 06, 2024 8:21 pm
Hi,

I'm getting the same error, and I'm sure I'm using 4-node faces. Could you help me to solve it, please?

Thanks!

Franco

Re: local variable 'perm' referenced before assignment

Posted: Thu Nov 07, 2024 5:32 am
by kesavapraba
Hi, I used the same element and section as you did, but I didn't receieve such error. Input files were correctly written as you can see in the attached picture. It may be due to other reasons, please check the last sentence of the error message and the python files associated with the error.