How can i do to run the code_saturne(or CFDSTUDY) in Yacs
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.
Hello!
Recently i want to run the code_saturne in Yacs.
I try to write some code in Yacs whatever in salome or salome_cfd, but the result show the wrong. (attached the screenshot)
maybe my code has wrong? here is my code:
import os
from subprocess import check_output
case_path = '/home/wfy/20210823.cas/CASE1'
xml_path = os.path.join(case_path, 'DATA/setup.xml')
os.chdir(case_path)
out = check_output(['code_saturne', 'run', '--param', xml_path]).decode()
I don't konw how can i do to run the code_saturne, i just want to run the code_saturne in YACS. is there anyone can help me?? please~~
thank you for you help!!
hello,
it might help you,
Automating Code Aster Simulation with YACS
https://www.youtube.com/watch?v=ZeIwLHK2CHI&list=PLvkU6i2iQ2frHUfTg-YYjKRwUuMK_Rg9k&index=3
regards
Previously Franco Otaola wrote:
hello,
it might help you,
Automating Code Aster Simulation with YACS
https://www.youtube.com/watch?v=ZeIwLHK2CHI&list=PLvkU6i2iQ2frHUfTg-YYjKRwUuMK_Rg9k&index=3
regards
Hello! thank you very much for provide the video. i have see this vedio. the vedio explain how to use the code_aster in yacs. but it seems that different between code_saturne and yacs.
I still can't solve my problem. Have you used the code_saturne in yacs??
please help me~~~ i am so sad that can't solve this problem
This forum is DEPRECATED, please create new topics in the new SALOME forum.
For existing topics please transfer them to the new forum.