×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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

how to read mesh properties from cad using an external program

how to read mesh properties from cad using an external program

how to read mesh properties from cad using an external program

(OP)
Hi, I am to write a code in FORTRAN which can calculate the section properties of any arbitary shape. The idea is to draw the section in autocad and then mesh it with user defined option (square meshes of unit size). my program is supposed to read the cad file and get the section properties (ie; Area, section modulus etc). i know that cad has option region>massprop> to get this, but i dont have full option cad, hence looking to develop this program. i wish to know if any one has good ideas on this. is it possible to read the coordinates of mesh from autocad file (if saved in a different format)
Replies continue below

Recommended for you

RE: how to read mesh properties from cad using an external program

The AutoCAD .DXF file format is publicly documented, and is already accepted as a lingua franca for communicating geometry among many CAD and CAM programs, so I'd likely start with that, if it's allowed in your problem statement.

From there, I might use recursion, i.e., write a routine to calculate the section properties of a given region using squares of arbitrary size, then call the routine using smaller squares, and keep calling the routine with smaller and smaller squares until the properties stop changing, or change by less than some defined threshold of precision, or you just get tired of waiting for the computations to complete as the number of squares increases.

Real mesh generators are smart enough to only use small squares where the geometry demands it, but uniform squares should do for a start.



Mike Halloran
Pembroke Pines, FL, USA

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



News


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