×
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

Jobs

INTEGER IN INPUT FILE

INTEGER IN INPUT FILE

INTEGER IN INPUT FILE

(OP)
hello,
is there an otion in the input dat file in  ABAQUS to take the integer value from an equation.
i try to parameterize an file and have the problem that the value for my element density or mesh doesnt have an integer value. i want to round this value up or down and take it as an integer for the number of elements. is there a command like c=(int* a/b) for a=3,b=2 and the result should be c=2

maybe someone can help me..cheers jan  

RE: INTEGER IN INPUT FILE

isn't there a Python int(..) function i.e. n=int(a/b)   ?

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!


Resources