OpenFoam Does Will Not Start

I have carefully watched the videos … I think.

  1. Downloaded Openfoam v1612+ and ran windows *.exe install with no issues.
  2. Downloaded Butterfly into grasshopper with no issues.
  3. Accessed Bios and set Vituralization to [enable]
  4. Ran Rhino as Administrator and loaded grasshopper and example file.
  5. Ran the Openfoam_Start file on my desktop as administrator
  6. Observed the starting of Openfoam in the Oracle VM Virtual Box.
  7. The Oracle VM showed it Openfoam running for a while then it stopped running and the window shows this data.

C:\Program Files (x86)\ESI\OpenFOAM\1612>“C:\Program Files (x86)\ESI\OpenFOAM\16
12\Windows\Scripts\of_start_container.exe” -Arguments "C:\Program Files\Docker T
oolbox;C:\Program Files\Git\bin"
Starting “default”…
(default) Check network to re-create if needed…
(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.
Error response from daemon: No such container: of_plus_1612
Error: failed to start containers: of_plus_1612
Error response from daemon: No such container: of_plus_1612
Stopping “default”…

Any help will be appreciated.

Ken

Based on the error the container is not downloaded successfully. You can try to download it manually.

Find “Docker Quick Start Terminal” on your desktop and double click on it. If you get an error message, right click and select “Run as administrator”. Once you have the window up and running, type the following commands and hit enter after each line item:

cd /c/ 
cd 'Program Files (x86)'
cd ESI/OpenFOAM/1612/Windows/Scripts
docker load -i of_v1612plus_centos66.tar

This should download the image on your machine. Now try the batch files to set up the environment and create a container.

Mostapha,

I took the steps that you requested and all that happened. When I ran the docker command,last line, there was some kind of file download which I presume to be correct.

The last line of your email to me stated “Now try the batch files to set up the environment and create a container.” which I do not understand so I took direct action other than to run Rhino as Administrator, Opened Grasshopper, then double clicked on the OpenFoam icon on my desktop (as administrator).

The VM window still shows the program Running for a while then it says Powered Off as before.

Do you have any other thoughts on this? Perhaps we can set up one of those connections and you can run my computer to see what is happening. Please feel free to call me at 510 717 2068 to discuss this.

Ken Martin

Mostapha,

I solved the problem. I needed to run the OF_Env_Create file first.

… and it worked!! Yeh!

1 Like

I have installed openfoam in a windows 10 machine.
Same starting situation as described above (I have clicked on the OF_Env_Create file first):

  1. Downloaded Openfoam v1612+ and ran windows *.exe install with no issues.
  2. Downloaded Butterfly into grasshopper with no issues.
  3. Accessed Bios and set Vituralization to [enable]
  4. Ran Rhino as Administrator and loaded grasshopper and example file.
  5. Ran the Openfoam_Start file on my desktop as administrator
  6. Observed the starting of Openfoam in the Oracle VM Virtual Box.
  7. The Oracle VM showed it Openfoam running for a while then it stopped running and the window shows this data.

I have also tried to follow the instruction reported above by Mostapha. The following error appears when I try to starting Open Foam:

C:\WINDOWS\system32>“C:\Program Files (x86)\ESI\OpenFOAM\1612\Windows\Scripts\of_start_container.exe” -Arguments “C:\Program Files\Docker Toolbox;C:\Program Files\Git\bin”
Starting “default”…
(default) Check network to re-create if needed…
(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-machine env command.
Error response from daemon: No such container: of_plus_1612
Error: failed to start containers: of_plus_1612
Error response from daemon: No such container: of_plus_1612
Stopping “default”…

Is there someone that could help me?

Solved: I have simply tried to restart the pc and Openfoam_Start file works now.

I already restart my PC and still do this

Starting “default”…
Machine “default” is already running.
Error response from daemon: No such container: of_2012
Error: failed to start containers: of_2012
Error: No such container: of_2012
Stopping “default”…

I already do the cd /c/ things too and it said that

$ docker load -i v1712_centos73.tar
open v1712_centos73.tar: The system cannot find the file specified.

What should I do? Thankyou

@tsuwys

You are using the old version of butterfly which used the docker version of OpenFOAM. I suggest you upgrade to the version 0.0.05 of butterfly which used blueCore-CFD version of OpenFOAM. Here is the installation wiki for this.

thank you. it seems that the error is from my model. thanks for your help.