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

Implement non-Boussinesq case #44

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

johnomotani
Copy link
Collaborator

Does run (for a 2d turbulence case). Needs checking/validating. Only implemented for 'old-style' phiSolver and split_n0 is not supported.

Added one term to vorticity equation (from Simakov&Catto2003) involving V_ExB.Grad(n) - see updated manual. Also changed n_0->n in a couple more places in the vorticity and ion pressure equations. I only compared the vorticity equation to S&C, so if there might be extra terms in other equations I will have missed them.

Had to (?) change the way Laplace solve is done compared to Boussinesq case: subtract Pi contribution from right-hand-side before solving rather than subtracting Pi from the result afterward. Seems necessary because without Boussinesq approximation the coefficients of phi and Pi inside the divergence in the definition of vorticity are different (with/without Ne factor), so can't solve directly for phi+Pi.

Definitely needs checking:

  • conserved energy eq. (17) - is it affected by extra term in vorticity eqn? Are n_0->n replacements consistent with conserved energy?

src/hermes-2.cxx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant