Skip to content

Derivate parameters #239

Closed Answered by slaizet
MarcoArtiano asked this question in Q&A
Discussion options

You must be logged in to vote

Dear Marco,
When using ncl=1, you can have symmetry and anti-symmetry boundary conditions (npaire=1=symmetry and npaire=0=anti-symmetry). For each case, the set of coefficients for the derivatives is slightly different hence the use of the arrays with "p" at the end. If you are not using ncl=1, then do not worry about this. If you want to implement a new formulation for the convective terms, simply follow the same rules used in the current implementation (for instance, d/dx (uu) --> npaire=1, d/dx (ww) --> npaire=0).
All the best,
Sylvain

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mathrack
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