Skip to content

Commit

Permalink
[T/TRM] Added ctest for cell-averaged stress
Browse files Browse the repository at this point in the history
Note: No reference data has been added, but existing data has been
renamed and used.
  • Loading branch information
chleh committed May 28, 2024
1 parent 83ea939 commit 18e6785
Show file tree
Hide file tree
Showing 21 changed files with 27 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
<variable>NodalForces</variable>
<variable>pressure_interpolated</variable>
<variable>saturation_avg</variable>
<variable>sigma_avg</variable>
</variables>
<suffix>_ts_{:timestep}_t_{:time}</suffix>
</output>
Expand Down Expand Up @@ -354,6 +355,12 @@
<absolute_tolerance>1e-8</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
<field>sigma_avg</field>
<absolute_tolerance>2.8e-12</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>RichardsFlow_2d_small_ts_.*.vtu</regex>
<field>epsilon</field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="2724" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="2788" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.37116239774" RangeMax="0.37116239774" offset="2864" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0" RangeMax="0" offset="2940" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0" RangeMax="0" offset="2940" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="3020" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75392" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75456" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.370119056" RangeMax="0.95" offset="75532" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="26.927710272" RangeMax="882.33307117" offset="75932" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="26.927710272" RangeMax="882.33307117" offset="75932" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="78984" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75980" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="76044" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.36527958308" RangeMax="0.94979723169" offset="76120" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="5.3979639061" RangeMax="679.33577683" offset="76536" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="5.3979639061" RangeMax="679.33577683" offset="76536" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="79632" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="76136" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="76200" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.29769080019" RangeMax="0.62977672082" offset="76276" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0.13873837932" RangeMax="135.9312842" offset="76588" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0.13873837932" RangeMax="135.9312842" offset="76588" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="79764" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75708" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75772" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.34825015959" RangeMax="0.94997120127" offset="75848" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="4.5539936988" RangeMax="734.83684114" offset="76232" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="4.5539936988" RangeMax="734.83684114" offset="76232" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="79300" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="76684" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="76748" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.2993620397" RangeMax="0.63504683156" offset="76824" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0.14376166452" RangeMax="136.18913915" offset="77160" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0.14376166452" RangeMax="136.18913915" offset="77160" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="80340" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75512" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75576" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.36726703994" RangeMax="0.94999968705" offset="75652" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="13.395372625" RangeMax="800.64448175" offset="76044" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="13.395372625" RangeMax="800.64448175" offset="76044" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="79096" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="77176" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="77240" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.30376757647" RangeMax="0.64829678481" offset="77316" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0.1376442936" RangeMax="137.60530976" offset="77680" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0.1376442936" RangeMax="137.60530976" offset="77680" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="80876" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75492" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75556" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.35432299817" RangeMax="0.94999995825" offset="75632" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="14.165778776" RangeMax="815.19348278" offset="76040" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="14.165778776" RangeMax="815.19348278" offset="76040" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="79108" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="77412" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="77476" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.3136966799" RangeMax="0.67496680755" offset="77552" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0.05750444578" RangeMax="143.95094316" offset="77920" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0.05750444578" RangeMax="143.95094316" offset="77920" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="81096" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75280" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75344" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.35576146526" RangeMax="0.94999999999" offset="75420" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="11.48782448" RangeMax="835.43491611" offset="75816" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="11.48782448" RangeMax="835.43491611" offset="75816" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="78868" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="77228" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="77292" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.33831365519" RangeMax="0.72704656573" offset="77368" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0.088480039377" RangeMax="168.62458098" offset="77724" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0.088480039377" RangeMax="168.62458098" offset="77724" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="80888" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75160" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75224" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.36713370976" RangeMax="0.95" offset="75300" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="20.824043994" RangeMax="855.98600706" offset="75684" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="20.824043994" RangeMax="855.98600706" offset="75684" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="78732" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="77184" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="77248" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.36688449277" RangeMax="0.77425673495" offset="77324" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0.12160563802" RangeMax="198.72934807" offset="77688" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0.12160563802" RangeMax="198.72934807" offset="77688" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="80860" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75500" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75564" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.35812247015" RangeMax="0.95" offset="75640" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="21.748341205" RangeMax="864.27964012" offset="76056" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="21.748341205" RangeMax="864.27964012" offset="76056" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="79124" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="77100" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="77164" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.36448867031" RangeMax="0.81710537713" offset="77240" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="0.12410710626" RangeMax="229.0455663" offset="77604" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="0.12410710626" RangeMax="229.0455663" offset="77604" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="80760" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<DataArray type="Int32" Name="MaterialIDs" format="appended" RangeMin="0" RangeMax="0" offset="75160" />
<DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.38" RangeMax="0.38" offset="75224" />
<DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="0.35485167754" RangeMax="0.95" offset="75300" />
<DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="23.098608117" RangeMax="870.28500247" offset="75708" />
<DataArray type="Float64" Name="sigma_avg" NumberOfComponents="4" format="appended" RangeMin="23.098608117" RangeMax="870.28500247" offset="75708" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="2.00039996" offset="78748" />
Expand Down
Loading

0 comments on commit 18e6785

Please sign in to comment.