Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with using docker #14

Open
bonanza123 opened this issue May 11, 2017 · 2 comments
Open

Problems with using docker #14

bonanza123 opened this issue May 11, 2017 · 2 comments

Comments

@bonanza123
Copy link

bonanza123 commented May 11, 2017

I have issues with using this great software with docker, please see below.

I tried to following options:

  1. I followed the instructions given at the bottom of https://engys.github.io/HELYX-OS/installation/ using the docker image "openfoamplus/of_v1606plus_centos66" which just gives me (after manually pulling the image from the console):
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"/home/Downloads/newCase/mesh_parallel.run\": stat /home/Downloads/newCase/mesh_parallel.run: no such file or directory".
  1. The same happens when using the slightly more recent "openfoamplus/of_v1612plus_centos66" image.
  2. I used "openfoam/openfoam4-paraview50/" and just see (after loading and configuring the geometry and clicking "create" under the mesh settings)
Welcome to the OpenFOAM v4 Docker Image

Provides bash terminal with OpenFOAM 4.1 and ParaView 5.0.1

Produced and maintained by CFD Direct (http://cfd.direct), on behalf of the
OpenFOAM Foundation (http://openfoam.org), the owner and distributor of
OpenFOAM as free, open source software under the General Public Licence v3.

Further Resources:
* OpenFOAM User Guide:      http://cfd.direct/openfoam/user-guide
* C++ Source Guide:         http://cpp.openfoam.org
* OpenFOAM Training:        http://cfd.direct/openfoam-training
* Running in the Cloud:     http://cfd.direct/cloud
* Issue (Bug) Reporting:    http://bugs.openfoam.org
* Subscribe to Newsletter:  http://cfd.direct/news
* Contributors to OpenFOAM: http://openfoam.org/dev/contributors

A popup opens and closes itself (looks like reloading stuff) and then shows me again the geometry without any mesh. Meaning the process of meshing has failed without any errors.

In any of the cases there is no log file in the newCase/log folder.

I tried this on the following linux setups:

  • OpenSuse Tumbleweed
  • Archlinux
  • CentOS 7
@bonanza123
Copy link
Author

bonanza123 commented Jun 20, 2017

The problem seems to be that in the case the openfoam/openfoam4-paraview50 image is used,

private static final String ENGYS_22_BETA_ENV_LOADER = "/opt/OpenFOAM-2.2_engysEdition-beta/etc/bashrc";
and
String ENV_LOADER = isOFPlus ? OF_PLUS_ENV_LOADER : ENGYS_22_BETA_ENV_LOADER;
tell the docker container to run with the wrong ENV_LOADER variable. Namely with /opt/OpenFOAM-2.2_engysEdition-beta/etc/bashrc instead of /opt/openfoam4/etc/bashrc

Also ENV_LOADER adaptions for OpenFOAM-v1612+ docker image are needed.

@spinjet
Copy link

spinjet commented May 5, 2018

I'm having the same issue, I try to run the mesher but nothing happens.
Any way to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants