%% Set up compositional fluid model (Remember to avoid the name "Water" here; it causes problems)
names = {'Hydrogen', 'Methane', 'Carbondioxide', 'Nitrogen', 'n-Undecane', 'n-Dodecane', 'H2O'};
T_c = [33.145, 190.564, 304.1282, 126.192, 639, 658, 647.096];
P_c = [12.9583, 45.3886, 72.8645, 33.5554, 19.245, 17.962, 217.666]*atm;
M_w = [2.01588, 16.0428, 44.0098, 28.0135, 156.312, 170.338, 18.0153]/1000;
Acc = [-0.215993, 0.0115478, 0.223621, 0.0377215, 0.530316, 0.576385, 0.344861];
Z_c = [0.305, 0.286, 0.27588, 0.289, 0.242, 0.238, 0.229];
V_c = Z_c.*8.314.*T_c./P_c;
compfluid = CompositionalMixture(names, T_c, P_c, V_c, Acc, M_w);
zcomp = [0.00, 0.00, 0.85, 0.00, 0.05, 0.05, 0.05]; % Composition of gas mixture in the reservoir
You received this message because you are subscribed to a topic in the Google Groups "MRST-users: The Matlab Reservoir Simulation Toolbox User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sintef-mrst/tM5zOy3CCN0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sintef-mrst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sintef-mrst/010831ce-c3b7-4718-9d85-c47a7c754742n%40googlegroups.com.