Skip to content

Commit

Permalink
Use mass fraction diffusion coefficients
Browse files Browse the repository at this point in the history
  • Loading branch information
daavid00 committed Jan 31, 2024
1 parent 8b42626 commit e5f4459
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/pyopmspe11/templates/co2/spe11a.mako
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ INCLUDE

% if dic['model'] == 'complete' and (dic["diffusion"][0] + dic["diffusion"][1]) > 0:
% if dic["co2store"] == "gaswater":
DIFFCWAT
DIFFAWAT
${dic["diffusion"][0]} ${dic["diffusion"][0]} /

DIFFCGAS
DIFFAGAS
${dic["diffusion"][1]} ${dic["diffusion"][1]} /
% else:
DIFFC
Expand Down
4 changes: 2 additions & 2 deletions src/pyopmspe11/templates/co2/spe11b.mako
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ INCLUDE
% if dic['model'] == 'complete':
% if dic["co2store"] == "gaswater":
% if dic["flow_version"] != "2023.10" and (dic["diffusion"][0] + dic["diffusion"][1]) > 0:
DIFFCWAT
DIFFAWAT
${dic["diffusion"][0]} ${dic["diffusion"][0]} /

DIFFCGAS
DIFFAGAS
${dic["diffusion"][1]} ${dic["diffusion"][1]} /
% endif
% else:
Expand Down
4 changes: 2 additions & 2 deletions src/pyopmspe11/templates/co2/spe11c.mako
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ INCLUDE
% if dic['model'] == 'complete':
% if dic["co2store"] == "gaswater":
% if dic["flow_version"] != "2023.10" and (dic["diffusion"][0] + dic["diffusion"][1]) > 0:
DIFFCWAT
DIFFAWAT
${dic["diffusion"][0]} ${dic["diffusion"][0]} /

DIFFCGAS
DIFFAGAS
${dic["diffusion"][1]} ${dic["diffusion"][1]} /
% endif
% else:
Expand Down

0 comments on commit e5f4459

Please sign in to comment.