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 a12da27
Show file tree
Hide file tree
Showing 8 changed files with 3,146 additions and 3,086 deletions.
10 changes: 0 additions & 10 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 @@ -413,7 +412,6 @@ ConcreteThermalMoisture::computeProperties()
break;

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

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

Expand Down Expand Up @@ -530,7 +527,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 +566,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 +603,6 @@ ConcreteThermalMoisture::computeProperties()
n_agg = 2.0;
break;
default:
mooseError("Unknown aggregate pore structure");
break;
}

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

Expand Down Expand Up @@ -667,10 +660,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 a12da27

Please sign in to comment.