Open fbob opened 9 years ago
The commits 7b86e9b and 12f3523 should fix the error msg. At the moment import_foam_mesh just reads the 'faces', 'points', 'owner', 'neighbour' files and returns a DataFrame. Next step should be a function that generates 'cellCentres' from that DataFrame.
Commits 9c6bcbb46eab31552a022ffdc96684e48ce050c3 and 2f1623658a6aea719575cdab947b5f1abdf9bedd introduces Owls.mesh.Mesh you can create an Mesh object and compute face and cell centres. That already allows us to filter eulerian fields by spatial criteria. However so far this is only experimental and results for tetrahedra or skewed meshes are not correct atm. Next step will be sample lines and then parallel processing.
I would like to use
io.import_foam_mesh
to read the tutorial mesh withio.import_foam_mesh('./buoyantCavity')
but got the following issue: