FluidityProject / fluidity

Fluidity
http://fluidity-project.org
Other
365 stars 115 forks source link

Allow and test coupled_cv with moving meshes #333

Closed cianwilson closed 3 years ago

cianwilson commented 3 years ago

Previously the coupled_cv assembly didn't take account of the grid velocity. This fixes this in a manner that is equivalent to the normal cv assembler.

It also adds two tests. One which tests that this is working with conservative advection and one that tests nonconservative advection with a divergence free (in the cv dual space) velocity field.

cianwilson commented 3 years ago

Thanks @drhodrid ! I just rebased the branch onto the current main in preparation for merging. Will let it rerun tests first.