Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2019-11-20 10:51:23

Registered: 2019-09-13
Posts: 8

How to run a calculation *completely* via Python

Hello  everybody,

I would like to know,  if it's possible  to create a single  Python (.py) file which contain (import) a .comm file and run it in salome-meca?!

I  just want to find a way to do a complete calculation without past to aster-study (in salome-meca) or withoud recreat (estract) a mesh file every time if i need to change my geometry (in astk).

I will gratefully appreciate your help, especially if you can attach some example code.

Best regards.


#2 2019-11-20 12:03:31

Registered: 2018-03-10
Posts: 210

Re: How to run a calculation *completely* via Python

I think this thread might have some answers https:/  /code -aster.org/forum2/viewtopic.php?id=24527