|
[Sponsors] |
September 26, 2019, 12:01 |
Run a simulation from Windows 10
|
#1 |
New Member
Chiara
Join Date: Oct 2012
Posts: 11
Rep Power: 14 |
Dear All,
for a project I am currently working on, I would need to start a simulation in OF from Windows 10. I installed OF using Ubuntu for Windows 10, following this link https://www.youtube.com/watch?v=xj0dB_PsElg. OF is running without problems when I start simulations from the Ubuntu terminal, but I would need to be able to start a simulation from the cmd.exe terminal, i.e. using something like Code:
bash -c "blockMesh" Code:
/bin/bash: blockMesh: command not found Cheers, Chiara |
|
September 26, 2019, 12:07 |
|
#2 |
Member
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7 |
Try the following
Code:
bash -c "source /path/to/OpenFOAM/etc/bashrc; blockMesh" Code:
bash -c "source /opt/openfoam6/etc/bashrc; blockMesh" |
|
September 27, 2019, 06:55 |
|
#3 |
New Member
Chiara
Join Date: Oct 2012
Posts: 11
Rep Power: 14 |
It worked! Thanks a lot!
I could even run the Allrun scripts in this way, that is exactly what I needed :-) |
|
Tags |
windows 10 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run a wind turbine blade simulation | gerritgroot | SU2 | 6 | February 8, 2019 15:44 |
Fluent Simulation time windows 7 64 | natantyt | FLUENT | 1 | December 13, 2011 17:35 |
I need comments from my 1st run simulation...plz | fadly | CFX | 8 | October 8, 2007 06:04 |
How to run a parallel simulation? | J.Gimbun | FLUENT | 9 | May 24, 2006 06:47 |
Procedure to run unsteady simulation? | STN | Main CFD Forum | 2 | February 16, 2002 05:37 |