Skip to content
Snippets Groups Projects
Commit fd6770bd authored by Norbert Grunwald's avatar Norbert Grunwald
Browse files

[T/TH2M] Removed thermal conductivity from phase transition unit tests.

parent 78ba45cb
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,6 @@ TEST(ProcessLib, TH2MPhaseTransitionEvaporation)
auto const diffusion_coefficient_vapour = 2.6e-6;
auto const thermal_conductivity_air = 0.2;
auto const thermal_conductivity_water = 0.6;
auto const viscosity_air = 1.e-5;
auto const viscosity_water = 1.e-3;
......@@ -80,8 +78,6 @@ TEST(ProcessLib, TH2MPhaseTransitionEvaporation)
m << "<properties>\n";
m << Tests::makeConstantPropertyElement("viscosity", viscosity_air);
m << Tests::makeConstantPropertyElement("density", density_air);
m << Tests::makeConstantPropertyElement("thermal_conductivity",
thermal_conductivity_air);
m << "</properties>\n";
m << "</phase>\n";
......@@ -93,8 +89,6 @@ TEST(ProcessLib, TH2MPhaseTransitionEvaporation)
m << "<properties>\n";
m << Tests::makeConstantPropertyElement("viscosity", viscosity_water);
m << Tests::makeConstantPropertyElement("density", density_water);
m << Tests::makeConstantPropertyElement("thermal_conductivity",
thermal_conductivity_water);
m << Tests::makeConstantPropertyElement("specific_heat_capacity",
specific_heat_capacity_water);
m << "</properties>\n";
......@@ -149,9 +143,7 @@ TEST(ProcessLib, TH2MPhaseTransitionEvaporation)
double const uG = hG - pGR / density_air;
double const uL = hL;
double const muGR = viscosity_air;
double const lambdaGR = thermal_conductivity_air;
double const muLR = viscosity_water;
double const lambdaLR = thermal_conductivity_water;
ASSERT_NEAR(density_air, cv.rhoGR, 1.0e-10);
ASSERT_NEAR(density_water, cv.rhoLR, 1.0e-10);
......@@ -172,7 +164,5 @@ TEST(ProcessLib, TH2MPhaseTransitionEvaporation)
ASSERT_NEAR(diffusion_coefficient_vapour, cv.diffusion_coefficient_vapour,
1.0e-10);
ASSERT_NEAR(muGR, cv.muGR, 1.0e-10);
ASSERT_NEAR(lambdaGR, cv.lambdaGR, 1.0e-10);
ASSERT_NEAR(muLR, cv.muLR, 1.0e-10);
ASSERT_NEAR(lambdaLR, cv.lambdaLR, 1.0e-10);
}
......@@ -32,8 +32,6 @@ TEST(ProcessLib, TH2MPhaseTransitionNone)
auto const diffusion_coefficient_vapour = 0.0;
auto const thermal_conductivity_air = 0.2;
auto const thermal_conductivity_water = 0.6;
auto const viscosity_air = 1.e-5;
auto const viscosity_water = 1.e-3;
......@@ -48,8 +46,6 @@ TEST(ProcessLib, TH2MPhaseTransitionNone)
m << "<properties>\n";
m << Tests::makeConstantPropertyElement("viscosity", viscosity_air);
m << Tests::makeConstantPropertyElement("density", density_air);
m << Tests::makeConstantPropertyElement("thermal_conductivity",
thermal_conductivity_air);
m << Tests::makeConstantPropertyElement("specific_heat_capacity",
specific_heat_capacity_air);
m << Tests::makeConstantPropertyElement("molar_mass", molar_mass_air);
......@@ -65,8 +61,6 @@ TEST(ProcessLib, TH2MPhaseTransitionNone)
m << "<properties>\n";
m << Tests::makeConstantPropertyElement("viscosity", viscosity_water);
m << Tests::makeConstantPropertyElement("density", density_water);
m << Tests::makeConstantPropertyElement("thermal_conductivity",
thermal_conductivity_water);
m << Tests::makeConstantPropertyElement("specific_heat_capacity",
specific_heat_capacity_water);
m << "</properties>\n";
......@@ -119,9 +113,7 @@ TEST(ProcessLib, TH2MPhaseTransitionNone)
double const uG = hG - pGR / density_air;
double const uL = hL;
double const muGR = viscosity_air;
double const lambdaGR = thermal_conductivity_air;
double const muLR = viscosity_water;
double const lambdaLR = thermal_conductivity_water;
ASSERT_NEAR(density_air, cv.rhoGR, 1.0e-10);
ASSERT_NEAR(density_water, cv.rhoLR, 1.0e-10);
......@@ -144,7 +136,5 @@ TEST(ProcessLib, TH2MPhaseTransitionNone)
ASSERT_NEAR(diffusion_coefficient_vapour, cv.diffusion_coefficient_vapour,
1.0e-10);
ASSERT_NEAR(muGR, cv.muGR, 1.0e-10);
ASSERT_NEAR(lambdaGR, cv.lambdaGR, 1.0e-10);
ASSERT_NEAR(muLR, cv.muLR, 1.0e-10);
ASSERT_NEAR(lambdaLR, cv.lambdaLR, 1.0e-10);
}
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