convert *.inp into python script

View: New views
2 Messages — Rating Filter:   Alert me  

convert *.inp into python script

by fehrich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Is there any way how I can convert an input file *.inp into a python script representing the same model?

I want to use python scripting for a parameter study, but all my models are only saved as input files.

Many thanks

Fabian

Re: convert *.inp into python script

by Dave Lindeman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A *.inp file doesn't contain any solid geometry -- just nodes and
elements.  If you want to vary your geometry parametrically, then you'd
need to define (potentially all) the nodal coordinates as functions of
parameters.  For a non-trivial geometry this probably isn't possible or
practical.  If you're varying something other than geometry (e.g.,
loads, material properties, etc.) then this can be done using the
standard *PARAMETERS interface.  If you want to script things, then use
Python to generate the parameter values, write the *PARAMETER
definitions to a file, and reference this file in your *.inp file using
*INCLUDE.

Regards,

Dave

-------------------------
Dave Lindeman
Lead Research Specialist
3M Company
3M Center 235-3F-08
St. Paul, MN 55144
651-733-6383


fehrich wrote:

>  
>
>
> Hi all,
>
> Is there any way how I can convert an input file *.inp into a python script
> representing the same model?
>
> I want to use python scripting for a parameter study, but all my models are
> only saved as input files.
>
> Many thanks
>
> Fabian
> --
> View this message in context:
> http://old.nabble.com/convert-*.inp-into-python-script-tp26214585p26214585.html 
> <http://old.nabble.com/convert-*.inp-into-python-script-tp26214585p26214585.html>
> Sent from the Abaqus Users mailing list archive at Nabble.com.
>
>


------------------------------------

Community email addresses:
  Post message: Abaqus@...
  Subscribe:    Abaqus-subscribe@...
  Unsubscribe:  Abaqus-unsubscribe@...
  List owner:   Abaqus-owner@...

Shortcut URL to this page:
  http://groups.yahoo.com/group/AbaqusYahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Abaqus/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/Abaqus/join
    (Yahoo! ID required)

<*> To change settings via email:
    Abaqus-digest@...
    Abaqus-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    Abaqus-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/