How can I run OpenFOAM on a Mac using Docker?

Click For Summary

Discussion Overview

The discussion revolves around running OpenFOAM on a Mac using Docker. Participants are exploring the necessary steps and requirements to set up OpenFOAM in a Docker environment, particularly focusing on the user's specific files and situation.

Discussion Character

  • Technical explanation, Homework-related

Main Points Raised

  • One participant inquires about how to run an OpenFOAM program, mentioning specific files they have.
  • Another participant suggests installing Docker and following provided instructions to create an isolated environment for OpenFOAM.
  • A third participant reiterates the need for Docker and provides a link to installation instructions, expressing uncertainty about running the program.
  • Another reply indicates the necessity of starting the Docker container and entering the session to run OpenFOAM, while also noting their limited experience with both OpenFOAM and Docker.

Areas of Agreement / Disagreement

Participants generally agree on the need to use Docker for running OpenFOAM, but there is no consensus on the exact steps to execute the program within Docker.

Contextual Notes

Some participants reference external links for installation and setup, but there are no detailed instructions provided within the discussion itself. The specific requirements for the user's files and setup are not fully addressed.

member 428835
Hi PF

I'm learning OpenFOAM and typically would do much more work prior to coming here, but I'm on a time crunch and was wondering if anyone knows how to run an OpenFOAM program? I have a file called "wedge" and within that I have a "constant" file, system file, a "0" file, and two documents titled "Allrun" and "foam.foam".

Any help would be awesome!
 
Technology news on Phys.org
jedishrfu said:
You're going to have to install Docker and then follow the instructions here. Docker provides an isolated environment a machine within a machine so that OpenFoam won't affect the rest of your normal environment.

https://www.openfoam.com/download/install-binary-mac.php
Got it! I think I have the software to run it, I just don't know how to now run the program. Typically I'd ask people in my lab but everyone is gone for Holiday.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 34 ·
2
Replies
34
Views
5K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
1
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 28 ·
Replies
28
Views
4K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K