PyFoam.RunDictionary.LagrangianPatchData module

Read files written by the Lagrangian function object that writes patch incidents and transforms the data into a NumPy-array

class PyFoam.RunDictionary.LagrangianPatchData.LagrangianPatchData(fName)[source]

Bases: object

Class to read lagrangian patch data and store it as a NumPy-array

pandas()[source]

Return data as a pandas Data-frame

class PyFoam.RunDictionary.LagrangianPatchData.LagrangianPatchDataAll(cloudDirName)[source]

Bases: object

Read the lagrangian patch data for a cloud for a whole cloud (all times)

pandas()[source]

Return one huge, ugly pandas table

class PyFoam.RunDictionary.LagrangianPatchData.LagrangianPatchDataTime(timeDirName)[source]

Bases: object

Read the lagrangian patch data from a whole timestep

pandas()[source]

Return the whole data as one big pandas table

PyFoam.RunDictionary.LagrangianPatchData.globalId(proc, theId)[source]