|
[Sponsors] |
September 1, 2023, 13:37 |
Start CCM+ Macro from Python in Windows
|
#1 |
New Member
Join Date: May 2023
Posts: 4
Rep Power: 3 |
Hello,
I want to start a ccm+ macro with python in windows to start a simulation. What I achieved so far is to open ccm+ and load the sim-File via python: Code:
... subprocess.run(["K:/.../lib/starccmw.exe", "K:/.../file.sim"], shell=True) Code:
... subprocess.run(["/mnt/.../starccm+ -licpath blablabla -power -np 1 ./file.sim -batch start.java &"], shell=True) vanKey |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in enabling the python wrapper | Jinn | SU2 Installation | 2 | April 23, 2022 14:52 |
Run time Selection Mechanism - Some help required to understand | jaswi | OpenFOAM Programming & Development | 3 | October 29, 2015 14:42 |
Caelus: fork of OpenFOAM | cnsidero | OpenFOAM Announcements from Other Sources | 7 | November 11, 2014 23:55 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |