• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2126
  • Last Modified:

Has anybody experiance in using ABAQUS with Python for modelling

I would like to create a input file from ABAQUS using Python. Scripting Language

I am right now learning and have some little experiance in ABAQUS and PYTHON.

if anybody has some experiance please support me.

I would like to ask for a Input from the user.
i could easily do this by

Name = input("Please input Model Name")
if Name =="":
    Name =" Model"
    Name = Name

is the Syntax correct

how would i draw a spline between 2 points in PYTHON.

 thanks in advance.
2 Solutions
1.)  If you run your code through a Python interpreter, it will tell you whether the syntax is correct more reliably than a human reader.

You probably want to use "raw_input" rather than "input".  "input" processes the input as if it were Python code.


The else clause is unnecessary.  There is no point in assigning Name to itself.  You could just leave that out.

Sorry, I can't help you with 2.).
ramromconsultant Commented:
0) Do you mean "create an input file FOR ABAQUS"

2) You would not. Python has no concept of points or splines. It is a general purpose programmin lanauage. Are you asking how to get ABAQUS to draw a spline?
ashok3sepAuthor Commented:
To ramrom,

I would like to create a Input file for ABAQUS.

I know that python has no points or splines.

but i could use the ABAQUS commands to do the needful .......( i want to have some example files to support me)
and some tips for creating a INPUT file.

To efn,

thanks for your answers and helping me..........
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now