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

are we filling the flux registers correctly for SDC? #658

Closed
zingale opened this issue Aug 20, 2019 · 3 comments
Closed

are we filling the flux registers correctly for SDC? #658

zingale opened this issue Aug 20, 2019 · 3 comments
Labels

Comments

@zingale
Copy link
Member

zingale commented Aug 20, 2019

Do we need to weight the fluxes added to the flux registers by the dt between time nodes? Or perhaps using the quadrature rule?

@zingale
Copy link
Member Author

zingale commented Aug 20, 2019

actually.. I think it is the quadrature rule weights. And we should only add to the flux register for the last iteration.

@zingale
Copy link
Member Author

zingale commented Aug 20, 2019

it's a bit more tricky...

since we only compute the advection term once, for iteration = 0, we need to store the flux in the flux register then. The remainder of the time nodes need to be added to the flux register on the last iteration, all with the proper weights. So the flux register needs to persist over the entire iteration structure.

@zingale
Copy link
Member Author

zingale commented Aug 20, 2019

confusion no. 2:

if we are doing 4 iterations, then we have the following:

iteration
0 : store node 0
1 : update the state using the integral over iteration 0
2 : update the state using the integral over iteration 1
3 : update the state using the integral over iteration 2

so do we want to use the fluxes from iteration 3 or 2 for the flux registers?

@zingale zingale mentioned this issue Aug 20, 2019
5 tasks
@zingale zingale added the sdc label Aug 30, 2019
zingale added a commit that referenced this issue Sep 23, 2019
Implements reflecting BCs for PLM reconstruction with SDC (issue #652)

Implements the density and temperature limits to burning for SDC (issue #598)

Fixes the weighting of the flux registers for SDC (#658)

Implements a well-balanced scheme for 2nd order PLM reconstruction (#294)

Also adapts the bubble_convergence problem to work as a test for the well-balanced method and can now do second-order or fourth order initial model generation.

Changes the meaning of the plm_iorder flag to now do 1 = piecewise constant, 2 = 2nd order MC limiter, and >= 3 for 4th order MC limiter

Adds support for HSE boundary conditions in +X and +Y
@zingale zingale closed this as completed Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant