Skip to content
Snippets Groups Projects
Commit 0a788825 authored by Ivar Stefansson's avatar Ivar Stefansson
Browse files

Update plot_conductive_x.m with MPFA

parent a5525a88
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,10 @@ plot(dfm(:, 14), dfm(:, 4), 'Color', 'g', 'LineWidth', 1);
ccdfm = csvread('ccdfm/ccdfm_geiger_conductive_x_eq_0.5.csv', 1, 0);
plot(ccdfm(:, 4), ccdfm(:, 1), 'Color', 'c', 'LineWidth', 1);
% MPFA
mpfa = csvread('ccdfm/ccdfm_geiger_conductive_x_eq_0.5.csv', 1, 0);
plot(mpfa(:, 4), mpfa(:, 1), 'Color', [0 .5 0], 'LineWidth', 1);
% EDFM
edfm = csvread('edfm/edfm_geiger_conductive_x_eq_0.5.csv', 1, 0);
plot(edfm(:, 5), edfm(:, 1), 'Color', 'r', 'LineWidth', 1);
......@@ -36,4 +40,4 @@ plot(d_xfem_fine(I, 3), d_xfem_fine(I, 1), 'Color', 'm', 'LineWidth', 1);
xlabel('arc length', 'FontSize', 12, 'FontWeight', 'bold', 'Color', 'k');
ylabel('pressure', 'FontSize', 12, 'FontWeight', 'bold', 'Color', 'k');
set(gca, 'FontSize', 12);
legend('reference', 'Box-DFM', 'CC-DFM', 'EDFM', 'mortar-DFM', 'P-XFEM', 'D-XFEM');
legend('reference', 'Box-DFM', 'TPFA', 'MPFA', 'EDFM', 'flux-mortar', 'P-XFEM', 'D-XFEM');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment