casefoam.loadData.getCases

casefoam.loadData.getCases(solutionDir, caseStructure, baseCase, postDir='postProcessing')[source]

Get cases.

Get cases out of the caseStructure that contain a solution directory.

Parameters:
solutionDir : str

Solution directory in the OpenFOAM case postProcessing directory.

caseStructure : list

List of parent, child and grandchild names.

baseCase : str

Root directory of all cases.

Returns:
cases : list

List with relative path to all cases containg a surfaces directory.

caseCombs : list

A list with all case combinations as tuples.