File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
functional/Strength/TaylorImpact Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -86,13 +86,16 @@ def CRKSPH(dataBase,
86
86
if nsolid > 0 :
87
87
kwargs .update ({"damageRelieveRubble" : damageRelieveRubble })
88
88
89
- if GeometryRegistrar .coords () == CoordinateType .RZ :
90
- kwargs .update ({"etaMinAxis" : etaMinAxis })
91
-
92
89
# Build the thing.
93
90
result = constructor (** kwargs )
94
91
result .Q = Q
95
92
result ._smoothingScaleMethod = smoothingScaleMethod
93
+
94
+ # If we're using area-weighted RZ, we need to reflect from the axis
95
+ if GeometryRegistrar .coords () == CoordinateType .RZ :
96
+ result .zaxisBC = AxisBoundaryRZ (etaMinAxis )
97
+ result .appendBoundary (result .zaxisBC )
98
+
96
99
return result
97
100
98
101
#-------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 47
47
48
48
from Spheral import *
49
49
from SpheralTestUtilities import *
50
- from SpheralGnuPlotUtilities import *
51
- from SpheralController import *
52
50
53
51
#-------------------------------------------------------------------------------
54
52
# Identify ourselves!
84
82
fsisph = False ,
85
83
86
84
# general hydro options
87
- asph = False , # Only for H evolution, not hydro algorithm
85
+ asph = True , # Only for H evolution, not hydro algorithm
88
86
HUpdate = IdealH ,
89
87
densityUpdate = IntegrateDensity ,
90
88
compatibleEnergy = True ,
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ source("functional/Gravity/ApproximatePolyhedralGravityModel.py")
92
92
93
93
# Strength tests.
94
94
#source("functional/Strength/PlateImpact/PlateImpact-1d.py")
95
+ source("functional/Strength/TaylorImpact/TaylorImpact.py")
95
96
source("functional/Strength/CollidingPlates/CollidingPlates-1d.py")
96
97
source("functional/Strength/DiametralCompression/DiametralCompression.py")
97
98
source("functional/Strength/Verney/Verney-spherical.py")
You can’t perform that action at this time.
0 commit comments