Skip to content

Commit

Permalink
[T] M/SD; Cleanup almost duplicate axisymm. sphere
Browse files Browse the repository at this point in the history
Almost the same test in the PressureBC/ with different forces applied.
Move everything to PressureBC.
Vectorize sigma in reference result.
  • Loading branch information
endJunction committed Nov 6, 2018
1 parent 5fa20e2 commit 5cc9614
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 187 deletions.
8 changes: 4 additions & 4 deletions ProcessLib/SmallDeformation/Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -264,14 +264,14 @@ AddTest(
# Pressure boundary condition: elastic sphere axisymmetric
AddTest(
NAME SmallDeformation_PressureBC_elastic_sphere_axisymmetric
PATH Mechanics/Linear
PATH Mechanics/Linear/PressureBC
EXECUTABLE ogs
EXECUTABLE_ARGS axisymmetric_sphere.prj
TESTER vtkdiff
REQUIREMENTS OGS_USE_LIS
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
ref_axisymmteric_sphere_pcs_0_ts_1_t_1.000000.vtu axisymmteric_sphere_pcs_0_ts_1_t_1.000000.vtu displacement displacement 1e-15 0
ref_axisymmteric_sphere_pcs_0_ts_1_t_1.000000.vtu axisymmteric_sphere_pcs_0_ts_1_t_1.000000.vtu sigma sigma 1e-15 0
axisymmetric_sphere_pcs_0_ts_1_t_1.000000.vtu axisymmetric_sphere_pcs_0_ts_1_t_1.000000.vtu displacement displacement 1e-15 0
axisymmetric_sphere_pcs_0_ts_1_t_1.000000.vtu axisymmetric_sphere_pcs_0_ts_1_t_1.000000.vtu sigma sigma 2e-8 0
)

# Pressure boundary condition: plastic sphere axisymmetric
Expand Down
10 changes: 5 additions & 5 deletions Tests/Data/Mechanics/Linear/PressureBC/axisymmetric_sphere.prj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
<mesh axially_symmetric="true">axisymmetric_sphere.vtu</mesh>
<mesh axially_symmetric="true">axisymmetric_sphere.vtu</mesh>
<geometry>axisymmetric_sphere.gml</geometry>
<processes>
<process>
Expand Down Expand Up @@ -68,12 +68,12 @@
<parameter>
<name>E</name>
<type>Constant</type>
<value>2.1e5</value>
<value>125e9</value>
</parameter>
<parameter>
<name>nu</name>
<type>Constant</type>
<value>.3</value>
<value>.35</value>
</parameter>
<parameter>
<name>rho_sr</name>
Expand All @@ -93,12 +93,12 @@
<parameter>
<name>pressure_inside</name>
<type>Constant</type>
<value>52.2</value>
<value>1e3</value>
</parameter>
<parameter>
<name>pressure_outside</name>
<type>Constant</type>
<value>0.1</value>
<value>1e5</value>
</parameter>
</parameters>
<process_variables>
Expand Down
Git LFS file not shown
Git LFS file not shown
3 changes: 0 additions & 3 deletions Tests/Data/Mechanics/Linear/axisymmetric_sphere.gml

This file was deleted.

167 changes: 0 additions & 167 deletions Tests/Data/Mechanics/Linear/axisymmetric_sphere.prj

This file was deleted.

3 changes: 0 additions & 3 deletions Tests/Data/Mechanics/Linear/axisymmetric_sphere.vtu

This file was deleted.

This file was deleted.

0 comments on commit 5cc9614

Please sign in to comment.