Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

This value must be a scalar 2

Status
Not open for further replies.

hoshang

Civil/Environmental
Jul 18, 2012
484
Hi,
Please find the attached image:
Capture_cudpau.png

I'm not aware how this could be solved.
Any help would be highly appreciated.
 
Replies continue below

Recommended for you

Hi, I'm sorry if I haven't been clear.
I meant the inclusion of the R_pc2<=M_p2/M_y2 condition into the If statement. How this can be done?
 
Hi
Can anyone share thoughts with my query?
 
So, you're checking Rpc2 to see if it's less than the ratio between its plastic moment and yield moment (the shape factor, if I recall correctly).

So, what happens if Rpc2 exceeds that ratio? I assume you need to check all your Rpc values against the moment ratio?
 
winelandv said:
what happens if Rpc2 exceeds that ratio? I assume you need to check all your Rpc values against the moment ratio?
Thanks, if Rpc2 exceeds that ratio, then R_pc2=M_p2/M_y2.
 
It appears to me that you're already (essentially) doing that check with your first statement.

UNLESS, is there ever a case where lambdaw is less than lambdarw, but you could still end up with a value that is greater than your Mp/My? If the answer to this is "no", then you don't need to perform the check separately.
 
Hi,
Please find the attached image for more clarification.
P.S
Lambda_w=h_c/t_w
Screenshot_2022-06-28_183926_huzyjh.png
 
Hi
Any input would be highly appreciated.
 
Hi,
Can't my issue be solved?
 
if that is correct you can use the max(1.0,Mp/Myc) in the last statement to force this to work.
 
Hi structSU10,
Thanks. Should it be max or min function?
Please find the attached image. Am I doing it correctly?
Screenshot_2022-07-01_185037_mbdtkx.png
 
I think it is min in this case as you are limiting the left side of the inequality to be less than or equal to the right side.
 
Hi structSU10,
Thanks, I highly appreciate your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor