Has anybody experiance in using ABAQUS with Python for modelling

Posted on 2005-04-11
Last Modified: 2008-01-09
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.
Question by:ashok3sep
    LVL 15

    Accepted Solution

    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.).
    LVL 17

    Assisted Solution

    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?
    LVL 5

    Author Comment

    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..........

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Plenty of writing has gone on the web trying to compare Python with other competitive programming languages and vice versa. However, not much has been put into a wholistic perspective. This article should help you decide whether to adopt Python as a…
    This article will show the steps for installing Python on Ubuntu Operating System. I have created a virtual machine with Ubuntu Operating system 8.10 and this installing process also works with upgraded version of Ubuntu OS. For installing Py…
    Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
    Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now