×
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!
  • Students Click Here

*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

Research Report - How Engineers are Using Remote Access
Remote access enables engineers to work from anywhere provided they have an internet connection. We surveyed our audience of engineers, designers and product managers to learn how they use remote access within their organizations. We wanted to know which industries have adopted remote access, which software they are using, and what features matter most. Download Now
eBook - Managing the Context of Product Complexity Using the Digital Twin
Keeping track of changes to complex products is difficult—think Aerospace & Defense equipment, new generations of commercial aircraft, and software-based automobiles. A new way to managing the digital context of the physical product is required and the answer is the Digital Twin. This ebook explores the opportunity available for Operations and Maintenance for the Digital Twin. Download Now
White Paper - Trends in Industrial Filtration
Substantial progress has been made in filtration technologies in recent years. New filter media materials, designs and processes have led to filters that are more efficient, reliable, compact and longer lasting. This white paper will discuss the various trends that are impacting operational responsibilities of MROs today and the resources that are available for staying up-to-date on the latest filtration solutions. 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