← Back to team overview

yade-dev team mailing list archive

Re: Triax-Py

 

> quick question: is it possible to run a python script for the triaxial 
> test? I mean, NOT just uploading the whole scene (as done in some examples). 
> How could I do it?
I am not sure what you mean. You can run the whole TriaxialTest from
python like this:

	TriaxialTest(numberOfGrains=800).load()

(it runs the generator and loads the result)

If you want to run triaxial, let it finish and do something with the
configuration afterwards, you can do

O.run(); O.wait()

O.wait will return when it finishes, then yo ucan use the command line
(or do the same in a script) to do whatever you want.

Did I get right what you want?

Also, check out this
http://beta.arcig.cz/~eudoxos/yade/sphinx/basics.html

Cheers, Vaclav




References