r/CFD • • Feb 01 '18

[February] Post Processing

As per the discussion topic vote, February's monthly topic is post processing.

10 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/Rodbourn Feb 09 '18

I think you would have to include a symbolic expression within the file that's dynamically parsed and evaluated at runtime to do it properly. I've done it for interactive interpolations where the user can build up high order (and high-dimensional) basis functions to achieve the fit they desire (with Infix). I don't see that happening soon though.

1

u/Overunderrated Feb 11 '18

That's a good idea, but yeah it'd probably take a massive amount of re-working of visualization tools to support it.

I use heirarchical basis functions defined by a recurrence relation though (like all orthogonal bases..) and I could see a huge performance issue there. I think the nodal basis is the way to go for file io, because every method inherently needs a unique 1-to-1 mapping to physical space anyway, and then the post-proc tool can use some reasonable algebraic interpolants without having to try to support the infinite possible combinations of basis functions.

1

u/Rodbourn Feb 11 '18

True, recurrence relations don't work well for simple algebraic expressions. I use Legendre Gauss Lobatto and I'd have a hard time seeing that expressed alongside other basis functions with simple expressions.