Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

INTEGER IN INPUT FILE

Status
Not open for further replies.

studresearch

Civil/Environmental
Joined
Jan 30, 2008
Messages
4
Location
DE
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
 
isn't there a Python int(..) function i.e. n=int(a/b) ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top