Skip to content
Discussion options

You must be logged in to vote

The built in planar average relies on the topology of the mesh and it doesn't work for unstructured grid.

Two ways for you.

  1. Run a dummy NekRS simulation with a structured cylinder mesh so it's a 2D mesh then extruded into the main axis. Then, load your data via gfldr or via restartFrom = "a.fld + int" (next branch). Since the dummy simulation uses structural grid, you can call planar average.
  2. Use findpt to do interpolation your self. Define your own grid for the numerical integral, findpt interpolate the solution onto those grid, then you can have full control.
    static pointInterpolation_t *interpolator = nullptr;

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@moviegroovie
Comment options

@moviegroovie
Comment options

@yslan
Comment options

Answer selected by moviegroovie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants