-
Notifications
You must be signed in to change notification settings - Fork 125
reduce redundancy in bubbles #1062
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -178,7 +178,7 @@ contains | |
| cp_n = fluid_pp(id_host)%cp_v*(T0/(c0*c0)) | ||
| R_v = (R_uni/fluid_pp(id_bubbles)%M_v)*(T0/(c0*c0)) | ||
| R_n = (R_uni/fluid_pp(id_host)%M_v)*(T0/(c0*c0)) | ||
| lag_params%diffcoefvap = lag_params%diffcoefvap/(x0*c0) | ||
| fluid_pp(id_bubbles)%D_v = fluid_pp(id_bubbles)%D_v/(x0*c0) | ||
sbryngelson marked this conversation as resolved.
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Existing cases still provide the diffusion coefficient via Prompt for AI agents |
||
| ss = fluid_pp(id_host)%ss/(rho0*x0*c0*c0) | ||
| mul0 = fluid_pp(id_host)%mul0/(rho0*x0*c0) | ||
|
|
||
|
|
@@ -386,9 +386,9 @@ contains | |
| call s_transcoeff(1._wp, PeT, Re_trans, Im_trans) | ||
| gas_betaT(bub_id) = Re_trans*(heatflag)*kparticle | ||
|
|
||
| PeG = bub_R0(bub_id)**2._wp*omegaN_local/lag_params%diffcoefvap | ||
| PeG = bub_R0(bub_id)**2._wp*omegaN_local/fluid_pp(num_fluids)%D_v | ||
sbryngelson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| call s_transcoeff(1._wp, PeG, Re_trans, Im_trans) | ||
| gas_betaC(bub_id) = Re_trans*(massflag)*lag_params%diffcoefvap | ||
| gas_betaC(bub_id) = Re_trans*(massflag)*fluid_pp(num_fluids)%D_v | ||
|
|
||
| if (gas_mg(bub_id) <= 0._wp) then | ||
| call s_mpi_abort("Negative gas mass in the bubble, check if the bubble is in the domain.") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R_uniis referenced without being imported intom_helper, so the code no longer compiles after removing the localRuconstant.Prompt for AI agents