Hey guys!
I have a problem with composite optimization. I would like to ask you to help me modify a script.
I have made a composite skateboard tutorial and after size optimization there were many plies. These plies have initial values like 0.41535 mm, and upper bound value something similar, but bigger. The manufacturable thickness was 0.5 mm, so I had to alter the upper bound value equal to multiple of the manufacturable thickness.
I found a script on the script exchange, which is attached, that can change the upper bound, initial value and lower bound of the design variables for the multiples of the manufacturable plies.
I think it would be useful if this script would be able to modify the upper bound value of the design variables in the following way:
If the initial value (IV) is less than or equal to the manufacturable thickness (TMANUF) then the upper bound value of the design variables (UBV) has to be equal to the manufacturable thickness (TMANUF).
If TMANUF < IV <= 2 x TMANUF then UBV = 2 x TMANUF
Generally: If n x TMANUF < IV <= (n+1) x TMANUF then UBV = (n+1) x TMANUF; where n = 0, 1, 2, 3 ...
Could someone modify this script with this changes?
Thank you for your help in advance!
Best regards,
Tüki
Unable to find an attachment - read this blog