|
Documentation for OpenFLUID
2.2.0
|
The OpenFLUID framework takes into account the following environment variables (if they are set in the current running environment):
OPENFLUID_INSTALL_PREFIX: overrides automatic detection of install path, useful on Windows systems.OPENFLUID_USERDATA_PATH: overrides the default user data home directory (set by default to $HOME/.openfluid on Unix systems)OPENFLUID_TEMP_PATH: overrides the default OpenFLUID temporary directory, used by OpenFLUID software components for temporary data.OPENFLUID_SIMS_PATH: extra search paths for OpenFLUID simulators. The path are separated by colon on UNIX systems, and by semicolon on Windows systems.OPENFLUID_OBSS_PATH: extra search paths for OpenFLUID observers.The path are separated by colon on UNIX systems, and by semicolon on Windows systems.
Usage : openfluid [<command>] [<options>] [<args>]
Available commands:
info: Display information about OpenFLUIDversion: Display OpenFLUID versioninstall-examples: Install or reinstall examples in the user directoryprepare-workspace: Prepare an OpenFLUID workspacereport: Display report about available waresshow-paths Show search paths for warescreate-ware: Create ware sourcescheck: Checks ware sources for potential issuesconfigure: Configure ware sources for buildbuild: Build configured ware sourcesdocalyze: Build documentation of a warepurge: purge build outputs on ware sourcesmigrate-ware: Migrate ware sources to current versionmigrate-ghostsim: Migrate ghost simulator to current versioninfo2build: Generate build files from ware informationrun: Run a simulationcreate-data: Create project or datasetAvailable options:
--help,-h: display the help message--version: display versionRun a simulation from a project or an input dataset.
Usage : openfluid run [<options>] [<args>]
Available options:
--help,-h : display this help message--auto-output-dir, -a : create automatic output directory--clean-output-dir, -c : clean output directory before simulation--max-threads=<arg>, -t <arg> : set maximum number of threads for threaded spatial loops (default is 4)--observers-paths=<arg>, -n <arg> : add extra observers search paths (colon separated)--profiling, -k : enable simulation profiling--quiet, -q : quiet display during simulation--simulators-paths=<arg>, -p <arg> : add extra simulators search paths (colon separated)--verbose, -v : verbose display during simulationExample of running a simulation from an input dataset:
Example of running a simulation from a project:
Display informations about available wares
Usage : openfluid report [<options>] [<args>]
Available options:
--help,-h : display this help message--format=<arg> : output format, argument can be text (default) or json--list, -l : display as simple list of wares IDs--observers-paths=<arg>, -n <arg> : add extra observers search paths (colon separated)--simulators-paths=<arg>, -p <arg> : add extra simulators search paths (colon separated)--with-errors, -e : report errors if anyExample of detailed reporting about available simulators:
Example of reporting as a list about available observers:
Show search paths for wares
Usage : openfluid show-paths [<options>] [<args>]
Available options:
--help,-h : display this help message--observers-paths=<arg>, -n <arg> : add extra observers search paths (colon separated)--simulators-paths=<arg>, -p <arg> : add extra simulators search paths (colon separated)