Free surface equation
free_surface_equation
FreeSurfaceTerm(test_space, trial_space, dx, ds, dS, **kwargs)
Bases: BaseTerm
Free Surface term: u \dot n
Source code in g-adopt/gadopt/equations.py
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
|
FreeSurfaceEquation(test_space, trial_space, quad_degree=None, prefactor=1, **kwargs)
Bases: BaseEquation
Free Surface Equation.
Source code in g-adopt/gadopt/equations.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
|
mass_term(test, trial)
Return the UFL for the mass term \int test * trial * ds for the free surface time derivative term integrated over the free surface.
Source code in g-adopt/gadopt/free_surface_equation.py
42 43 44 45 46 47 48 |
|