Skip to content
Snippets Groups Projects
Commit f7d26e4b authored by David's avatar David
Browse files

uiae

parent 504cf0ef
Branches
No related tags found
No related merge requests found
...@@ -1045,7 +1045,7 @@ class LDDsimulation(object): ...@@ -1045,7 +1045,7 @@ class LDDsimulation(object):
subdomain.function_space["pressure"]['wetting'] subdomain.function_space["pressure"]['wetting']
) )
saturation_nw = df.Function( saturation_nw = df.Function(
subdomain.function_space["pressure"]['wetting'] subdomain.function_space["pressure"]['nonwetting']
) )
for phase in subdomain.has_phases: for phase in subdomain.has_phases:
...@@ -1062,7 +1062,6 @@ class LDDsimulation(object): ...@@ -1062,7 +1062,6 @@ class LDDsimulation(object):
"source_"+"{}".format(phase) "source_"+"{}".format(phase)
) )
file.write(source[phase], timestep) file.write(source[phase], timestep)
if self.exact_solution: if self.exact_solution:
pa_exact = subdomain.pressure_exact[phase] pa_exact = subdomain.pressure_exact[phase]
pa_exact.t = timestep pa_exact.t = timestep
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment