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

Upstream non-Phase Change additions from #179 #223

Merged
merged 4 commits into from
Nov 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Set partial pressures to mixture pressure for the 6-eqn model
JRChreim authored and henryleberre committed Nov 5, 2023

Verified

This commit was signed with the committer’s verified signature.
AetherUnbound Madison Swain-Bowden
commit 31d78c6a1a04d091850a0e662872bdc102154ddb
7 changes: 7 additions & 0 deletions src/pre_process/m_assign_variables.f90
Original file line number Diff line number Diff line change
@@ -480,6 +480,13 @@ subroutine s_assign_patch_species_primitive_variables(patch_id, j, k, l, &
+ (1d0 - eta)*orig_prim_vf(1 + cont_idx%end))
end if

! Set partial pressures to mixture pressure for the 6-eqn model
if (model_eqns == 3) then
do i = internalEnergies_idx%beg, internalEnergies_idx%end
q_prim_vf(i)%sf(j, k, l) = q_prim_vf(E_idx)%sf(j, k, l)
end do
end if

! Smoothed bubble variables
if (bubbles) then
do i = 1, nb