-
Notifications
You must be signed in to change notification settings - Fork 14
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
Stability Analysis Experiments #70
Comments
From discussion with @bosonbaas , We should: Negative pressure gradients do not result in unstable physics. Is this okay? There is a choice to have gradient either point from high to low pressure. The convention is to have low-to-high, and this is what we have in the code now. Confusion on this would result in scalars with the wrong sign. How do we handle plotting of 1Forms? In matlab, we often have 3 separate plots, one for x component, one for y, and one for z. When running experiments, we have to change alpha every time we change the mesh, since it is affected by lengths of edges. Observe that since Velocity is a primal 1Form, the affect of pressure on velocity should also be a 1Form. We note that normally in physics, the Laplacian applied to velocity gives you something in 1/(ms) units. In the DEC we mistakenly considered the Laplacian applied to velocity to be something that you can add to velocity (i.e. is also in m/s), but our units of pressure and velocity were not consistent. Using A test that the scalars scale correctly for each icosphere subdivision would be to run the same physics on two different icospheres and confirm the simulation is the same (up to coarseness). |
Ran three simulations using different mesh subdivisions. All had mu = 0, alpha = 0.5, beta = 100, gamma = 100. Results:
|
Overall Stability Results:
Stability Results:
|
5 subdivisions still appears to be unstable. When I run with the same constants as above, I get this error |
Commit 758296 performs a multi-species simulation, both of which governed individually by Navier Stokes. These species do not interact, so this essentially running two single-species simulations at once. Interaction of species will properly be handled by the collision terms from Schunk, which mostly consist of linear sums of differences of velocity 1-forms. Although interaction of species can of course be encoded by a multitude of less physically-rigorous strategies for development purposes. |
This looks really good. The different species should have different material properties (N2 and O2) for example so we should be able to run this simulation of two independent species and see that pressure waves propagate slower in different media based on the speed of sound. Then we can add the collision terms. I think that the sum over differences of one forms approach based on shunck seems reasonable to me. It would be nice to have a slick DEC way of framing that, but I think that just a sum over differences fine for now. Once we have multiple species fluids going, we can add the E&M terms for charged particles. |
This issue is for tracking the results of running pressure simulations on spherical meshes.
For each trial run, we should record the parameters and mesh used, as well as whether the solver was stable, and if any artifacts were observed in the simulation results (if the simulation was run).
The text was updated successfully, but these errors were encountered: