Getting Information about the Foam-Installation (like the installation
directory)
string
|
|
|
|
|
|
|
|
|
foamVersion(useConfigurationIfNoInstallation=False)
Returns:
tuple that represents the Foam-version as found in
$WM_PROJECT_VERSION |
source code
|
|
|
foamVersionNumber(useConfigurationIfNoInstallation=False)
Returns:
tuple that represents the Foam-Version-Number (without strings |
source code
|
|
|
oldAppConvention()
Returns true if the version of OpenFOAM is older than 1.5 and it
therefor uses the 'old' convention to call utilities ("dot,
case") |
source code
|
|
|
oldTutorialStructure()
Returns true if the version of OpenFOAM is older than 1.6 and it
therefor uses the 'old' (flat) structure for the tutorials |
source code
|
|
|
|
|
|
|
injectVariables(script,
forceArchOption=None,
compileOption=None)
Executes a script in a subshell and changes the current environment
with the enivironment after the execution |
source code
|
|