From 4e80da5bb770525e59070c91eab0518be2e3eb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20M=C3=B8yner?= Date: Mon, 8 Jan 2024 12:40:44 +0100 Subject: [PATCH] Update two_phase_gravity_segregation.jl --- examples/two_phase_gravity_segregation.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/two_phase_gravity_segregation.jl b/examples/two_phase_gravity_segregation.jl index 6e9f60c3..731d5af5 100644 --- a/examples/two_phase_gravity_segregation.jl +++ b/examples/two_phase_gravity_segregation.jl @@ -10,12 +10,14 @@ # reached. using JutulDarcy, Jutul nc = 100 -domain = get_1d_reservoir(nc, z_max = 1) +Darcy, bar, kg, meter, day = si_units(:darcy, :bar, :kilogram, :meter, :day) + +g = CartesianMesh((1, 1, nc), (1.0, 1.0, 10.0)) +domain = reservoir_domain(g, permeability = 1.0*Darcy) #- # ## Fluid properties # Define two phases liquid and vapor with a 10-1 ratio reference densities and # set up the simulation model. -Darcy, bar, kg, meter, day = si_units(:darcy, :bar, :kilogram, :meter, :day) p0 = 100*bar rhoLS = 1000.0*kg/meter^3