-
Notifications
You must be signed in to change notification settings - Fork 86
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
Discussion: set multiply_rho = true
for temperature PDE
#1493
Comments
How much effect will this change have on the multi-phase solver formulation? |
Concerning multiphase:
The complexity here is why I say we should just revert back to multiply_rho = true. For multiphase flows, we can implement 1., though we might not be able to trust the thermal exchange at the interface. It may be a good stand-in for the full approach, since water is has both a much higher density and a much higher heat capacity than air. Also, I might be wrong about needing an energy equation; there may be a way to do it with a single temperature equation + source terms. |
I checked the implementation of VOF based methods in OpenFOAM and temperature equation is not included in the calculations. The temperature inclusion makes it necessary to incorporate additional physics: https://github.com/OpenFOAM/OpenFOAM-6/tree/master/applications/solvers/multiphase/multiphaseEulerFoam. I think an easier option for us is to specify a temperature profile within the water region and apply a forcing to ensure that the temperature within the water remains horizontally homogeneous to avoid any artifacts at the interface. We also need to ensure consistency of the temperature profile with the air temperature at the interface to avoid any abrupt jumps. |
I just added a bunch of stuff to make it work in #1498, see here: marchdf#2 The key concept is that the rho part of rhoT is transported the same way as rho, which makes things stable. There's a little more complexity in there too, but it's all been tested in the mass-momentum consistency context, which we've published. This will make sure things don't blow up, but I'm still doubtful that this is a physically realistic equation to solve for both phases. We'll figure that out later. One thing to note: this still assumes that the density of each phase is constant. Doing multiphase + anelastic would require more coding. I did confirm that it works for abl_multiphase_laminar. Because I had to change something in incflo_advance, we need to make sure that the other tests don't end up with new diffs as a result. |
It sounds like anelastic would rather have
multiply_rho = true
for temperature PDE. This was switched tofalse
recently-ish: #965. Can/should we switch it back?Tagging @mbkuhn, @moprak-nrel
The text was updated successfully, but these errors were encountered: