-
Industry: H&H
-
Target Container OS: Windows
-
Source Code: The FLO2D software is closed source and requires a site license. The associated containerized runtime scripts and definition files (given here) are open sourced under the Hypernet Community License.
-
Website: https://www.flo-2d.com/
The user must place their flo2d license at the top of the Mission directory (this is the systemflp.dll file found in the FLO2D installation directory on their desktop). The user may optionally provide their own FLOPRO.exe and associated DLLs if they so choose by also placing these at the top of the Mission directory. If one is not provided, a built-in version of FLOPRO.exe will be selected.
In order to build the flo2d container, first install Docker for Windows. Once docker is installed on your Windows machine, ensure that you are running Windows containers. You control this through the Docker Desktop Settings.
Open a powershell, cd into the folder, checkout the flo2d branch, and run:
docker build -t flo2d .
This will build the a Docker image called flo2d that contains a default version of FLOPRO.exe and a startup script that runs the simulation and prints the progress to stdout.
This framework does not require any environment variables to be set for the runtime. Instead, the entrypoint script, runflo.py, checks for the presence of a systemflp.dll license file, then for a user-provided FLOPRO.exe file, and lastly for a CONT.DAT file which specifies the parameters for the simulation. The working directory is C:\Users\Public\flo2d and input files should be placed in this location in order to be detected by runflo.py. Output files will also be written to this directory.