Skip to content

Commit 83b07f0

Browse files
committed
Merge branch 'BgB_pinch' of github.com:ProjectTorreyPines/FUSE.jl into BgB_pinch
2 parents 1580788 + dfb78d4 commit 83b07f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/actors/transport/analytic_turbulence_actor.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ function _step(actor::ActorAnalyticTurbulence{D,P}) where {D<:Real,P<:Real}
116116
χi = @. actor.par.αBgB * (actor.par.χiB_coefficient * χiB + actor.par.χiGB_coefficient * χiGB)
117117

118118
Dp = @. (A1 + (A2 - A1) * rho_cp) * χe * χi / (χe + χi)
119-
vin = @. 0.5 * Dp .* (surf .^ 2 ./ volume) ./ vprime_miller
119+
vin = @. 0.5 * Dp * (surf ^ 2 / volume) / vprime_miller
120120
vin[1] = 0.0
121-
Γe = @. Dp * dlnnedr * ne .- vin * ne
121+
Γe = @. (Dp * dlnnedr - vin) * ne
122122

123123
gridpoint_cp = [argmin_abs(cp1d.grid.rho_tor_norm, ρ) for ρ in par.rho_transport]
124124

0 commit comments

Comments
 (0)