Skip to content

Commit

Permalink
Use thermovariabledict to access volume
Browse files Browse the repository at this point in the history
  • Loading branch information
hwpang committed Jan 23, 2024
1 parent 4997f01 commit 2624531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ function evaluate(ri::FragmentBasedReactiveFilmGrowthInterfaceConstantT, dydt, d
addreactionratecontributions!(dydt, ri.fragmentbasedrxnarray, ri.rxnarray, cstot, kfs, krevs, Vfilm, domainfilm.indexes[3], ri.Mws, domainfilm.indexes[1]:domainfilm.indexes[2])
if hasproperty(ri.domain2, :epsilon)
epsilon = ri.domain2.epsilon
dydt[ri.domain2.indexes[3]] = dydt[domainfilm.indexes[3]] / domainfilm.rho / (1 - epsilon) * epsilon
dydt[ri.domain2.thermovariabledict["V"]] = dydt[domainfilm.indexes[3]] / domainfilm.rho / (1 - epsilon) * epsilon
end
end

Expand Down

0 comments on commit 2624531

Please sign in to comment.