Skip to content

Commit

Permalink
Update mrst_input.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
moyner committed Oct 16, 2022
1 parent 54adb17 commit dec75eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mrst_input.jl
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ function model_from_mat_deck(G, mrst_data, res_context)
else
phases = (AqueousPhase(), LiquidPhase(), VaporPhase())
end
sys = MultiPhaseCompositionalSystemLV(eos, phases)
sys = MultiPhaseCompositionalSystemLV(eos, phases, reference_densities = rhoS)
model = SimulationModel(G, sys, context = res_context, plot_mesh = plot_mesh)
# Insert pressure
svar = model.secondary_variables
Expand Down Expand Up @@ -574,7 +574,7 @@ function model_from_mat_deck(G, mrst_data, res_context)
end

if is_immiscible
sys = ImmiscibleSystem(phases)
sys = ImmiscibleSystem(phases, reference_densities = rhoS)
dp_max_rel = Inf
min_p = -Inf
else
Expand Down

0 comments on commit dec75eb

Please sign in to comment.