CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] OpenFoam Installation v1806 on W7, 64bit Problem (https://www.cfd-online.com/Forums/openfoam-installation/209965-openfoam-installation-v1806-w7-64bit-problem.html)

Joerg2007 October 24, 2018 15:00

OpenFoam Installation v1806 on W7, 64bit Problem
 
1 Attachment(s)
Hi all,
I just decided to start with OpenFOAM and followed the following Link to install on my Windows 7, 64bit machine.
https://www.openfoam.com/download/in...ry-windows.php
I followed each of the installation steps and I ran already "OF_Create_Env" to create the environment acc. the README file instructions.

Now, if I run the shortcut "OpenFOAM_Start" as administrator (!) the following window appears:
https://www.cfd-online.com/Forums/at...1&d=1540407547

Any idea what I need to do?

Best regards
Joerg

Joerg2007 October 24, 2018 15:08

Additional info:
As described in the installation manual Docker-Machine will be installed as well and a Virtual machine. I realized the following additional shortcuts, which have been added on the desktop:
Docker Quickstart Terminal
&
Oracle VM VirtualBox

Do I need to start any of the linked programs to i.e. setup a virtual machine first?
My understanding was, that by clicking the OPENFoan Start Shortcut OPENFoam will start and a command window shows up to start with i.e. some tutorials etc.

BR
Joerg

pgh October 30, 2018 07:17

Hi Joerg
Can you post out put of screen when you run OF_ENV_CREATE ?
Also open the docker terminal toolbox and then run command
"docker images"
"docker ps -a "
and post the output.

Thanks
Pawan

Joerg2007 November 4, 2018 05:59

Thanks Pawan,
I tried it again now - and it seems that by using 'Admin Mode' for running the files show correct apperance. Please find the outputs below.
Is this last output in quoted text showing the OPENFOAM environment ready to go?

Could you please give me hint what to 'do' next in regard of starting a tutorial to get behind the structure?

Any helpful hint will be appreciated :-)

BR
Joerg

Code:

I started following batch file (because I deleted the Shortcut from desktop after initial use)...
v1806/Windows/Scripts/create_OF.bat
IMPORTANT: ADMIN MODE


OUTPUT:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

Num Args: 2
of_1806_centos73_win
C:\Program Files\Docker Toolbox\;C:\Program Files\Git\bin
C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\S
ystem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Broad
com\Broadcom 802.11 Network Adapter\Driver;C:\Program Files (x86)\ATI Technolog
ies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Autodesk Shared\;C:\Progr
am Files (x86)\Autodesk\Backburner\;C:\Program Files\Git\cmd;C:\Program Files\D
ocker Toolbox;;C:\Program Files\Docker Toolbox\;C:\Program Files\Git\bin
 *****************************************************************************.

Welcome to the OpenFOAM Containerized Windows Version (v1806)
Please do not close the windows.. Creating a working container.. Please wait
 *****************************************************************************.

Error checking TLS connection: Host is not running
Starting "default"...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to configure a dhcp server. Somet
imes, such confirmation window is minimized in the taskbar.
(default) Waiting for an IP...
Machine "default" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the `docker-m
achine env` command.
/root/../c/Users/Liese:/root/../home/ofuser/workingDir
5c09630d4591b1bdb3638320f6b0ece643b155c5ee5c1c4bfdde8db2fe052774
 *****************************************************************************.

Please Close the windows and Click on OpenFOAM_Start shortcut to start working
 *****************************************************************************.

PS C:\Windows\system32>

----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
STARTED C:\Program Files\Docker Toolbox\start.sh  (AGAIN IN ADMIN MODE!)

OUTPUT after
docker images



                        ##        .
                  ## ## ##        ==
              ## ## ## ## ##    ===
          /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
          \______ o          __/
            \    \        __/
              \____\_______/

docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com


Start interactive shell

Liese@Liese-PC MINGW64 /c/Program Files/Docker Toolbox
$ docker images
REPOSITORY            TAG                IMAGE ID            CREATED
  SIZE
of_1806_centos73_win  latest              30f0f3f7c454        4 months ago
  1.49GB

Liese@Liese-PC MINGW64 /c/Program Files/Docker Toolbox
$
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------

Liese@Liese-PC MINGW64 /c/Program Files/Docker Toolbox
$ docker ps -a
CONTAINER ID        IMAGE                  COMMAND                  CREATED
        STATUS              PORTS              NAMES
5c09630d4591        of_1806_centos73_win  "bin/bash /root/.ent"  6 minutes ago
      Up 6 minutes                            of_1806

Liese@Liese-PC MINGW64 /c/Program Files/Docker Toolbox
$

---------------------------------------------------------------------------------
---------------------------------------------------------------------------------

Executing the OpenFOAM_Start Shortcut

Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

Starting "default"...
Machine "default" is already running.
of_1806
[ofuser@default ~]$
[ofuser@default ~]$


pgh November 5, 2018 03:41

Hi Joerg
In terminal , that appear when clicking on OpenFOAM_start has OpenFOAM environment set in it. See this video (it do not have any sound ) but in 17th minute, it shows how to run tutorial in this environment
https://www.youtube.com/watch?v=fxH-7W46NWA&t=11s

Regards
Pawan

Joerg2007 November 5, 2018 15:36

Ok, I am moving forward....


but using the copy command



Code:

[ofuser@default tutorials]$ cp -ar /opt/OpenFOAM/OpenFOAM-v1806/tutorials/
cp: missing destination file operand after '/opt/OpenFOAM/OpenFOAM-v1806/tutoria
ls/'


doesn't work.
The cp --help didn't help either...


May I ask for another hint?


BR Joerg

wyldckat November 6, 2018 19:09

Quick answer:
Quote:

Originally Posted by Joerg2007 (Post 714260)
Code:

[ofuser@default tutorials]$ cp -ar /opt/OpenFOAM/OpenFOAM-v1806/tutorials/

At 17m32s: https://youtu.be/fxH-7W46NWA?t=1052 - there is a single dot at the very end of the command line shown in the video ;)
That single dot tells cp to copy the first folder to the current folder.

Here is the tutorial I usually suggest for starting to learn how to use the shell (command line): http://linuxcommand.org/lc3_learning_the_shell.php


All times are GMT -4. The time now is 17:11.