Run a simulation from Windows 10
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 |
Try the following
Code:
bash -c "source /path/to/OpenFOAM/etc/bashrc; blockMesh" Code:
bash -c "source /opt/openfoam6/etc/bashrc; blockMesh" |
It worked! Thanks a lot!
I could even run the Allrun scripts in this way, that is exactly what I needed :-) |
All times are GMT -4. The time now is 08:28. |