Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Writing code for P-M Interaction Diagram Question

Writing code for P-M Interaction Diagram Question

Writing code for P-M Interaction Diagram Question

I am currently trying to write VBA code to go through a SAP 2000 output text file and check combined axial load and out of plane flexure for each shell element in the text file.  There are about 4000 elements and 216 load cases being considered.  That's the reason for a VBA code as opposed to something more simple.  I'm having trouble understanding how to check the allowable P and M against a given P and M. I know that for a given P and M, I know the eccentricity.  The equation to compute the allowable axial load and allowable bending moment is based on knowing the distance to the neutral axis from compression face, c.  However, how do I know what "c" is for a given P and M from SAP?  I'm am a structural engineer but it has been a while since I looked at this.  I guess I'm asking for advice on how to program this in general.

RE: Writing code for P-M Interaction Diagram Question

Excel can easily handle 4000 rows of data, and it'd (probably) be easier than resorting to VBA.

RE: Writing code for P-M Interaction Diagram Question

There are 4000 elements with 4 nodes per element with 216 load cases for each element.  This is over 3 million lines of data.  I understand what EXCEL can do but understand this is the way the client would like it done.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close