forked from 1b-agent/fieldcraft-upstream
oracle: 2D cases (Kirsch plane stress, Lamé plane strain and axisymmetric, rotating disc and cylinder, NAFEMS LE1 with quad8) and J2 uniaxial explicit
The pending 2D LE1 case becomes a real one; the plasticity cases stay pending with what they still need (static J2 for the collapse pressure, the transcribed measurements for the Taylor bar). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm
This commit is contained in:
1 parent
84e81acf3a
commit
96c9992c92
31 files changed
+686
-13
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# Thick-walled cylinder under internal pressure, axisymmetric (Lamé)
|
||||
|
||||
The same cylinder as an axisymmetric slice r ∈ [10, 20], 0 ≤ y ≤ 1 (y is the axis), held axially
|
||||
on both faces so ε_z = 0 (the plane strain state of a long cylinder); one quad8 patch of 8 × 1
|
||||
elements.
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"title": "Thick-walled cylinder under internal pressure, axisymmetric (Lamé)",
|
||||
"kind": "theory",
|
||||
"source": "Lamé's solution, Timoshenko and Goodier, Theory of Elasticity, 3rd ed., McGraw-Hill 1970, §28",
|
||||
"quantities": [
|
||||
{
|
||||
"id": "ur_a",
|
||||
"quantity": "radial displacement at the bore (r = 10)",
|
||||
"measure": {
|
||||
"command": "solve.probe",
|
||||
"params": {
|
||||
"step": "Pressure",
|
||||
"at": [
|
||||
[
|
||||
10.0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
]
|
||||
},
|
||||
"pointer": "/nodes/0/displacement/0"
|
||||
},
|
||||
"value": 0.00907936507936508,
|
||||
"tolerance": {
|
||||
"relative": 0.001
|
||||
},
|
||||
"reason": "quadratic elements on 8 radial divisions resolve u_r = A r + B/r to well under 0.1%"
|
||||
},
|
||||
{
|
||||
"id": "ur_b",
|
||||
"quantity": "radial displacement outside (r = 20)",
|
||||
"measure": {
|
||||
"command": "solve.probe",
|
||||
"params": {
|
||||
"step": "Pressure",
|
||||
"at": [
|
||||
[
|
||||
20.0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
]
|
||||
},
|
||||
"pointer": "/nodes/0/displacement/0"
|
||||
},
|
||||
"value": 0.005777777777777778,
|
||||
"tolerance": {
|
||||
"relative": 0.001
|
||||
},
|
||||
"reason": "as at the bore"
|
||||
},
|
||||
{
|
||||
"id": "hoop_a",
|
||||
"quantity": "hoop stress σ_θ at the bore (stress component 3 of an axisymmetric element)",
|
||||
"measure": {
|
||||
"command": "solve.probe",
|
||||
"params": {
|
||||
"step": "Pressure",
|
||||
"at": [
|
||||
[
|
||||
10.0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
]
|
||||
},
|
||||
"pointer": "/nodes/0/stress/2"
|
||||
},
|
||||
"value": 166.66666666666666,
|
||||
"tolerance": {
|
||||
"relative": 0.01
|
||||
},
|
||||
"reason": "stress extrapolated to the bore surface: about 0.5%"
|
||||
},
|
||||
{
|
||||
"id": "axial",
|
||||
"quantity": "axial stress σ_z = 2νA at the bore (held ends)",
|
||||
"measure": {
|
||||
"command": "solve.probe",
|
||||
"params": {
|
||||
"step": "Pressure",
|
||||
"at": [
|
||||
[
|
||||
10.0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
]
|
||||
},
|
||||
"pointer": "/nodes/0/stress/1"
|
||||
},
|
||||
"value": 20.0,
|
||||
"tolerance": {
|
||||
"relative": 0.01
|
||||
},
|
||||
"reason": "as for the hoop stress"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"note": "ModelCraft's accepted results for this case, written by `cargo xtask oracle --bless`. A result outside its band fails CI.",
|
||||
"values": {
|
||||
"axial": {
|
||||
"band": 2.0083926981151736e-8,
|
||||
"value": 20.083926981151734
|
||||
},
|
||||
"hoop_a": {
|
||||
"band": 1.6666666666666668e-7,
|
||||
"value": 165.98051836613928
|
||||
},
|
||||
"ur_a": {
|
||||
"band": 9.07936507936508e-12,
|
||||
"value": 0.009079327300818625
|
||||
},
|
||||
"ur_b": {
|
||||
"band": 5.777777777777779e-12,
|
||||
"value": 0.005777758888504408
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{"command": "mesh.block", "params": {"body": "Pipe", "kind": "quad8", "corners": [[10.0, 0, 0], [20.0, 0, 0], [20.0, 1, 0], [10.0, 1, 0]], "divisions": [8, 1], "bias": [1, 1], "edges": [{"corners": [1, 4], "name": "bore"}, {"corners": [1, 2], "name": "bottom"}, {"corners": [3, 4], "name": "top"}]}},
|
||||
{"command": "model.set.create", "params": {"name": "all", "geometry": [{"body": "Pipe", "face": "area"}]}},
|
||||
{"command": "model.set.create", "params": {"name": "bore", "geometry": [{"body": "Pipe", "edge": "bore"}]}},
|
||||
{"command": "model.set.create", "params": {"name": "ends", "geometry": [{"body": "Pipe", "edge": "bottom"}, {"body": "Pipe", "edge": "top"}]}},
|
||||
{"command": "model.material.create", "params": {"name": "Steel", "elastic": {"type": "isotropic", "young": 210000.0, "poisson": 0.3}}},
|
||||
{"command": "model.section.create", "params": {"name": "pipe", "set": "all", "material": "Steel", "kind": {"type": "axisymmetric"}}},
|
||||
{"command": "model.boundary_condition.create", "params": {"name": "ends", "type": "symmetry", "target": {"set": "ends"}, "plane": "y"}},
|
||||
{"command": "model.load.create", "params": {"name": "p", "type": "pressure", "set": "bore", "magnitude": 100.0}},
|
||||
{"command": "model.step.create", "params": {"name": "Pressure", "procedure": {"type": "static"}, "boundary_conditions": ["ends"], "loads": ["p"]}},
|
||||
{"command": "solve.static", "params": {}, "id": "solve"}
|
||||
]
|
||||
Reference in new issue
Block a user