diff --git a/dumux/porousmediumflow/2pnc/vtkoutputfields.hh b/dumux/porousmediumflow/2pnc/vtkoutputfields.hh index e95b43ab74f971c8b29691ac93177733057d2ccb..c39ab91536a13fb53fc66cd822961d7c1378dd5a 100644 --- a/dumux/porousmediumflow/2pnc/vtkoutputfields.hh +++ b/dumux/porousmediumflow/2pnc/vtkoutputfields.hh @@ -53,7 +53,7 @@ public: for (int j = 0; j < VolumeVariables::numComponents(); ++j) vtk.addVolumeVariable([j](const auto& v){ return v.molarity(FluidSystem::phase0Idx,j); }, - "m_"+ FluidSystem::phaseName(FluidSystem::phase1Idx) + "^" + FluidSystem::componentName(j)); + "m_"+ FluidSystem::phaseName(FluidSystem::phase0Idx) + "^" + FluidSystem::componentName(j)); vtk.addVolumeVariable([](const auto& v){ return v.priVars().state(); }, "phasePresence"); } diff --git a/test/references/fuelcell2pncbox-reference.vtu b/test/references/fuelcell2pncbox-reference.vtu index 5bef1c73874ab01b1fbc10c838536e446ff65740..b96a8846362afc0ccf23f2aeaa45b08377a77016 100644 --- a/test/references/fuelcell2pncbox-reference.vtu +++ b/test/references/fuelcell2pncbox-reference.vtu @@ -243,7 +243,7 @@ 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 0.363895 </DataArray> - <DataArray type="Float32" Name="m_g^H2O" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_l^H2O" NumberOfComponents="1" format="ascii"> 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 @@ -258,7 +258,7 @@ 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 </DataArray> - <DataArray type="Float32" Name="m_g^N2" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_l^N2" NumberOfComponents="1" format="ascii"> 0.395279 0.395279 0.381259 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 0.395279 0.381259 @@ -273,7 +273,7 @@ 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 0.318276 </DataArray> - <DataArray type="Float32" Name="m_g^O2" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_l^O2" NumberOfComponents="1" format="ascii"> 0.237117 0.237117 0.263746 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 0.237117 0.263746 diff --git a/test/references/fuelcell2pnccc-reference.vtu b/test/references/fuelcell2pnccc-reference.vtu index cb6fe7f630582e05f8fd5426a344123015930a54..3a9883ed6eaa9b4c05d47f695d593afc0ddfa2eb 100644 --- a/test/references/fuelcell2pnccc-reference.vtu +++ b/test/references/fuelcell2pnccc-reference.vtu @@ -211,7 +211,7 @@ 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 0.35319 </DataArray> - <DataArray type="Float32" Name="m_g^H2O" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_l^H2O" NumberOfComponents="1" format="ascii"> 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 55141.5 @@ -224,7 +224,7 @@ 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 55141.4 </DataArray> - <DataArray type="Float32" Name="m_g^N2" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_l^N2" NumberOfComponents="1" format="ascii"> 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.38939 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 0.375382 @@ -237,7 +237,7 @@ 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 0.324214 </DataArray> - <DataArray type="Float32" Name="m_g^O2" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_l^O2" NumberOfComponents="1" format="ascii"> 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.248302 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 0.274908 diff --git a/test/references/saltflushbox2pncmin-reference.vtu b/test/references/saltflushbox2pncmin-reference.vtu index 690d5a7ef0e6b1d02588528f3e46c933eee423b0..fbebc4d66127bcdb9d8e4edb74ffca493688ded4 100644 --- a/test/references/saltflushbox2pncmin-reference.vtu +++ b/test/references/saltflushbox2pncmin-reference.vtu @@ -355,7 +355,7 @@ 7.92393e-09 8.12606e-09 8.33597e-09 8.55576e-09 8.64312e-09 8.67678e-09 8.71056e-09 8.74515e-09 8.77556e-09 8.82442e-09 8.86134e-09 8.87186e-09 8.87743e-09 8.88165e-09 1.54978e-08 </DataArray> - <DataArray type="Float32" Name="m_gas^H2O" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_liquid^H2O" NumberOfComponents="1" format="ascii"> 51477.4 51405.7 51477.4 51455.9 51296.2 51378.1 51095.5 51227.9 50126.6 50254 49956.7 50088.2 49740.8 49869 49470.3 49588.1 49139.4 49241.6 48750.2 48833.4 47949.2 47993.8 47187.5 47191.2 46557.9 46522.5 46095 46023.1 45822.2 45822.1 45821.5 45821.4 45820.7 45820.6 45819.9 45819.8 @@ -377,7 +377,7 @@ 50276.6 50066.6 49766 49372.5 48456.9 47488.7 46599.8 45880 45821.1 45820.3 45819.7 45819.5 45819.4 45819.4 40557.1 </DataArray> - <DataArray type="Float32" Name="m_gas^Air" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_liquid^Air" NumberOfComponents="1" format="ascii"> 58.1597 58.191 58.1597 58.1264 58.1553 58.0796 -2083.56 -2165.9 -4330.71 -4461.62 -4160.35 -4295.42 -3943.77 -4075.45 -3671.28 -3792.3 -3337.06 -3442 -2943.28 -3028.68 -2124.38 -2170.21 -1345.09 -1349.07 -701.506 -665.475 -228.685 -155.389 49.4566 49.4189 49.2239 49.1778 48.9343 48.8913 48.6476 48.5864 @@ -399,7 +399,7 @@ -4494.53 -4284.4 -3981.33 -3583 -2646.28 -1655.11 -746.074 -10.5506 49.0584 48.7762 48.565 48.5052 48.4735 48.4496 46.7704 </DataArray> - <DataArray type="Float32" Name="m_gas^NaCl" NumberOfComponents="1" format="ascii"> + <DataArray type="Float32" Name="m_liquid^NaCl" NumberOfComponents="1" format="ascii"> 1.58882 99.3445 1.58882 30.9506 242.622 135.302 2587.61 2544.85 4960.1 4959.72 4960.17 4959.78 4960.25 4959.87 4960.46 4960.11 4960.82 4960.52 4961.32 4961.08 4963.25 4963.12 4965.16 4965.13 4966.67 4966.75 4967.74 4967.9 4968.33 4968.31 4968.23 4968.21 4968.11 4968.09 4967.99 4967.97