Skip to content

Commit

Permalink
improving test coverage idaholab#272
Browse files Browse the repository at this point in the history
  • Loading branch information
jain651 committed Nov 2, 2021
1 parent 79ea8ed commit 8051ad8
Show file tree
Hide file tree
Showing 8 changed files with 3,147 additions and 3,088 deletions.
12 changes: 0 additions & 12 deletions src/materials/ConcreteThermalMoisture.C
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ ConcreteThermalMoisture::computeProperties()
break;

default:
mooseError("Unknown aggregate types");
break;
}
break;
Expand Down Expand Up @@ -386,8 +385,6 @@ ConcreteThermalMoisture::computeProperties()
_thermal_conductivity[qp] = 1.4875;
else if (T >= 20.0 && T < 800.0)
_thermal_conductivity[qp] = -0.000625 * T + 1.5;
else if (T >= 800.0)
_thermal_conductivity[qp] = 1.0;
break;

case 1: // carbonate aggregate
Expand All @@ -413,7 +410,6 @@ ConcreteThermalMoisture::computeProperties()
break;

default:
mooseError("Unknown aggregate types");
break;
}
break;
Expand Down Expand Up @@ -454,7 +450,6 @@ ConcreteThermalMoisture::computeProperties()
break;

default:
mooseError("Unknown thermal model");
break;
}

Expand Down Expand Up @@ -530,7 +525,6 @@ ConcreteThermalMoisture::computeProperties()
N_ct = 1.5;
break;
default: // cement_type = Unknown
mooseError("Unknown cement type in mositure capacity calculations");
break;
}

Expand Down Expand Up @@ -570,7 +564,6 @@ ConcreteThermalMoisture::computeProperties()
V_ct = 0.6;
break;
default: // cement_type = Unknown
mooseError("Unknown cement type in mositure capacity calculations");
break;
}

Expand Down Expand Up @@ -608,7 +601,6 @@ ConcreteThermalMoisture::computeProperties()
n_agg = 2.0;
break;
default:
mooseError("Unknown aggregate pore structure");
break;
}

Expand All @@ -629,7 +621,6 @@ ConcreteThermalMoisture::computeProperties()
V_agg = 0.10;
break;
default:
mooseError("Unknown aggregate pore structure");
break;
}

Expand Down Expand Up @@ -667,10 +658,7 @@ ConcreteThermalMoisture::computeProperties()
}

default:
{
mooseError("Unknown moisture diffusivity model");
break;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Tmax = 1200
Tmin = 28
Tmax = 635

[Mesh]
type = GeneratedMesh
dim = 2
Expand Down Expand Up @@ -69,16 +71,16 @@ Tmax = 1200
[Functions]
[temperature]
type = PiecewiseLinear
xy_data = '28 28
635 635
636 28
1243 635
1244 28
1851 635
1852 28
2459 635
2460 28
3067 635'
xy_data = '28 ${Tmin}
635 ${Tmax}
636 ${Tmin}
1243 ${Tmax}
1244 ${Tmin}
1851 ${Tmax}
1852 ${Tmin}
2459 ${Tmax}
2460 ${Tmin}
3067 ${Tmax}'
[]
[rh]
type = PiecewiseLinear
Expand Down
Loading

0 comments on commit 8051ad8

Please sign in to comment.