CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] OpenFoam Installation v1806 on W7, 64bit Problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By pgh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2018, 15:00
Default OpenFoam Installation v1806 on W7, 64bit Problem
  #1
New Member
 
Join Date: Oct 2018
Posts: 4
Rep Power: 7
Joerg2007 is on a distinguished road
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:


Any idea what I need to do?

Best regards
Joerg
Attached Images
File Type: jpg Unbenannt2.JPG (64.3 KB, 48 views)
Joerg2007 is offline   Reply With Quote

Old   October 24, 2018, 15:08
Default
  #2
New Member
 
Join Date: Oct 2018
Posts: 4
Rep Power: 7
Joerg2007 is on a distinguished road
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
Joerg2007 is offline   Reply With Quote

Old   October 30, 2018, 07:17
Default
  #3
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
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
pgh is offline   Reply With Quote

Old   November 4, 2018, 05:59
Default
  #4
New Member
 
Join Date: Oct 2018
Posts: 4
Rep Power: 7
Joerg2007 is on a distinguished road
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 ~]$

Last edited by wyldckat; November 4, 2018 at 06:36. Reason: [QUOTE]->[CODE]
Joerg2007 is offline   Reply With Quote

Old   November 5, 2018, 03:41
Default
  #5
pgh
Senior Member
 
Pawan Ghildiyal
Join Date: Nov 2015
Posts: 135
Rep Power: 10
pgh is on a distinguished road
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
wyldckat likes this.
pgh is offline   Reply With Quote

Old   November 5, 2018, 15:36
Default
  #6
New Member
 
Join Date: Oct 2018
Posts: 4
Rep Power: 7
Joerg2007 is on a distinguished road
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
Joerg2007 is offline   Reply With Quote

Old   November 6, 2018, 19:09
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
Quote:
Originally Posted by Joerg2007 View Post
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
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding OpenFOAM installation problem on OpenSUSE harsha_kulkarni OpenFOAM Installation 4 March 16, 2014 05:03
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 zordiack OpenFOAM Installation 1 October 26, 2013 13:08
Installation problem: openfoam 2.1.0 on opensuse 11.4 raphael7 OpenFOAM Installation 4 April 12, 2012 07:10
HP Elite i7 64bit machine installation problem ahlo7 OpenFOAM Installation 1 March 1, 2011 17:36
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 02:14.