#!/bin/sh #------------------------------------------------------------------------------ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | www.openfoam.com # \\/ M anipulation | #------------------------------------------------------------------------------ # Copyright (C) 2020 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, distributed under GPL-3.0-or-later. # # Script # openfoam [options] [args] # # Description # Forwarding to the OpenFOAM etc/openfoam bash session script. # #------------------------------------------------------------------------------ # Hard-coded directory path (eg, autoconfig) projectDir="@PROJECT_DIR@" exec "$projectDir"/etc/openfoam "$@" #------------------------------------------------------------------------------