Commit fae75ffb authored by Timo Koch's avatar Timo Koch
Browse files

Rename output field temperature -> T for consistency with p and S

parent e9491ba8
......@@ -48,7 +48,7 @@ public:
template <class VtkOutputModule>
static void add(VtkOutputModule& vtk)
{
vtk.addVolumeVariable([](const auto& v){ return v.temperature(); }, "temperature");
vtk.addVolumeVariable([](const auto& v){ return v.temperature(); }, "T");
vtk.addVolumeVariable([](const auto& v){ return v.thermalConductivity(); }, "lambda");
if (ModelTraits::usesTurbulenceModel())
vtk.addVolumeVariable([](const auto& v){ return v.effectiveThermalConductivity() - v.thermalConductivity(); }, "lambda_t");
......
......@@ -39,7 +39,7 @@ public:
static void init(VtkOutputModule& vtk)
{
IsothermalVtkOutputFields::init(vtk);
vtk.addVolumeVariable( [](const auto& v){ return v.temperature(); }, "temperature");
vtk.addVolumeVariable( [](const auto& v){ return v.temperature(); }, "T");
}
};
......
......@@ -50,7 +50,7 @@ public:
vtk.addVolumeVariable([](const auto& v){ return v.mobility(VolumeVariables::liquidPhaseIdx); }, "mobility");
vtk.addVolumeVariable([](const auto& v){ return v.relativePermeability(VolumeVariables::liquidPhaseIdx); }, "kr");
vtk.addVolumeVariable([](const auto& v){ return v.porosity(); }, "porosity");
vtk.addVolumeVariable([](const auto& v){ return v.temperature(); }, "temperature");
vtk.addVolumeVariable([](const auto& v){ return v.temperature(); }, "T");
static const bool gravity = getParamFromGroup<bool>(vtk.paramGroup(), "Problem.EnableGravity");
if(gravity)
......
"wallNormalAxis","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","storedNeighborID00","storedNeighborID01","storedNeighborID10","storedNeighborID11","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","hasWall","isMatchingPoint","inWallFunctionRegion","useWallFunctionK","useWallFunctionE","pressure","pn_rel","massMoleFrac","temperature","k","epsilon","density","viscosity","eddyViscosity","distanceToWall","u^+","y^+","u^+_nominal","y^+_nominal","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
"wallNormalAxis","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","storedNeighborID00","storedNeighborID01","storedNeighborID10","storedNeighborID11","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","hasWall","isMatchingPoint","inWallFunctionRegion","useWallFunctionK","useWallFunctionE","pressure","pn_rel","massMoleFrac","T","k","epsilon","density","viscosity","eddyViscosity","distanceToWall","u^+","y^+","u^+_nominal","y^+_nominal","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
1,0.1371,-1.0428e-07,0,0.048606,-1042.8,0,18,20,19,44,0.00079757,1030,0,-1.482e-08,-0.00079736,0,1,0,1,1,1,1e+05,0.34067,1,298,0.017058,22.31,1.1688,1.5752e-05,1.9569e-08,0.00013078,1.0764,1.0575,1.2916,0.88129,1,0,8,0,0
1,0.1371,-1.0428e-07,0,0.048606,-1042.8,0,18,20,19,44,0.00079757,1030,0,-1.482e-08,-0.00079736,0,1,0,1,1,1,1e+05,0.34067,1,298,0.017058,22.31,1.1688,1.5752e-05,1.9569e-08,0.00013078,1.0764,1.0575,1.2916,0.88129,1,0.0002469,8,0.0002469,0
1,0.43103,-5.9329e-07,0,0.15281,-5932.9,0,43,45,19,69,0.0024523,952.89,0,-8.3059e-08,-0.0024516,0,0,0,1,1,1,1e+05,0.34067,1,298,0.017058,6.972,1.1688,1.5752e-05,7.1404e-07,0.00041849,3.384,3.384,4.0607,2.8201,1,0.0004938,8,0.0004938,0
......
"wallNormalAxis","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","storedNeighborID00","storedNeighborID01","storedNeighborID10","storedNeighborID11","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","hasWall","isMatchingPoint","inWallFunctionRegion","useWallFunctionK","useWallFunctionE","pressure","pn_rel","massMoleFrac","temperature","k","epsilon","density","viscosity","eddyViscosity","distanceToWall","u^+","y^+","u^+_nominal","y^+_nominal","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
"wallNormalAxis","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","storedNeighborID00","storedNeighborID01","storedNeighborID10","storedNeighborID11","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","hasWall","isMatchingPoint","inWallFunctionRegion","useWallFunctionK","useWallFunctionE","pressure","pn_rel","massMoleFrac","T","k","epsilon","density","viscosity","eddyViscosity","distanceToWall","u^+","y^+","u^+_nominal","y^+_nominal","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
1,1.8548,8.128e-05,0,0.66988,0.13229,0,18,20,19,44,-0.013166,117.36,0,-4.3828e-05,0.013168,0,1,1,1,0,1,1e+05,0.30242,1,298,0.037041,0.46288,1.1688,1.5752e-05,0.00026677,0.0061725,43.138,16.849,17.595,41.308,1,0,8,0,0
1,1.8548,8.128e-05,0,0.66988,0.13229,0,18,20,19,44,-0.013166,117.36,0,-4.3828e-05,0.013168,0,1,1,1,0,1,1e+05,0.30242,1,298,0.037041,0.46288,1.1688,1.5752e-05,0.00026677,0.0061725,43.138,16.849,17.595,41.308,1,0.0002469,8,0.0002469,0
1,1.8548,8.128e-05,0,0.66988,0.13229,0,18,20,19,44,-0.013166,117.36,0,-4.3828e-05,0.013168,0,1,1,1,0,1,1e+05,0.30242,1,298,0.037041,0.46288,1.1688,1.5752e-05,0.00026677,0.0061725,43.138,16.849,17.595,41.308,1,0.0004938,8,0.0004938,0
......
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","temperature","turbulentKineticEnergy","dissipation","density","viscosity","eddyViscosity","distanceToWall","u^+","y^+","MaximumVelocity_X","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","T","turbulentKineticEnergy","dissipation","density","viscosity","eddyViscosity","distanceToWall","u^+","y^+","MaximumVelocity_X","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
1e+05,0.12082,-4.6671e-08,0,0.043473,-466.71,0,0.00035704,921.55,0,-1.1449e-08,-0.00035687,0,0.30136,1,298,1.4258e-05,73680,1.1688,1.5752e-05,1.9351e-10,0.00013078,1.0028,1.0003,2.7791,1,0,8,0,0
1e+05,0.12082,-4.6671e-08,0,0.043473,-466.71,0,0.00035704,921.55,0,-1.1449e-08,-0.00035687,0,0.30136,1,298,1.4258e-05,73680,1.1688,1.5752e-05,1.9351e-10,0.00013078,1.0028,1.0003,2.7791,1,0.0002469,8,0.0002469,0
1e+05,0.38566,-2.722e-07,0,0.13877,-2722.1,0,0.0011403,900.44,0,-6.6164e-08,-0.0011397,0,0.30136,1,298,0.00049618,11619,1.1688,1.5752e-05,4.2703e-08,0.00041849,3.201,3.201,2.7791,1,0.0004938,8,0.0004938,0
......
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","temperature","turbulentKineticEnergy","dissipation","viscosity","eddyViscosity","distanceToWall","u^+","y^+","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","T","turbulentKineticEnergy","dissipation","viscosity","eddyViscosity","distanceToWall","u^+","y^+","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
1e+05,0.1263,-1.1541e-07,0,0.044747,-0.0025772,0,0.00088262,953.6,0,-5.8516e-09,-0.00088244,0,0.31418,1,298,0.00068913,0.053599,1.5752e-05,9.2769e-09,0.00013078,1.0306,1.0175,1,0,8,0,0
1e+05,0.1263,-1.1541e-07,0,0.044747,-0.0025772,0,0.00088262,953.6,0,-5.8516e-09,-0.00088244,0,0.31418,1,298,0.00068913,0.053599,1.5752e-05,9.2769e-09,0.00013078,1.0306,1.0175,1,0.0002469,8,0.0002469,0
1e+05,0.39907,-6.5885e-07,0,0.14139,-0.014713,0,0.0027281,892.4,0,-3.3792e-08,-0.0027275,0,0.31418,1,298,0.0083547,0.47342,1.5752e-05,4.8771e-07,0.00041849,3.2562,3.2562,1,0.0004938,8,0.0004938,0
......
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","temperature","viscosity","density","eddyViscosity","distanceToWall","u^+","y^+","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","T","viscosity","density","eddyViscosity","distanceToWall","u^+","y^+","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
1e+05,0.17658,-1.6647e-07,0,0.063284,-1664.7,0,0.0012733,1333.6,0,4.0203e-08,-0.0012729,0,0.44091,1,298,1.5752e-05,1.1688,4.2277e-09,0.00013078,1.2183,1.2033,1,0,8,0,0
1e+05,0.17658,-1.6647e-07,0,0.063284,-1664.7,0,0.0012733,1333.6,0,4.0203e-08,-0.0012729,0,0.44091,1,298,1.5752e-05,1.1688,4.2277e-09,0.00013078,1.2183,1.2033,1,0.0002469,8,0.0002469,0
1e+05,0.5581,-9.5165e-07,0,0.20002,-9516.5,0,0.0039436,1231.1,0,2.306e-07,-0.0039425,0,0.44091,1,298,1.5752e-05,1.1688,4.6919e-07,0.00041849,3.8506,3.8506,1,0.0004938,8,0.0004938,0
......
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","temperature","viscosity","density","eddyViscosity","distanceToWall","u^+","y^+","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
"pressure","velocityAtElementCenters:0","velocityAtElementCenters:1","velocityAtElementCenters:2","relVelocity:0","relVelocity:1","relVelocity:2","velocityGradients0:0","velocityGradients0:1","velocityGradients0:2","velocityGradients1:0","velocityGradients1:1","velocityGradients1:2","pn_rel","massMoleFrac","T","viscosity","density","eddyViscosity","distanceToWall","u^+","y^+","vtkValidPointMask","arc_length","Points:0","Points:1","Points:2"
1e+05,0.12476,-2.125e-07,0,0.043244,-0.00083283,0,0.0016251,944.64,0,1.5163e-07,-0.0016249,0,0.31581,1,298,1.5752e-05,1.1688,3.9638e-09,0.00013078,1.0228,1.0128,1,0,8,0,0
1e+05,0.12476,-2.125e-07,0,0.043244,-0.00083283,0,0.0016251,944.64,0,1.5163e-07,-0.0016249,0,0.31581,1,298,1.5752e-05,1.1688,3.9638e-09,0.00013078,1.0228,1.0128,1,0.0002469,8,0.0002469,0
1e+05,0.39532,-1.2181e-06,0,0.13703,-0.0047738,0,0.005054,892.34,0,8.8337e-07,-0.0050535,0,0.31581,1,298,1.5752e-05,1.1688,3.608e-07,0.00041849,3.2408,3.2408,1,0.0004938,8,0.0004938,0
......
......@@ -4469,7 +4469,7 @@
0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2
0.2 0.2
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
317.07 317.066 317.071 317.063 317.074 317.07 317.076 317.079 317.079 317.078 317.078 317.079
317.079 316.159 316.172 316.101 316.081 316.202 316.263 316.121 316.278 316.321 316.268 316.327
316.241 316.283 316.212 317.056 317.054 317.063 317.061 317.052 317.045 317.06 317.019 317.008
......
......@@ -4315,7 +4315,7 @@
0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2
0.2 0.2 0.2 0.2 0.2 0.2 0.2
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
317.071 317.073 317.076 317.082 317.083 317.082 316.165 316.222 316.172 316.299 316.281 316.252
317.051 317.041 317.049 316.999 316.993 317.007 316.901 316.883 316.882 316.924 316.914 316.897
315.255 315.188 315.228 315.379 315.422 315.405 315.667 315.662 315.718 315.766 315.731 315.787
......
......@@ -257,7 +257,7 @@ public:
vtk.addVolumeVariable([](const VolumeVariables& v){ return v.enthalpy(CO2Idx); }, "enthalpyN");
#else
vtkTemperature_.resize(numDofs, 0.0);
vtk.addField(vtkTemperature_, "temperature");
vtk.addField(vtkTemperature_, "T");
#endif
const auto& gridView = this->fvGridGeometry().gridView();
......
......@@ -394,7 +394,7 @@
0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531
0.00108531 0.00108531 0.00108531 0.00108531 0.00108531 0.00108531
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
300 299.407 300 299.407 298.817 298.817 298.235 298.235 297.665 297.665 297.108 297.108
296.569 296.569 296.049 296.049 295.552 295.552 295.078 295.078 294.63 294.63 294.208 294.208
293.812 293.812 293.443 293.443 293.101 293.101 292.784 292.784 292.493 292.493 292.227 292.227
......
......@@ -174,7 +174,7 @@
0.00108528 0.00108528 0.00108528 0.00108528 0.00108528 0.00108528 0.00108528 0.00108528 0.00108528 0.00108528 0.00108528 0.00108528
0.00108528 0.00108528 0.00108528 0.00108528 0.00108531 0.00108531
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
291 291 291 291 291 291 291 291 290.999 290.999 290.998 290.998
290.994 290.994 290.987 290.987 290.975 290.975 290.955 290.955 290.926 290.926 290.886 290.886
290.835 290.835 290.774 290.774 290.705 290.705 290.63 290.63 290.551 290.551 290.473 290.473
......
......@@ -226,7 +226,7 @@
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
299.703 299.111 298.524 297.947 297.382 296.834 296.304 295.795 295.309 294.848 294.412 294.003
293.621 293.265 292.936 292.633 292.354 292.1 291.868 291.658 291.468 291.297 291.143 291.006
290.883 290.774 290.677 290.591 290.515 290.449 290.39 290.338 290.293 290.254 290.219 290.189
......
......@@ -106,7 +106,7 @@
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
291 291 291 291 290.999 290.996 290.991 290.981 290.965 290.94 290.906 290.86
290.805 290.74 290.667 290.59 290.512 290.436 290.363 290.297 290.239 290.188 290.145 290.111
290.083 290.061 290.044 290.032 290.023 290.016 290.011 290.008 290.006 290.004 290.003 290.002
......
......@@ -174,7 +174,7 @@
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
299.703 299.111 298.524 297.947 297.382 296.834 296.304 295.795 295.309 294.848 294.412 294.003
293.621 293.265 292.936 292.633 292.354 292.1 291.868 291.658 291.468 291.297 291.143 291.006
290.883 290.774 290.677 290.591 290.515 290.449 290.39 290.338 290.293 290.254 290.219 290.189
......
......@@ -84,7 +84,7 @@
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
291 291 291 291 290.999 290.996 290.991 290.981 290.965 290.94 290.906 290.86
290.805 290.74 290.667 290.59 290.512 290.436 290.363 290.297 290.239 290.188 290.145 290.111
290.083 290.061 290.044 290.032 290.023 290.016 290.011 290.008 290.006 290.004 290.003 290.002
......
......@@ -142,7 +142,7 @@
8.96175e-11 0 0 8.96175e-11 0 0 8.96175e-11 2.01369e-18 0 8.96175e-11 2.01369e-18 0
8.96175e-11 0 0 8.96175e-11 0 0
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
300 299.409 300 299.409 298.822 298.822 298.242 298.242 297.673 297.673 297.118 297.118
296.58 296.58 296.061 296.061 295.565 295.565 295.092 295.092 294.644 294.644 294.221 294.221
293.826 293.826 293.456 293.456 293.114 293.114 292.797 292.797 292.506 292.506 292.239 292.239
......
......@@ -62,7 +62,7 @@
9.99933e-05 -1.67809e-18 0 9.99933e-05 -1.67809e-18 0 9.99933e-05 -1.34253e-18 0 9.99933e-05 -1.34253e-18 0
9.99933e-05 0 0 9.99933e-05 0 0
</DataArray>
<DataArray type="Float32" Name="temperature" NumberOfComponents="1" format="ascii">
<DataArray type="Float32" Name="T" NumberOfComponents="1" format="ascii">
291 291 291 291 290.999 290.999 291 291 291.002 291.002 291.001 291.001
290.998 290.998 290.996 290.996 291 291 291.01 291.01 291.018 291.018 291.011 291.011
290.977 290.977 290.91 290.91 290.813 290.813 290.695 290.695 290.569 290.569 290.446 290.446
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment