From 7aa71af5b545fcee5bdbf62f9f03dfbda6f14b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Buchwald?= <joerg.buchwald@ufz.de> Date: Mon, 17 Oct 2022 21:58:42 +0200 Subject: [PATCH] [T/TRM] removing body force from displacement test --- .../ThermoRichardsMechanics/Tests.cmake | 17 + ..._force_for_deformation_ts_0_t_0.000000.vtu | 48 +++ .../BodyForce/square.prj | 349 ++++++++++++++++++ .../BodyForce/square_1x1.gml | 29 ++ .../BodyForce/square_1x1_quad8_1e2.vtu | 33 ++ 5 files changed, 476 insertions(+) create mode 100644 Tests/Data/ThermoRichardsMechanics/BodyForce/expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu create mode 100644 Tests/Data/ThermoRichardsMechanics/BodyForce/square.prj create mode 100644 Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1.gml create mode 100644 Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1_quad8_1e2.vtu diff --git a/ProcessLib/ThermoRichardsMechanics/Tests.cmake b/ProcessLib/ThermoRichardsMechanics/Tests.cmake index 07c6a62321b..4b972582d32 100644 --- a/ProcessLib/ThermoRichardsMechanics/Tests.cmake +++ b/ProcessLib/ThermoRichardsMechanics/Tests.cmake @@ -278,3 +278,20 @@ AddTest( expected_Column_ts_68_t_7200000.000000.vtu Column_ts_68_t_7200000.000000.vtu epsilon epsilon 1e-5 1e-5 expected_Column_ts_68_t_7200000.000000.vtu Column_ts_68_t_7200000.000000.vtu sigma sigma 1e-5 1e-5 ) +# ThermoRichardsMechanics; test for removing body force from displacement equation +AddTest( + NAME ThermoRichardsMechanics_dont_apply_body_force_for_deformation + PATH ThermoRichardsMechanics/BodyForce + RUNTIME 1 + EXECUTABLE ogs + EXECUTABLE_ARGS square.prj + WRAPPER time + TESTER vtkdiff + REQUIREMENTS NOT OGS_USE_MPI + DIFF_DATA + expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu dont_apply_body_force_for_deformation_ts_10_t_864000.000000.vtu displacement displacement 1e-10 1e-10 + expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu dont_apply_body_force_for_deformation_ts_10_t_864000.000000.vtu pressure pressure 5e-2 1e-8 + expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu dont_apply_body_force_for_deformation_ts_10_t_864000.000000.vtu temperature temperature 1e-10 1e-10 + expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu dont_apply_body_force_for_deformation_ts_10_t_864000.000000.vtu epsilon epsilon 1e-10 1e-10 + expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu dont_apply_body_force_for_deformation_ts_10_t_864000.000000.vtu sigma sigma 5e-2 1e-8 +) diff --git a/Tests/Data/ThermoRichardsMechanics/BodyForce/expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu b/Tests/Data/ThermoRichardsMechanics/BodyForce/expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu new file mode 100644 index 00000000000..74610fac729 --- /dev/null +++ b/Tests/Data/ThermoRichardsMechanics/BodyForce/expected_dont_apply_body_force_for_deformation_ts_0_t_0.000000.vtu @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<VTKFile type="UnstructuredGrid" version="1.0" byte_order="LittleEndian" header_type="UInt64" compressor="vtkZLibDataCompressor"> + <UnstructuredGrid> + <FieldData> + <DataArray type="Int8" Name="IntegrationPointMetaData" NumberOfTuples="465" format="appended" RangeMin="34" RangeMax="125" offset="0" /> + <DataArray type="Int8" Name="OGS_VERSION" NumberOfTuples="27" format="appended" RangeMin="45" RangeMax="121" offset="232" /> + <DataArray type="Float64" Name="epsilon_ip" NumberOfComponents="4" NumberOfTuples="900" format="appended" RangeMin="0" RangeMax="0" offset="324" /> + <DataArray type="Float64" Name="porosity_ip" NumberOfTuples="900" format="appended" RangeMin="0.13" RangeMax="0.13" offset="436" /> + <DataArray type="Float64" Name="saturation_ip" NumberOfTuples="900" format="appended" RangeMin="1" RangeMax="1" offset="544" /> + <DataArray type="Float64" Name="sigma_ip" NumberOfComponents="4" NumberOfTuples="900" format="appended" RangeMin="4743582.8085" RangeMax="4758015.9156" offset="644" /> + <DataArray type="Float64" Name="swelling_stress_ip" NumberOfComponents="4" NumberOfTuples="900" format="appended" RangeMin="0" RangeMax="0" offset="1388" /> + <DataArray type="Float64" Name="transport_porosity_ip" NumberOfTuples="900" format="appended" RangeMin="0.13" RangeMax="0.13" offset="1500" /> + </FieldData> + <Piece NumberOfPoints="341" NumberOfCells="100" > + <PointData> + <DataArray type="Float64" Name="HeatFlowRate" format="appended" RangeMin="0" RangeMax="0" offset="1608" /> + <DataArray type="Float64" Name="MassFlowRate" format="appended" RangeMin="0" RangeMax="0" offset="1688" /> + <DataArray type="Float64" Name="NodalForces" NumberOfComponents="2" format="appended" RangeMin="0" RangeMax="0" offset="1768" /> + <DataArray type="Float64" Name="displacement" NumberOfComponents="2" format="appended" RangeMin="0" RangeMax="0" offset="1852" /> + <DataArray type="Float64" Name="epsilon" NumberOfComponents="4" format="appended" RangeMin="0" RangeMax="0" offset="1936" /> + <DataArray type="Float64" Name="pressure" format="appended" RangeMin="0" RangeMax="2000000" offset="2024" /> + <DataArray type="Float64" Name="pressure_interpolated" format="appended" RangeMin="1990000" RangeMax="2000000" offset="2168" /> + <DataArray type="Float64" Name="saturation" format="appended" RangeMin="1" RangeMax="1" offset="2416" /> + <DataArray type="Float64" Name="sigma" NumberOfComponents="4" format="appended" RangeMin="4743416.4903" RangeMax="4758182.4261" offset="2584" /> + <DataArray type="Float64" Name="temperature" format="appended" RangeMin="0" RangeMax="288.15" offset="3800" /> + <DataArray type="Float64" Name="temperature_interpolated" format="appended" RangeMin="288.15" RangeMax="288.15" offset="3892" /> + </PointData> + <CellData> + <DataArray type="Float64" Name="liquid_density_avg" format="appended" RangeMin="999.97851095" RangeMax="999.98269323" offset="3984" /> + <DataArray type="Float64" Name="porosity_avg" format="appended" RangeMin="0.13" RangeMax="0.13" offset="4144" /> + <DataArray type="Float64" Name="saturation_avg" format="appended" RangeMin="1" RangeMax="1" offset="4220" /> + <DataArray type="Float64" Name="stress_avg" NumberOfComponents="4" format="appended" RangeMin="4744154.3767" RangeMax="4757443.7201" offset="4292" /> + <DataArray type="Float64" Name="viscosity_avg" format="appended" RangeMin="0.001" RangeMax="0.001" offset="4556" /> + </CellData> + <Points> + <DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="1.4142135624" offset="4632" /> + </Points> + <Cells> + <DataArray type="Int64" Name="connectivity" format="appended" RangeMin="" RangeMax="" offset="6088" /> + <DataArray type="Int64" Name="offsets" format="appended" RangeMin="" RangeMax="" offset="7828" /> + <DataArray type="UInt8" Name="types" format="appended" RangeMin="" RangeMax="" offset="8096" /> + </Cells> + </Piece> + </UnstructuredGrid> + <AppendedData encoding="base64"> + _AQAAAAAAAAAAgAAAAAAAANEBAAAAAAAAiwAAAAAAAAA=eF6t0LEKwlAMBdB/ydxF7NRfEQlRYwn0JY8kRYr0332Di0s71PHeC2e4bxBNHp1STLFaS0jutAQMl/fPaP5gh+HcgVJhGCBkLIRSoTVzubGjPfFupZqyZgP6tdsjKOfvtuGcdp1qbiG5HFPSSaNRif/x4sXTJDpipHPEsau4hkzbP/Xrdf0A+2CrFQ==AQAAAAAAAAAAgAAAAAAAABsAAAAAAAAAIwAAAAAAAAA=eF4z0zPRM9A1tjAz1k1PTUo1sTAxTDTTS8ksKqkEAFqFB3o=AQAAAAAAAAAAgAAAAAAAAIBwAAAAAAAAMwAAAAAAAAA=eF7twTEBAAAAwqD1T20ND6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAdwNwgAABAQAAAAAAAAAAgAAAAAAAACAcAAAAAAAALwAAAAAAAAA=eF7txTENADAIALAfTwuW8ARC5gI787G0T6dObN8c27Zt27Zt27Zt29//ADz+dhQ=AQAAAAAAAAAAgAAAAAAAACAcAAAAAAAAKAAAAAAAAAA=eF7txTENAAAIA7A5w78bJCzYIO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w7evtfjvRgs+dOL+PTjt6ezym6t+dOL1ulHb29mFN1b8/daG6ddvT2ck7Tvb3R1N02aUdvr+R03dvTmV62y21Tb2/kjN2/1r87vWyfdvT2Vs7cvT13etkh7ejtnZy1e3vu9LJj2tGbh/rsac+dXnZKO3qbvLs5PfjTnV52Tjt6mzLnTnvu9LJL2tHb1DnvYM+dXj6QdvQ2bc4/2HOnlw+mHb1NnwsO9tzp7kNpR28z5MKDPZ3pZbfcNfU2Sy6aM41MeqeX3dOO3mbLxQd77vSyR9rR2xy5xGDPnV72TDt6myvHDfbc6eXDaUdv8+TSgz13etkr7ehtvlx2sOdOLx9JO3pbIJcf7LnTy4S0o7eFcsXBnju97J0TUm+L5MqDPXe62yft6G1MrjrY05le9s2Ppt7G5hq52Mikd3r5WNrR25K51mDPnV4+nnb0tlSuM9hzp5f90o7elsn1Bnvu9LJ/2tHbcrnBYM+dXg5IO3pbIUcHe+70cmDa0dtKufFgz92E/ETa0dsquelgz93eeVDa0dtquflgz53uDk47els9txzs6Uwvn8xDUm9r59a55sikd3r5VNrR27q5zWDPnV4+nXb0tn5uO9hzp5fPpB29bZjbDfbc6eWzaUdvG+X2gz13ejk07ehtk9xhsOdOL4elHb1tljsO9tzp5XNpR29b5E6DPXd6OTzt6G187jzYc6e7I9KO3rbKXQZ77wEQhC2+AQAAAAAAAAAAgAAAAAAAACADAAAAAAAApgAAAAAAAAA=eF4txRFghAAAAMC2SRiGYRg+huFjGIZhGIZh+BiGYRiGYfgYhoPu5MLgETl24tSZX85d+O3SlWs3bt259+DRH0+evXj15t2HT399+Xbw8xQ6cuzEqTO/nLvw26Ur127cunPvwaM/njx78erNuw+f/vry7eD3KXTk2IlTZ345d+G3S1eu3bh1596DR388efbi1Zt3Hz799eXbwd9T6MixE/8DLbMvQA==AQAAAAAAAAAAgAAAAAAAAGQAAAAAAAAADAAAAAAAAAA=eF4TF6c9AADGKQj9 + </AppendedData> +</VTKFile> diff --git a/Tests/Data/ThermoRichardsMechanics/BodyForce/square.prj b/Tests/Data/ThermoRichardsMechanics/BodyForce/square.prj new file mode 100644 index 00000000000..09b4c1c342e --- /dev/null +++ b/Tests/Data/ThermoRichardsMechanics/BodyForce/square.prj @@ -0,0 +1,349 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<OpenGeoSysProject> + <geometry>square_1x1.gml</geometry> + <mesh>square_1x1_quad8_1e2.vtu</mesh> + <processes> + <process> + <name>BodyForceTest</name> + <type>THERMO_RICHARDS_MECHANICS</type> + <mass_lumping>false</mass_lumping> + <integration_order>3</integration_order> + <constitutive_relation id="0"> + <type>LinearElasticIsotropic</type> + <youngs_modulus>YoungsModulusClay</youngs_modulus> + <poissons_ratio>PoissonsRatioClay</poissons_ratio> + </constitutive_relation> + <process_variables> + <temperature>temperature</temperature> + <pressure>pressure</pressure> + <displacement>displacement</displacement> + </process_variables> + <secondary_variables> + <secondary_variable internal_name="saturation" output_name="saturation"/> + <secondary_variable internal_name="sigma" output_name="sigma"/> + <secondary_variable internal_name="epsilon" output_name="epsilon"/> + </secondary_variables> + <specific_body_force>0 -9.81</specific_body_force> + <apply_body_force_for_deformation>false</apply_body_force_for_deformation><!-- default is true //--> + <initial_stress>Initial_stress</initial_stress> + </process> + </processes> + <media> + <medium id="0"> + <phases> + <phase> + <type>AqueousLiquid</type> + <properties> + <property> + <name>bulk_modulus</name> + <type>Constant</type> + <value>2.15e9</value> + </property> + <property> + <name>specific_heat_capacity</name> + <type>Constant</type> + <value>4181.3</value> + </property> + <property> + <name>density</name> + <type>Linear</type> + <reference_value>999.1</reference_value> + <independent_variable> + <variable_name>phase_pressure</variable_name> + <reference_condition>1.0e5</reference_condition> + <slope>4.6511627906976743e-10</slope> + </independent_variable> + </property> + <property> + <name>viscosity</name> + <type>Constant</type> + <value>0.001</value> + </property> + <property> + <name>thermal_expansivity</name> + <type>Constant</type> + <value>4e-4</value> + </property> + </properties> + </phase> + <phase> + <type>Solid</type> + <properties> + <property> + <name>specific_heat_capacity</name> + <type>Constant</type> + <value>995</value> + </property> + <property> + <name>thermal_expansivity</name> + <type>Constant</type> + <value>1.5e-5</value> + </property> + <property> + <name>density</name> + <type>Constant</type> + <value>2689.65517241379</value> + </property> + </properties> + </phase> + </phases> + <properties> + <property> + <name>thermal_conductivity</name> + <type>Constant</type> + <value>1.5</value> + </property> + <property> + <name>porosity</name> + <type>Constant</type> + <value>0.13</value> + </property> + <property> + <name>biot_coefficient</name> + <type>Constant</type> + <value>1</value> + </property> + <property> + <name>permeability</name> + <type>Parameter</type> + <parameter_name>IntrinsicPermClay</parameter_name> + </property> + <property> + <name>relative_permeability</name> + <type>RelativePermeabilityVanGenuchten</type> + <residual_liquid_saturation>0 + </residual_liquid_saturation> + <residual_gas_saturation>0 + </residual_gas_saturation> + <exponent>0.6</exponent> + <minimum_relative_permeability_liquid>1e-6 + </minimum_relative_permeability_liquid> + </property> + <property> + <name>saturation</name> + <type>SaturationVanGenuchten</type> + <residual_liquid_saturation>0.0 + </residual_liquid_saturation> + <residual_gas_saturation>0 + </residual_gas_saturation> + <exponent>0.6</exponent> + <p_b>20000000</p_b> + </property> + <property> + <name>bishops_effective_stress</name> + <type>BishopsSaturationCutoff</type> + <cutoff_value>1.0</cutoff_value> + </property> + </properties> + </medium> + </media> + <time_loop> + <processes> + <process ref="BodyForceTest"> + <nonlinear_solver>basic_newton</nonlinear_solver> + <convergence_criterion> + <type>DeltaX</type> + <norm_type>NORM2</norm_type> + <reltol>1e-12</reltol> + </convergence_criterion> + <time_discretization> + <type>BackwardEuler</type> + </time_discretization> + <time_stepping> + <type>FixedTimeStepping</type> + <t_initial>0</t_initial> + <t_end>864000</t_end> + <timesteps> + <pair> + <repeat>1826</repeat> + <delta_t>86400</delta_t> + </pair> + <pair> + <repeat> 1</repeat> + <delta_t>21600</delta_t> + </pair> + </timesteps> + </time_stepping> + </process> + </processes> + <output> + <type>VTK</type> + <prefix>dont_apply_body_force_for_deformation</prefix> + <suffix>_ts_{:timestep}_t_{:time}</suffix> + <timesteps> + <pair> + <repeat>1000</repeat> + <each_steps>10</each_steps> + </pair> + </timesteps> + <variables> + <variable>temperature</variable> + <variable>displacement</variable> + <variable>pressure</variable> + <variable>sigma</variable> + <variable>epsilon</variable> + <variable>saturation</variable> + </variables> + </output> + </time_loop> + <local_coordinate_system> + <basis_vector_0>b0</basis_vector_0> + <basis_vector_1>b1</basis_vector_1> + </local_coordinate_system> + <parameters> + <parameter> + <name>b0</name> + <type>Constant</type> + <values> 0.829037572555042 0.559192903470747</values> + </parameter> + <parameter> + <name>b1</name> + <type>Constant</type> + <values>-0.559192903470747 0.829037572555042</values> + </parameter> + <parameter> + <name>ThermalConductivityClay</name> + <type>Constant</type> + <values>2.75862068965517 0 0 1.49425287356322</values> + <use_local_coordinate_system>true + </use_local_coordinate_system> + </parameter> + <parameter> + <name>IntrinsicPermClay</name> + <type>Constant</type> + <values>1e-20 0 0 1e-20</values> + <use_local_coordinate_system>false</use_local_coordinate_system> + </parameter> + <parameter> + <name>YoungsModulusClay</name> + <type>Constant</type> + <value>8e9</value> + </parameter> + <parameter> + <name>PoissonsRatioClay</name> + <type>Constant</type> + <value>0.35</value> + </parameter> + <parameter> + <mesh>square_1x1_quad8_1e2</mesh> + <name>Initial_stress</name> + <type>Function</type> + <expression>-2.5e6+-1.0e4*y</expression><!-- apply_body_force_for_deformation=false //--> + <expression>-0.5e6+-1.0e4*y</expression><!-- allows for constant total stress //--> + <expression>-4.0e6+-1.0e4*y</expression><!-- despite nonzero body force //--> + <expression>0.0</expression> + </parameter> + <parameter> + <name>displacement_ic</name> + <type>Constant</type> + <values>0 0</values> + </parameter> + <parameter> + <name>pressure_ic</name> + <type>Function</type> + <expression>2.e6+-1.0e4*y</expression> + </parameter> + <parameter> + <name>pressure_high</name> + <type>Constant</type> + <value>2.0e6</value> + </parameter> + <parameter> + <name>pressure_low</name> + <type>Constant</type> + <value>1.99e6</value> + </parameter> + <parameter> + <name>temperature_ic</name> + <type>Constant</type> + <values>288.15</values> + </parameter> + <parameter> + <name>dirichlet</name> + <type>Constant</type> + <values>0</values> + </parameter> + </parameters> + <process_variables> + <process_variable> + <name>displacement</name> + <components>2</components> + <order>2</order> + <initial_condition>displacement_ic</initial_condition> + <boundary_conditions> + <boundary_condition> + <geometrical_set>square_1x1_geometry</geometrical_set> + <geometry>top</geometry> + <type>Dirichlet</type> + <component>1</component> + <parameter>dirichlet</parameter> + </boundary_condition> + <boundary_condition> + <geometrical_set>square_1x1_geometry</geometrical_set> + <geometry>bottom</geometry> + <type>Dirichlet</type> + <component>1</component> + <parameter>dirichlet</parameter> + </boundary_condition> + <boundary_condition> + <geometrical_set>square_1x1_geometry</geometrical_set> + <geometry>left</geometry> + <type>Dirichlet</type> + <component>0</component> + <parameter>dirichlet</parameter> + </boundary_condition> + <boundary_condition> + <geometrical_set>square_1x1_geometry</geometrical_set> + <geometry>right</geometry> + <type>Dirichlet</type> + <component>0</component> + <parameter>dirichlet</parameter> + </boundary_condition> + </boundary_conditions> + </process_variable> + <process_variable> + <name>pressure</name> + <components>1</components> + <order>1</order> + <initial_condition>pressure_ic</initial_condition> + <boundary_conditions> + <boundary_condition> + <geometrical_set>square_1x1_geometry</geometrical_set> + <geometry>top</geometry> + <type>Dirichlet</type> + <parameter>pressure_low</parameter> + </boundary_condition> + <boundary_condition> + <geometrical_set>square_1x1_geometry</geometrical_set> + <geometry>bottom</geometry> + <type>Dirichlet</type> + <parameter>pressure_high</parameter> + </boundary_condition> + </boundary_conditions> + </process_variable> + <process_variable> + <name>temperature</name> + <components>1</components> + <order>1</order> + <initial_condition>temperature_ic</initial_condition> + <boundary_conditions> + </boundary_conditions> + </process_variable> + </process_variables> + <nonlinear_solvers> + <nonlinear_solver> + <name>basic_newton</name> + <type>Newton</type> + <max_iter>100</max_iter> + <linear_solver>linear_solver</linear_solver> + </nonlinear_solver> + </nonlinear_solvers> + <linear_solvers> + <linear_solver> + <name>linear_solver</name> + <eigen> + <solver_type>SparseLU</solver_type> + </eigen> + </linear_solver> + </linear_solvers> +</OpenGeoSysProject> diff --git a/Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1.gml b/Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1.gml new file mode 100644 index 00000000000..fe082f12d74 --- /dev/null +++ b/Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1.gml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<?xml-stylesheet type="text/xsl" href="OpenGeoSysGLI.xsl"?> +<OpenGeoSysGLI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ogs="http://www.opengeosys.org"> + <name>square_1x1_geometry</name> + <points> + <point id="0" x="0" y="0" z="0" name="origin"/> + <point id="1" x="0" y="1" z="0"/> + <point id="2" x="1" y="0" z="0"/> + <point id="3" x="1" y="1" z="0"/> + </points> + <polylines> + <polyline id="0" name="left"> + <pnt>0</pnt> + <pnt>1</pnt> + </polyline> + <polyline id="1" name="right"> + <pnt>2</pnt> + <pnt>3</pnt> + </polyline> + <polyline id="2" name="bottom"> + <pnt>0</pnt> + <pnt>2</pnt> + </polyline> + <polyline id="3" name="top"> + <pnt>1</pnt> + <pnt>3</pnt> + </polyline> + </polylines> +</OpenGeoSysGLI> diff --git a/Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1_quad8_1e2.vtu b/Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1_quad8_1e2.vtu new file mode 100644 index 00000000000..32a0c26bd0d --- /dev/null +++ b/Tests/Data/ThermoRichardsMechanics/BodyForce/square_1x1_quad8_1e2.vtu @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="vtkZLibDataCompressor"> + <UnstructuredGrid> + <Piece NumberOfPoints="341" NumberOfCells="100"> + <PointData> + </PointData> + <CellData> + </CellData> + <Points> + <DataArray type="Float64" Name="Points" NumberOfComponents="3" format="binary" RangeMin="0" RangeMax="1.4142135624"> + AQAAAACAAAD4H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7ZYr+I+RV35uN7tkvcvf0u/Iq73+9d+KWX92eE/e6xT8X8irv3fwZ9ztjX8v6soEO979rn4foS33ftg/l6dAv8Jnx837Vvxnx837Wfxnx837XPxnx837X/5ve7C7/i5PU8gv8z6HMKH+s49mcFHW6xr4XvyUfcU9+P+dfYYj+Q+RX31CdkfsU99Q+ZX3FPfUXmV9xTv9Hvd499SK/nEfuTXp8z9i29PyvoUHndkvgyfo1N8IoX45h3cZ/wTXB8h3jdPfh5BH9Owf8Dtpa8yQ== + </DataArray> + </Points> + <Cells> + <DataArray type="Int64" Name="connectivity" format="binary" RangeMin="0" RangeMax="340"> + AQAAAACAAAAAGQAAuwQAAA==eJxdl0XUkFUYBvno7s6f7u7+aUFsVGxssRW7JezuFluxMcDG7ha7G7u7Fj6z+OZuZvXMas57zq1S5f9XhPXDeuHB4WHhKeEh2lUNG8hzaHhEeJp87KqFDeU5PDwqPEM+dtXDRvIcGS4Mz5KPXY2wsTxHh4vDc+RjVzNsIs+i8JjwPPnY1QqbyrMkPC68QD52tcNm8hwbnhBeJB+7OmFzeY4PTwovkY9d3bCFPCeGJ4dL5aMzemkVtgzp7fTwivBU7eiltTz0dmZ4lXzs6KWNPPR2dniNfOzopa089HZueJ187OilnTz0dn54vXzs6KW9PPR2YXijfOzopYM89HZxeLN87Oilozz0dml4q3zs6KWTPPR2WXibfOzorkKepeHl4R3y0Rm9dAk7h/R2dbgyvFI7eukqD71dG94tHzt66SYPvS0L75WPHb10l4febgjvl48dvfSQh95uClfJx45eespDb7eED8nHjl56yUNvy8NH5GNHL73lobfbw8fkY0cvfeShtzvDJ+RjVxH2lYfeVoRPyUdn9NI/7BfS2z3hs+Fd2tHLAHno7b7wefnY0ctAeejtgfBF+djRyyB56O3B8GX52NHLYHlWhQ+Hq+VjRy9D5KG3R8PX5GNHL0PlobfHwzfkY0cvw+ShtyfDt+RjRy/D5aG3p8N35GNHdyPkobdnwvfkozN6GRWODOnthfDD8Dnt6GW0PPT2UvixfOzoZYw89PZK+Kl87OhlrDz09mr4uXzs6GWcPPT2eviFfOzoZbw89PZm+JV87Ohlgjz09nb4jXzs6GWiPPT2bvidfOzopVIeens//EE+dnQ3SR56+yD8ST46o5cp4eSQ3j4Jfw0/0o5epspDb5+Fv8vHjl6myUNva8I/5WNHL9Plobcvw7/lY0cvM+Sht6/Df+VjRy9ryUNv34ZFUfaxo5eZ8tDb92G1ouxjRy+z5KG3H8MaRdnHrjJcWx56+zmsVZR97Ohutjz09ktYpyj76Ixe1g3XCentj7B+9r9pRy/ryUNvf4UNi7KPHb2sLw+9/RM2Lso+dvSygTz0xke9aVH2saOXDeWht6rZNefDX5R39LKRPPRWPWxZlH3s6GWOPPRWM2wtHzt62VgeeqsdtpWPHb1sIg+91Q3by8eO7jaVh97qhR3lozN62SycG9Jbo7Bz2KAo7+hlc3norUnYVT529LKFPPTWLOwuHzt62VIeemsR9pSPHb1sJQ+9tQp7y8eOXraWh97ahH3lY0cv28hDb+3C/vKxo5d58tBbh3CgfOzoZVt56K1TOFg+dnS3nTz0VhEOlY/O6GWHcPuQ3rqFI8IuRXlHLzvKQ289wlHysaOXneSht17hGPnY0cvO8tBbn3CcfOzoZRd56K1fOEE+dvQyXx56GxBWyseOXnaVh94GhZPlYzcv3E0eehsSTpWPHb3sLg+9DQuny8eO7vaQh96Gc+/lozN62SvcM6S30dzbcGRR3tHL3vLQ29hwtnzs6GUfeehtPPdaPnb0sq889DaRey0fO3pZIA+9TeJey8eOXvaTh96mcK/lY0cv+8tDb9O41/Kxo5cD5KG3Gdxr+djRy4Hy0NtM7rV87OjuIHnobRb3Wr7/ABCELb4= + </DataArray> + <DataArray type="Int64" Name="offsets" format="binary" RangeMin="8" RangeMax="800"> + AQAAAACAAAAgAwAApgAAAA==eJwtxRFghAAAAMC2SRiGYRg+huFjGIZhGIZh+BiGYRiGYfgYhoPu5MLgETl24tSZX85d+O3SlWs3bt259+DRH0+evXj15t2HT399+Xbw8xQ6cuzEqTO/nLvw26Ur127cunPvwaM/njx78erNuw+f/vry7eD3KXTk2IlTZ345d+G3S1eu3bh1596DR388efbi1Zt3Hz799eXbwd9T6MixE/8DLbMvQA== + </DataArray> + <DataArray type="UInt8" Name="types" format="binary" RangeMin="23" RangeMax="23"> + AQAAAACAAABkAAAADAAAAA==eJwTF6c9AADGKQj9 + </DataArray> + <DataArray type="Int64" Name="faces" format="binary" RangeMin="0" RangeMax="0"> + AQAAAACAAAAgAwAAEAAAAA==eJxjYBgFo2AU4AIAAyAAAQ== + </DataArray> + <DataArray type="Int64" Name="faceoffsets" format="binary" RangeMin="1" RangeMax="100"> + AQAAAACAAAAgAwAArwAAAA==eJwtxdciAgAAAEAjkYRskazskpUtFJGRUbYI//8NHrp7ueamhha3OuA2B93uDofc6bC7HHG3e9zrqPvc7wEPesjDHvGoYx7zuOOecMKTnvK0ZzzrpOc87wUvesnLXnHKaa864zWve8Ob3nLW297xrve87wMf+sg5H/vEp8674DOfu+gLX7rkK1/7xrcu+873fvCjK676yc9+8avf/O4Pf7rmL3+77h//+s//+ewTuw== + </DataArray> + </Cells> + </Piece> + </UnstructuredGrid> +</VTKFile> -- GitLab