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

Implement simultaneous transport with SIQN #581

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ta440
Copy link
Collaborator

@ta440 ta440 commented Nov 28, 2024

Allow conservative transport with the SIQN timestepper. To do this, the variables involved in the conserved transport (mixing ratio(s) and the reference density) are passed as a list into a single time discretisation instance, e.g. for the moist, compressible Euler equations:
SSPRK3(domain, ["rho", "water_vapour", "cloud_water"], options=mixed_opts, rk_formulation=RungeKuttaFormulation.predictor)
If there is a mixed wrapper, any boundary conditions are applied to the new mixed function space.
In the transport step, the entire mixed function space is evolved, with any variables not in the list remaining untransported. In this example, transport is applied to the u_rho_theta_water_vapour_cloud_water field, with transport schemes applied to rho, water_vapour, and cloud_water, and no transport for u and theta. A new intermediate field of xsimult is used to store the output of the simultaneous transport. We then extract the fields of interest and assign them to xp. This avoids overwriting any previously transported variables (for example, transporting u or theta first).

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

Successfully merging this pull request may close these issues.

1 participant