HTTPS SSH

README

Adds swak4Foam
and PyFoam to
Standard OpenFOAM docker containers. Maintained by the creator of
those two packages.

The sources for these docker containers are
on
Bitbucket and
the containers are
on
Docker Hub

Currently the latest supported version is OpenFOAM v1806+ and OpenFOAM
5.0

Installation / Testing

A requirement for using these containers is that you have Docker installed

Create a directory for your tests

mkdir swakTest
cd swakTest

Now download the files installSwakPyFoam and startSwakPyFoam from
the approptiate links below and copy them to swakTest. Then install
the container with

./installSwakPyFoam

and start the container with

./startSwakPyFoam

Note: For the OpenFOAM 4.1 container only one script is required
that automatically downloads the container and starts it

Check with

funkySetFields
pyFoamVersion.py

that the utilities are available. To check that everything works do
the following

cd /tmp
cp -r /opt/swak4Foam/Examples/groovyBC/pulsedPitzDaily .
cd pulsedPitzDaily
pyFoamPrepareCase.py .
pyFoamPlotRunner.py --clear --progress pisoFoam

This should start a run and a number of windows with updating plots should open

Downloading

To get a concrete container download the scripts below

The scripts are adaptations from the scripts supplied for the base
containers. For details look for the documentation there

OpenFOAM v1806+

Use the scripts
installSwakPyFoam
to pull and install a container and
startSwakPyFoam
to run it.

OpenFOAM v1712+

Use the scripts
installSwakPyFoam
to pull and install a container and
startSwakPyFoam
to run it.

OpenFOAM v1706+

Use the scripts
installSwakPyFoam
to pull and install a container and
startSwakPyFoam
to run it.

OpenFOAM v1612+

Use the
scripts
installSwakPyFoam to
pull and install a container
and
startSwakPyFoam to
run it.

It is based on this container

OpenFOAM v1606+

Use the
scripts
installSwakPyFoam to
pull and install a container
and
startSwakPyFoam to
run it. Inside the container start another bash-shell to get access to
the PyFoam-scripts

It is based on this container

OpenFOAM 5.0

The script to pull and start a container is
swakPyFoam-of5.0-linux

It is based on this container

OpenFOAM 4.1

The script to pull and start a container
is
swakPyFoam-of4.1-linux

It is based on this container

General

Alert: On machines used by multiple users other users can access
the HOME of the user who started the container when attaching to
it. Modify installSwakPyFoam to attach to a different directory to
avoid this

This docker container is still in development