Skip to content

Implement non-Boussinesq case#44

Open
johnomotani wants to merge 4 commits intobendudson:masterfrom
johnomotani:non-Boussinesq
Open

Implement non-Boussinesq case#44
johnomotani wants to merge 4 commits intobendudson:masterfrom
johnomotani:non-Boussinesq

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?

Currently only works with 'old-style' phiSolver.
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