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

Segmentation fault after a few time steps with ANEOS #43

Open
mikinakajima opened this issue Oct 8, 2019 · 2 comments
Open

Segmentation fault after a few time steps with ANEOS #43

mikinakajima opened this issue Oct 8, 2019 · 2 comments

Comments

@mikinakajima
Copy link
Collaborator

Scott and I have been trying to implement ANEOS, but the code experiences a segmentation fault after a few time steps. The EoS interpolation seems to be working fine, so we are confused. The fault is happening in PTCL::CalcPressure(sph_system) (main.cpp).

We also tested with a refined EoS data table (This is tested under eos_test branch) but we are still experiencing this issue.

We will try to have a better look at this..

@NatsukiHosono
Copy link
Owner

Hmm, did you try a debugger (e.g., gdb) tp specify the line which crashes the run?

@mikinakajima
Copy link
Collaborator Author

mikinakajima commented Oct 9, 2019

Thank you Natsuki! I think I identified the problem.. I find that the pressure difference between the iron core and mantle at the core-mantle boundary was too large with ANEOS (mantle had a much larger density than it should be ... like 8 g/cc with the default planetary radius). Actually the mantle pressure at CMB was much larger than the core pressure there. Tillotson and ANEOS seem to have very different rho-P relationships (which we should probably check). We increase the planetary radius and now the code seems working fine.

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