PyFoam.RunDictionary.SolutionFile module¶
Working with solutions
-
class
PyFoam.RunDictionary.SolutionFile.
SolutionFile
(directory, name)[source]¶ Bases:
PyFoam.RunDictionary.FileBasis.FileBasis
Solution data file
Represents a file with the solution data for one OpenFOAM-field at one point of time
Currently this can only handle uniform field values (and never will handle more because the ParsedParameterFile-class does a much better job)
-
getContent
(treatBinaryAsASCII=False, listLengthUnparsed=None, doMacroExpansion=False)[source]¶ Returns the parsed content of the file
-