Module FoamInformation
source code
Getting Information about the Foam-Installation (like the installation
directory)
Imports:
os.environ,
os.path,
os.listdir,
popen2.popen4,
re,
Error.error,
Error.warning,
configuration,
as,
config
Gets a path from an environment variable
-
- Parameters:
name - the name of the environment variable
- Returns:
string
- the path
|
-
- Returns:
- directory in which the tutorials reside
|
@return the used MPI-Implementation
-
|
-
- Returns:
- tuple that represents the Foam-version as found in
$WM_PROJECT_VERSION
|
-
- Returns:
- tuple that represents the Foam-Version-Number (without
strings
|
-
- Returns:
- A list with the installed versions of OpenFOAM
|
Changes the used FoamVersion. Only valid during the runtime of the
interpreter (the script or the Python session)
-
- Parameters:
|