This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Re-ordering of dofs using a priori knowledge

+1 vote

I've experienced the impact of dof-ordering on Krylov solver performance for specific preconditioners. Switching between boost and SCOTCH as dof-ordering library resulted in roughly 4 times difference in Krylov Solver iterations (in serial).

My problem is the (linearized) Navier-Stokes problem on complex geometries, and therefore a good dof ordering would be one that follows the flow.

Since I know the flow direction, could it be possible to order the dofs either a priori (with e.g. a meshfunction with weights)? Alternatively, could it somehow be done "on-the-fly" (e.g. with the previous solution)?

asked Oct 22, 2015 by Øyvind Evju FEniCS Expert (17,700 points)
...