Skip to content

Commit dfb78d4

Browse files
jmcclenabclyons12
andauthored
Update src/actors/transport/analytic_turbulence_actor.jl
Co-authored-by: Brendan Lyons <[email protected]>
1 parent deb0f00 commit dfb78d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actors/transport/analytic_turbulence_actor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function _step(actor::ActorAnalyticTurbulence{D,P}) where {D<:Real,P<:Real}
117117
Dp = @. (A1 + (A2 - A1) * rho_cp) * χe * χi / (χe + χi)
118118
vin = @. 0.5 * Dp * (surf ^ 2 / volume) / vprime_miller
119119
vin[1] = 0.0
120-
Γe = @. Dp * dlnnedr * ne .- vin * ne
120+
Γe = @. (Dp * dlnnedr - vin) * ne
121121

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

0 commit comments

Comments
 (0)