How can I run OpenFOAM on a Mac using Docker?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
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!
 
Physics 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.