error of local variable perm referenced before assignment

Post Reply
FaizanAhmadNadeem
Posts: 11
Joined: Thu Mar 09, 2023 5:06 am

error of local variable perm referenced before assignment

Post by FaizanAhmadNadeem » Thu Mar 23, 2023 8:42 am

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!
Attachments
shell_tunnel.rar
(69.75 KiB) Downloaded 82 times

ValentinaSB
Posts: 61
Joined: Thu Dec 09, 2021 10:53 am

Re: error of local variable perm referenced before assignment

Post by ValentinaSB » Tue Mar 28, 2023 2:27 pm

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
Attachments
shell_tunnel.rar
(69.75 KiB) Downloaded 84 times

FaizanAhmadNadeem
Posts: 11
Joined: Thu Mar 09, 2023 5:06 am

Re: error of local variable perm referenced before assignment

Post by FaizanAhmadNadeem » Sat Apr 01, 2023 5:42 am

Thank you for the response.

sure i will take care, next time

ValentinaSB
Posts: 61
Joined: Thu Dec 09, 2021 10:53 am

Re: error of local variable perm referenced before assignment

Post by ValentinaSB » Mon Apr 03, 2023 7:04 am

You are welcome

Post Reply