solidBodyFvGeometryScheme caches moved state
Functionality to add/problem to solve
solidBody fvGeometryScheme caches the 'moved' state by default. This upsets e.g. snappyHexMesh
.
Target audience
Using solidBody for non-motion applications.
Proposal
The current set-up assumes that the points that move are always the same (e.g. solid-body rotation). Thus we can eliminate the marking of the changed points. This can be disabled in the fvSchemes setting:
geometry
{
type solidBody;
cacheMotion false;
}
The marking of the changed points is very fast - it is the marking of affected faces/cells which is the slower one. Maybe this can be optimised.