File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 216216end
217217
218218# Takes the solution values `u` and gradient of the entropy variables (w_1, w_2, w_3) and
219- # reverse engineers the gradients to be terms of the primitive variables (v1, T).
219+ # reverse engineers the gradients to be terms of the primitive variables (rho, v1, T).
220220# Helpful because then the diffusive fluxes have the same form as on paper.
221221# Note, the first component of `gradient_entropy_vars` contains gradient(rho) which is unused.
222222# TODO : parabolic; entropy stable viscous terms
230230 equations:: CompressibleNavierStokesDiffusion1D{GradientVariablesEntropy} )
231231
232232 # TODO : parabolic. This is inefficient to pass in transformed variables but then transform them back.
233- # We can fix this if we directly compute v1, T from the entropy variables
233+ # We can fix this if we directly compute rho, v1, T from the entropy variables
234234 u = entropy2cons (w, equations) # calls a "modified" entropy2cons defined for CompressibleNavierStokesDiffusion1D
235235 rho, rho_v1, _ = u
236236
You can’t perform that action at this time.
0 commit comments