Skip to content

FVCOM meshes #24

Open
Open

Description

@poplarShift

Hi @kacpnowak, thanks for the package! I'd love to try it out on FVCOM meshes. As far as I can see, TriangularFilter works for velocities defined on mesh nodes, whereas in FVCOM it is defined on the cells.

What would be the easiest starting point to adapt the implicit filter to that format?

Activity

  1. kacpnowak commented on Mar 12, 2026

    @kacpnowak
    Collaborator

    Hi @poplarShift, currently there are two options:

    • interpolate from elements to nodes:
    from implicit_filter import transform_velocity_to_nodes
    
    uxn, vyn = transform_velocity_to_nodes(ux, vy, filter) 

    The result of this approach is shown in example notebook

    • email me at kacper.nowak@awi.de and I can send you experimental version that works directly on cells.
  2. poplarShift commented on Mar 18, 2026

    @poplarShift
    Author

    Thanks! For the record, transforming to nodes works nicely, but then of course the filtered velocities are also on nodes, meaning I cannot calculate e.g. vorticity the normal (FVCOM) way. Sent you an email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions