AMReX-Fluids / IAMR

A parallel, adaptive mesh refinement (AMR) code that solves the variable-density incompressible Navier-Stokes equations.
https://amrex-fluids.github.io/IAMR/
80 stars 57 forks source link

[Feature] On-the-fly time-averaging of velocities #79

Closed emotheau closed 3 years ago

emotheau commented 3 years ago

Just put ns.avg_interval = something (>0) to activate the feature. avg_interval controls the interval of time-steps when a solution is integrated to the average.

The average is dumped in each plotfile. Do not forget to add "velocity_average" in amr.derive_plot_vars.