Page 1 of 1

error of local variable perm referenced before assignment

Posted: Thu Mar 23, 2023 8:42 am
by FaizanAhmadNadeem
Hi STKO team,

I want to model the thin cylindrical shell representing the tunnel by shell elements Shell-DKGQ or shellMITC4 with plate fiber sections, but most of the time I am getting an error of local variable perm referenced before assignment. I am not sure why it's happening! can you please guide me what I am doing wrong?

I have attached a model with this query!



Thank you in Advance!

Re: error of local variable perm referenced before assignment

Posted: Tue Mar 28, 2023 2:27 pm
by ValentinaSB
Hi FaizanAhmadNadeem,
Pay attention when you assign the element property. Use the selection button (only face) and not edge and vertex in this case.
I attached the corrected model.

Best,
Valentina

Re: error of local variable perm referenced before assignment

Posted: Sat Apr 01, 2023 5:42 am
by FaizanAhmadNadeem
Thank you for the response.

sure i will take care, next time

Re: error of local variable perm referenced before assignment

Posted: Mon Apr 03, 2023 7:04 am
by ValentinaSB
You are welcome