×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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

Unexpected Errors when compling subroutine - UEL

Unexpected Errors when compling subroutine - UEL

RE: Unexpected Errors when compling subroutine - UEL

You would think that if you would at least describe what your code is supposed to do, or are people supposed to blindly compile your code and slog through the source to figure it out?

TTFN
FAQ731-376: Eng-Tips.com Forum Policies

Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!

RE: Unexpected Errors when compling subroutine - UEL

(OP)
Hi,

Sorry for my slip! The following parameters denote the basic geomegry properties of the pipeline and some misc. parameters of elements of stiffness matrix as shown below. I commented some of parameters by using dummy values instead, in order to test what trigered those errors mentioned in my previous query.

Di=PROPS(1)-2*PROPS(2)
A=0.25*PROPS(5)*(Di**2)
Iy=(PROPS(5)/64)*(PROPS(1)**4-Di**4)
Iz=(PROPS(5)/64)*(PROPS(1)**4-Di**4)
EI_y=PROPS(3)*Iy
EI_z=PROPS(3)*Iz
G=PROPS(3)/(2*(1+PROPS(4)))
J=2*(PROPS(5)/64)*(PROPS(1)**4-Di**4)
L=sqrt((COORDS(1,2)-COORDS(1,1))**2
* +(COORDS(2,2)-COORDS(2,1))**2
* +(COORDS(3,2)-COORDS(3,1))**2)
DEN1=(12*EI_y-k*G*A*L**2)**2
C DEN2=(12*EI_z-k*G*A*L**2)**2
C NUME1=k*G*A*EI_y*(12*EI_y+k*G*A*L**2)
C NUME2=k*G*A*EI_z*(12*EI_z+k*G*A*L**2)
C DEN1=1.0
DEN2=1.0
NUME1=1.0
NUME2=1.0

RE: Unexpected Errors when compling subroutine - UEL

I see no error codes.
You posted only a small piece of code with no useful information about the code.
There's not even a hint as to what kind of errors you are getting.

Errors while attempting to compile the code?
Errors while attempting to run code which has successfully been compiled?

We can't help you with your code because we have no clue as to what problems you are encountering.

If you truly want help, you'll need to post a clear question/request and provide sufficient backup information for someone to even attempt to help you out.

None-the-less.... to start with... you really should declare all the variables/arguments in your routine. ie.. Which variable's are Integers, which are Reals, etc. For anything other than a super trivial program, if you haven't defined your arguments, you're pretty much guaranteed to fail.

Dan

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


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

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