Package PyFoam :: Package Applications :: Module Comparator
[hide private]
[frames] | no frames]

Module Comparator

source code

Application class that implements pyFoamComparator

Classes [hide private]
  BoundaryCommand
Sets a boundary condition
  ChangeEnvironmentCommand
Changes Environment variables by executing a script-file
  Command
  CommandChain
Abstract base class for a number of commands
  Comparator
  ComparatorData
The object that holds the actual data
  CopyLogCommand
Copies the log file to the results
  DecomposeCommand
Decomposes a case and generates the LAM
  DerivedCommand
Derives an additional value
  DictWriteCommand
Writes a value to a dictionary
  DictionaryCommand
Returns values from the chains dictionaries
  EvaluationChain
Chain of evaluation commands
  FieldSetterCommand
Common class for commands that set values on fields
  FoamCommand
Executes a OpenFOAM-utility
  FoamUtilityCommand
Executes a OpenFOAM-utility and extracts information
  FoamVersionCommand
Changes the used OpenFOAM-version
  GenericCommand
Executes a shell command
  InitialCommand
Sets an initial condition
  LastResultCommand
Copies the result of the last time-step to the resultsd directory
  PreparationChain
Chain of Preparation commands
  ReconstructCommand
Reconstructs a case and deleted the LAM
  SetDictionaryCommand
Sets value in the chains dictionaries
  SetEnvironmentCommand
Sets an environment variable
  SetterCommand
Common class for commands that operate on dictionaries
  Variation
Represents one variation
Functions [hide private]
 
getNonEmpty(e, name, default=None) source code
 
replaceValues(orig, para)
Replaces all strings enclosed by $$ with the parameters
source code
Variables [hide private]
  __package__ = 'PyFoam.Applications'
  environ = {'MANAGEDFLU_ROOT_DIR': '/Users/bgschaid/OpenFOAM/ma...

Imports: AnalyzedRunner, BasicRunner, BoundingLogAnalyzer, CSVCollection, ConvergenceRunner, Decomposer, LAMMachine, OptionGroup, ParsedParameterFile, PyFoamApplication, SolutionDirectory, UtilityRunner, changeFoamVersion, copytree, error, exec_, execute, injectVariables, iteritems, mkdir, parse, path, print_, re, rmtree, string, sys, xml


Function Details [hide private]

replaceValues(orig, para)

source code 

Replaces all strings enclosed by $$ with the parameters

Parameters:
  • orig - the original string
  • para - dictionary with the parameters

Variables Details [hide private]

environ

Value:
{'MANAGEDFLU_ROOT_DIR': '/Users/bgschaid/OpenFOAM/managedflu-1.1-1', '\
LESS_TERMCAP_md': '\x1b[01;31m', 'WM_MPLIB': 'MACPORTOPENMPI', 'XTERM_\
LOCALE': 'C', 'WM_CXXFLAGS': '-m64 -fPIC', 'DBUS_LAUNCHD_SESSION_BUS_S\
OCKET': '/tmp/launch-wxvrPd/unix_domain_listener', 'FOAM_LIB': '/Users\
/bgschaid/OpenFOAM/OpenFOAM-1.7.x/lib', 'INFOPATH': '/opt/local/info:'\
, 'SHELL': '/bin/zsh', 'WM_ARCH_BASE': 'darwin', 'SECURITYSESSIONID': \
'186a5', 'WM_OPTIONS': 'darwinIntel64Gcc45DPOpt', 'FOAM_MPI_LIBBIN': '\
/Users/bgschaid/OpenFOAM/OpenFOAM-1.7.x/lib/darwinIntel64Gcc45DPOpt/op\
...