New question #182459 on Yade:
https://answers.launchpad.net/yade/+question/182459

Hi,

I want to write a class, the __init__() function of which is the set up of a 
packing, and some other method functions of which include isoConsolidation(), 
applyStrain(), getStress(), etc. So with this class, I can run a simulation 
(triaxial, simple shear or any other kind) by directly calling this class and 
its method functions. Because I want to run several simulations simultaneously 
within another python code. 

First I want to know how to execute a yade file using `python filename` with 
appropriate libraries imported rather than using `yade filename`? After knowing 
this, I think I can find out how to write such a wrapped class.

Best regards,
Ning

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to