|
[Sponsors] |
[OpenFOAM.com] 3.0+ on Windows ---- How do I run tutorials? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2017, 07:58 |
|
#21 |
Senior Member
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 11 |
Well i have not use this one but it should be pretty same . Better copy your tutorial in /mtn/c/users/lenzo assuming your user name is lenzo and then run it . You can browse this location directly from windows browser as well
|
|
September 14, 2017, 11:02 |
|
#22 |
Member
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12 |
Dear pgh,
are you sure it works in that way? I think that the most probably way to connect the virtual machine and my computer should be through a special program. But still i can't figure out which one is. Anyone has any other suggestion? |
|
November 14, 2017, 13:30 |
|
#23 | |
Member
Ed O'Malley
Join Date: Nov 2017
Posts: 30
Rep Power: 9 |
Quote:
Thanks - this worked for me. Stupid question - after I modify the files and save them back on my c drive, how do I copy them back into the workingDir? Thanks! Last edited by edomalley1; November 14, 2017 at 13:57. Reason: answered my own question. |
||
January 15, 2018, 04:33 |
|
#24 |
Member
Lenzo
Join Date: Feb 2014
Posts: 33
Rep Power: 12 |
Hello,
Any idea how to copy a new case into the workingDir of openfoam in WINDOWS? Because I work in an ubuntu, but sometimes in a windows. So, how Can i copy the changes into the workingDir of windows? Thank you! |
|
January 15, 2018, 05:22 |
|
#25 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
The working directory is
c:\OpenFoam\16.10\<username>\run from windows /cygdrive/c/OpenFoam/16.10/<username>/run form the shell
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
October 22, 2018, 10:52 |
|
#26 |
New Member
Klaas Albers
Join Date: Oct 2018
Posts: 1
Rep Power: 0 |
I have the same Problem with the Tutorial files.
cd workingDir cp -ar $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity . cd cavity blockMesh icoFoam When i try this command only the first one works. When i try the second one it displays this message: cp: missing destination file operand after '/opt/OpenFOAM/OpenFOAM-v1806/tutorials/incompressible/icoFoam/cavity/cavity' Try 'cp --help' for more information. [ofuser@default workingDir]$ I hope you guys can help me. Kind Regards, Klaas |
|
October 24, 2018, 18:50 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: If it states:
Code:
cp: missing destination file operand after ... Code:
cp -ar $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run other tutorials included in OpenFOAM? | BhaluBear | OpenFOAM Running, Solving & CFD | 8 | May 21, 2016 11:19 |
How to run the tutorials' problems? | ranasa | OpenFOAM Running, Solving & CFD | 2 | July 24, 2014 16:10 |
How to run su2 on windows and use multicore | hedley | SU2 | 1 | June 24, 2014 21:44 |
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 |
Help, can't stop solver run...Windows OS | ben akih | CFX | 2 | November 13, 2006 11:05 |