OpenFOAM-plus issueshttps://develop.openfoam.com/Development/OpenFOAM-plus/-/issues2018-02-02T13:27:43Zhttps://develop.openfoam.com/Development/OpenFOAM-plus/-/issues/723Function1 missing Integrate function definition2018-02-02T13:27:43ZMatej FormanFunction1 missing Integrate function definitionOnly few functions from **Function1** has function **Integrate** implemented
(*table, CSV table, Polynomial and Zero/One*).
Those without the Integrate function definition cannot be used to specify the **motion function** for DyM.
Woul...Only few functions from **Function1** has function **Integrate** implemented
(*table, CSV table, Polynomial and Zero/One*).
Those without the Integrate function definition cannot be used to specify the **motion function** for DyM.
Would make sense to add the definition to others as well.https://develop.openfoam.com/Development/OpenFOAM-plus/-/issues/245uniform/time dictionary searched for in all time directories2017-09-27T08:49:25ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.comuniform/time dictionary searched for in all time directoriesAll the IOdictionaries will be searched for in all previous time instances. This is fine for e.g. polyMesh files (points, faces, etc) but wrong for e.g. uniform/time. Also it is very expensive when there are lots of time directories.
At...All the IOdictionaries will be searched for in all previous time instances. This is fine for e.g. polyMesh files (points, faces, etc) but wrong for e.g. uniform/time. Also it is very expensive when there are lots of time directories.
Attached files add some debug printing to see when it is happening (e.g. with foamToEnsight)
[IOobject.C](/uploads/e181e7fb456c4690b208304dffe67704/IOobject.C)[log.foamToEnsight](/uploads/48c62a1d1845d236c894853038e83ef7/log.foamToEnsight)https://develop.openfoam.com/Development/OpenFOAM-plus/-/issues/189polyMesh::findCell uses tree only for nearest; should use findInside directly2017-09-27T08:49:24ZMattijs Janssens4-Mattijs@users.noreply.develop.openfoam.compolyMesh::findCell uses tree only for nearest; should use findInside directlyThe underlying treeDataCell does:
return mesh_.pointInCell(sample, cellLabels_[index], decompMode_);
which is exactly the test that polyMesh::findCell does on the nearest and its neighbours.The underlying treeDataCell does:
return mesh_.pointInCell(sample, cellLabels_[index], decompMode_);
which is exactly the test that polyMesh::findCell does on the nearest and its neighbours.Version v1612