Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12262

Loop to check if deflection is greater than the limit, and re-calculate 2 parameters

$
0
0

Hi

I’m writing my master thesis in structural engineering (according to Eurocode) and trying to calculate the strength for strengthened gluelaminated timber beams (using Mathcad ofc.).

I’m stuck with a certain part of the script.

The idea is to check the maximum allowed deflection and if the force P, cause a deflection greater than the limit, the script will

1. Calculate the maximum force allowed with respect to deflection

2. Recalculate the deflection with the new decreased force (common logic would be that the deflection calculated will equal the limit deflection).

3. re-check if the statement is OK, therefore i chose the while-loop

I´ve managed to check if the force needs to be decreased but i fail to print out the new deflection from the while-loop

the idea for the script is first to write the function for deflection, calculate actual deflection and check if its exceeded.

Any ideas how to do this?

The script will later be adapted to calculate 1000 of variation of parameters and i really want to avoid any manual checks and make the script fully automated.

 

The idea is that both the new deflection and the force will be printed and sent as global variables to be used in future equations.

 

Kind regards.


Viewing all articles
Browse latest Browse all 12262

Trending Articles