|
Basilisk CFD
Adaptive Cartesian mesh PDE framework
|
Go to the source code of this file.
Functions | |
| void | event_update_eta (void) |
| Event: update_eta (i++) | |
Variables | |
| scalar | deta [] |
| scalar deta[] |
This is optional and only applies to the time-implicit layered solver.
This checks that the free-surface position \(\eta\) obtained from the solution of the implicit time-integration matches the free-surface position \(\eta_p\) obtained by integration of the corresponding (barotropic) fluxes i.e.
\[ \partial_t\eta_p + \sum_l \nabla\cdot(\mathbf{hu})_l = 0 \]
This should be true to within the tolerance of the implicit solver.
The difference is stored in the deta field.
Definition at line 20 of file check_eta.h.
Referenced by event_update_eta().