Optimisation for steady-state flows

From Gerris

(Difference between revisions)
Jump to: navigation, search

Traumflug (Talk | contribs)
(Initial topic: get rid of advection.)
Next diff →

Revision as of 16:57, 7 February 2008

Often, you're not particularly interested in how a flow or stream develops over time, but how the constant flow behaves if it exists long enough to have all initial reactions and changes settled. While Gerris isn't optimised for such calculations, a few simplifications and speed-ups exist.

Getting rid of advection calculations

In a mailing list thread people agree, a steady-state solution behaves equally to a pure Stokes flow and advection terms are negligible. You can switch them off:

AdvectionParams { scheme = none }

For an example, see the Couette flow test case. To give evidence, I've run the example from An engineer's pipe flow with the viscosity of water up to time t = 5 with and without advection:

Velocity without advection
Velocity without advection

Personal tools