-
Notifications
You must be signed in to change notification settings - Fork 78
Conversation
Thanks for putting this together, @slifer50! |
Looks good to me! |
I've done a few tests with the filter to see how it affects the solution of an inviscid rising bubble. The first image shows solution when using the Boyd-Vandeven filter. The second and third images show the solution of the unfiltered flow. The second image showcases the large extrema while the third uses an adjusted scale for a clearer image. |
Good job @slifer50, thanks for adding this so quickly and having it to work. The filter seems to be working correctly when it comes to stabilizing the solution. I agree with @tapios that the imprinting is related to the flux and the filter could not handle it unless somewhat tuned for that (not worth a try).
thanks! |
8714932
to
46ade1b
Compare
61bf0d3
to
8f2166d
Compare
e3a3387
to
e45b220
Compare
@slifer50, can we squash and get this in :-). Looks like it can be part of the codebase now. |
co-authored-by: thomasgibson <gibsonthomas1120@hotmail.com>
9b2541b
to
02278e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
bors r+ |
1280: Add types and unify functions in BalanceLaws r=charleskawczynski a=charleskawczynski # Description - Adds types to balance law (I have no strong opinions about the names here) ```julia abstract type AbstractStateType end struct Prognostic <: AbstractStateType end struct Auxiliary <: AbstractStateType end struct Gradient <: AbstractStateType end struct GradientFlux <: AbstractStateType end struct GradientLaplacian <: AbstractStateType end struct Hyperdiffusive <: AbstractStateType end struct UpwardIntegrals <: AbstractStateType end struct DownwardIntegrals <: AbstractStateType end ``` - Unifies `vars_state` (BalanceLaws) into a single function - Unifies `number_states` (BalanceLaws) into a single function - Unifies `create_state` (DGMethods) into a single function - Unifies `extract_state` (Diagnostics) into a single function 1321: More pedagogical computation of continuity equation r=blallen a=blallen # Description @jm-c pointed out that our current method for computing the continuity equation `∇u = 0` is a little counterintuitive. Here is one possible change we can make to improve the clarity while maintaining computational efficiency at the cost of some extra memory usage. 1359: Yt/boyd vandeven r=thomasgibson a=slifer50 # Description Addition of the Boyd-Vandeven filter. Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com> Co-authored-by: Brandon Allen <ballen@mit.edu> Co-authored-by: yassine <yassinetissaoui@gmail.com>
Build failed (retrying...): |
Description
Addition of the Boyd-Vandeven filter.
Me and @thomasgibson have worked on adding the Boyd-Vandeven filter. This currently appears to be working and is only pending the addition of a unit test and some cleanup.
For review by CLIMA developers
julia .dev/format.jl
has been run in a separate commit.