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

KSP solver divergence in KHI case #30

Open
shyams2 opened this issue Sep 16, 2017 · 2 comments
Open

KSP solver divergence in KHI case #30

shyams2 opened this issue Sep 16, 2017 · 2 comments

Comments

@shyams2
Copy link
Contributor

shyams2 commented Sep 16, 2017

Commit Hash: 1bb6be9

Issue:

  • Error of 'KSP solver diverging!' is thrown when main.py from $BOLT_HOME/example_problems/nonrelativistic_boltzmann/instabilities/KH/hydrodynamic is run.
  • The KSP solver seems to have worked fine for all linear modes I.C setup
  • The KSP solver passes its unit test. Need to add case which replicates the scenario occuring in this case.
@mchandra
Copy link
Contributor

mchandra commented Sep 16, 2017

The Poisson solver only sees the density:

    q2_minus = 0.5
    q2_plus  = 1.5

    regulator = 20  # larger value makes the transition sharper

    rho = 1 + 0.5 * (  af.tanh(( q2 - q2_minus)*regulator) 
                     - af.tanh(( q2 - q2_plus )*regulator)
                    )
  1. Can you make a unit test with the above density profile and use the FFT solver as the reference solution?
  2. In that unit test, try changing the regulator and check if the KSP solver works below a certain value.
  3. Paste a plot here of the above density profile.

@shyams2
Copy link
Contributor Author

shyams2 commented Nov 14, 2017

@mchandra Needs to be rechecked with the change to SNES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants