-
Notifications
You must be signed in to change notification settings - Fork 22
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
Issues with Species Prediction at Edges #441
Comments
do you see the same differences if you run with |
Yes, the behavior is the same |
okay. I am not sure if this is a bug or a feature ;) we should see if the code agrees with what is written there. |
it would also be interesting to try to reproduce this in the old Fortran MAESTRO. Assuming we can still get it to compile... |
I looked over all the code in DensityAdvance, MakeRhoXFlux, I think the next step would be to run the same problem in each for one step and have the codes print out the interface states so we can compare. |
I setup a small version of this problem (48 x 80 cells) and walked through the density advance, printing out the components that go into the flux construction in both MAESTRO and MAESTROeX for a single zone. I ran without enthalpy (use_tfromp=1) and with base state evolution disabled. Looking at the results of modify_scal_force, make_edge_scal, and make_rhoxflux, they all seem consistent for species_pred_type = 1 and species_pred_type = 3. I still need to dig into the update_scal stuff. |
what's interesting is that I can get old (Fortran) MAESTRO to abort in the first step if I try running with and a slight change to the perturbation:
but MAESTROeX runs... |
okay... I think it is an averaging thing Here's old Fortran MAESTRO running On the left is 144 x 240 zones on the right is the default 384 x 640 zones. what I think we are seeing is that this problem has very strong, local perturbations, which affects the average base state more at coarse resolutions. And the different pred types interact with the averaging in different ways. |
The species prediction (set by
species_pred_type
) type2
and3
differ in behavior from type1
in a peculiar way. This can be seen in many problems but here is the difference intest_problems/reacting_bubble
.Problem
To recreate compile and run:
Output
Slices of
('boxlib', 'tpert')
.species_pred_type=1
on the left,2
in the center, and3
on the right.The text was updated successfully, but these errors were encountered: