Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Operators for non-orthogonal meshes #88

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions include/div_ops.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ const Field2D Laplace_FV(const Field2D& k, const Field2D& f);
/// Perpendicular diffusion including X and Y directions
const Field3D Div_a_Grad_perp_upwind(const Field3D& a, const Field3D& f);

/*!
* Div ( a Grad_perp(f) ) -- ∇⊥ ( a ⋅ ∇⊥ f) -- Vorticity
*
* This version includes corrections for non-orthogonal meshes
* in which the g12 and g13 components can be non-zero
* i.e. X-Y, X-Z and Y-Z coordinates can all be non-orthogonal.
*/
Field3D Div_a_Grad_perp_nonorthog(const Field3D& a, const Field3D& x);

namespace FV {

/// Superbee limiter
Expand Down
Loading
Loading