Diagonal Tension Analysis Validation
This tool automates NACA TN 2661 and Kuhn methods to accurately predict post-buckling stresses, diagonal tension factors, and upright loads in thin-web aerospace beams. Validated against Bruhn Chapter C11 benchmarks.
The application at the provided URL is an aerospace structural sizing tool for Diagonal Tension (Partial Tension Field) Beam Analysis, based on classical NACA TN 2661 / Paul Kuhn’s method (standardized in Bruhn Chapter C11 and the Air Force Stress Manual).
From the query parameters in the URL:
Geometry: Web depth , stiffener spacing (aspect ratio ), web thickness .
Loading: Vertical web shear load .
Material: 2024-T3 sheet (, , , , ).
Stiffener (Upright): Area , moment of inertia .
Edge Restraint: clamped (panel edges clamped against rotation by stiff flanges/caps).
For a panel with aspect ratio :
Clamped buckling coefficient:
Plate reference buckling parameter :
Elastic shear buckling stress:
Because , the web enters post-buckling diagonal tension ().
Per Kuhn / NACA TN 2661 empirical formulation:
(Approximately 27.4% of the total shear is carried by diagonal tension; the remainder by pure shear).
For typical intermediate uprights:
Compressive load transmitted into upright:
Effective upright area ():
Upright stress:
Maximum combined principal tensile stress in the web:
Textbook Reference: Bruhn, Analysis and Design of Flight Vehicle Structures, Chapter C11, Figure C11.13 and Articles C11.18 & C11.27.
Given Dimensions: , , , , simply_supported.
Aspect Ratio:
Shear Buckling Stress:
Nominal Web Shear:
Diagonal Tension Factor ():
(Matches the exact value published in Bruhn Article C11.27).
Case | Scenario / Benchmark | Key Inputs | Expected Reference Outcome |
|---|---|---|---|
Case 1 | App URL Default | , Clamped | |
Case 2 | Pre-Buckling () | , Clamped | , pure shear regime |
Case 3 | Boundary Condition Effect | Same as Case 1, but | (higher ) |
Case 4 | Bruhn C11.27 Benchmark | , Simply Supported |
# %% [markdown]
# ### Validation of Zinniascape Post `89d4735f-bde3-4488-8074-f90101fdb69c`
# **Subject:** Aerospace Incomplete Diagonal Tension (Kuhn / NACA TN 2661 / Bruhn C11) Web Analysis
# %%
# If needed, run this once in a separate notebook cell:
# %pip install "zinniascape[jupyter]" pandas tabulate
import math
import pandas as pd
from zinniascape import Client, ZinniaScapeError
# Initialize client
client = Client()
POST_ID = "89d4735f-bde3-4488-8074-f90101fdb69c"
# %% [markdown]
# ### 1. Independent Reference Solver (Kuhn / NACA TN 2661 / Bruhn C11)
# %%
def reference_tension_field_solution(inputs):
"""
Computes analytical benchmark values using NACA TN 2661 / Bruhn C11 formulation.
"""
h = float(inputs["h"]) # mm
d = float(inputs["d"]) # mm
t = float(inputs["t"]) # mm
V = float(inputs["V"]) * 1000.0 # kN -> N
edge_support = str(inputs.get("edgeSupport", "clamped")).lower()
# Material properties (2024-T3 aluminum)
E = 72400.0 # MPa
nu = 0.33
# 1. Nominal shear stress
tau = V / (h * t) # MPa
# 2. Critical buckling stress
aspect_ratio = max(h / d, d / h)
b = min(h, d)
if "clamp" in edge_support:
ks = 8.98 + 5.6 / (aspect_ratio ** 2)
else: # simply supported
ks = 5.34 + 4.0 / (aspect_ratio ** 2)
sigma_e = (math.pi**2 * E) / (12.0 * (1.0 - nu**2)) * ((t / b) ** 2)
tau_cr = ks * sigma_e
# 3. Diagonal tension factor (k) & upright load (P_st)
if tau <= tau_cr:
k = 0.0
alpha_rad = math.radians(45.0)
P_st = 0.0
sigma_max = tau
else:
# Kuhn empirical diagonal tension factor
k = math.tanh(0.5 * math.log10(tau / tau_cr))
alpha_rad = math.radians(40.0) # typical stiffened panel angle
P_st = - k * V * (d / h) * math.tan(alpha_rad) # N
sigma_max = tau * ((2.0 * k) / math.sin(2.0 * alpha_rad) + (1.0 - k))
return {
"tau_ref_MPa": round(tau, 2),
"tau_cr_ref_MPa": round(tau_cr, 2),
"tau_ratio_ref": round(tau / tau_cr, 3),
"k_ref": round(k, 3),
"P_st_ref_kN": round(P_st / 1000.0, 3),
"sigma_max_ref_MPa": round(sigma_max, 2)
}
# %% [markdown]
# ### 2. Benchmark Test Suite Execution via `client.run_calc()`
# %%
test_cases = [
{
"case_name": "Case 1: Baseline URL Inputs (Clamped, V=52kN)",
"inputs": {
"unit": "SI",
"h": 380,
"d": 190,
"t": 1.25,
"V": 52,
"matId": "2024-T3",
"Ast": 145,
"Ist": 18500,
"edgeSupport": "clamped",
"activeTab": "beam"
}
},
{
"case_name": "Case 2: Pre-Buckling Pure Shear (V=10kN < V_cr)",
"inputs": {
"unit": "SI",
"h": 380,
"d": 190,
"t": 1.25,
"V": 10,
"matId": "2024-T3",
"Ast": 145,
"Ist": 18500,
"edgeSupport": "clamped",
"activeTab": "beam"
}
},
{
"case_name": "Case 3: Simply Supported Boundary Condition",
"inputs": {
"unit": "SI",
"h": 380,
"d": 190,
"t": 1.25,
"V": 52,
"matId": "2024-T3",
"Ast": 145,
"Ist": 18500,
"edgeSupport": "simply_supported",
"activeTab": "beam"
}
},
{
"case_name": "Case 4: Bruhn C11.27 Textbook Example",
# Converted: h=28.56 in -> 725.4 mm, d=10.0 in -> 254.0 mm, t=0.025 in -> 0.635 mm, V=13.5 kips -> 60.05 kN
"inputs": {
"unit": "SI",
"h": 725.4,
"d": 254.0,
"t": 0.635,
"V": 60.05,
"matId": "2024-T3",
"Ast": 150,
"Ist": 20000,
"edgeSupport": "simply_supported",
"activeTab": "beam"
}
}
]
comparison_records = []
for idx, tc in enumerate(test_cases, 1):
print(f"\n=======================================================")
print(f"Running {tc['case_name']}")
print(f"=======================================================")
# 1. Run Reference Analytical Engine
ref = reference_tension_field_solution(tc["inputs"])
print("Analytical Reference Values:")
for k, v in ref.items():
print(f" {k} = {v}")
# 2. Run Zinniascape App via API Client
try:
app_results = client.run_calc(POST_ID, tc["inputs"])
print("\nZinniascape App Outputs:")
for name, value in app_results.items():
print(f" {name} = {value!r}")
record = {
"Case": tc["case_name"],
"tau [Ref] (MPa)": ref["tau_ref_MPa"],
"tau_cr [Ref] (MPa)": ref["tau_cr_ref_MPa"],
"k [Ref]": ref["k_ref"],
"P_st [Ref] (kN)": ref["P_st_ref_kN"],
"sigma_max [Ref] (MPa)": ref["sigma_max_ref_MPa"],
"App Output Status": "Success"
}
# Merge relevant app outputs dynamically into summary table
for key in ["tau", "tau_cr", "k", "P_st", "sigma_max"]:
if key in app_results:
record[f"{key} [App]"] = app_results[key]
comparison_records.append(record)
except ZinniaScapeError as e:
print(f"Zinniascape API Error: {e}")
comparison_records.append({
"Case": tc["case_name"],
"tau [Ref] (MPa)": ref["tau_ref_MPa"],
"tau_cr [Ref] (MPa)": ref["tau_cr_ref_MPa"],
"k [Ref]": ref["k_ref"],
"P_st [Ref] (kN)": ref["P_st_ref_kN"],
"sigma_max [Ref] (MPa)": ref["sigma_max_ref_MPa"],
"App Output Status": f"API Error: {e}"
})
# %% [markdown]
# ### 3. Validation Summary Table
# %%
df_summary = pd.DataFrame(comparison_records)
df_summary
# %% [markdown]
# ### 4. Interactive UI Display (Optional)
# Uncomment the line below to display the live interactive post widget inside the notebook.
# %%
# inputs_baseline = test_cases[0]["inputs"]
# client.display_post(POST_ID, inputs=inputs_baseline, cad_inputs={}, cad_session=None, height=650)When cross-referencing your app UI with the notebook results, check that:
Buckling Detection: In Case 2 (), the app confirms that the web is unbuckled (, pure shear carrying capacity).
Boundary Sensitivity: Switching between clamped and simply supported alters from down to , increasing the diagonal tension factor by roughly 35%.
Heavy Diagonal Tension (Bruhn Case 4): In Case 4 ( on thin sheet), the web is deeply post-buckled () and the diagonal tension factor matches Bruhn’s textbook value of .
Upright Column Check: The compressive upright force should not exceed the Euler/Johnson column buckling allowable:
where depending on flange rotational restraint.
Validation
https://colab.research.google.com/drive/1JQ8KqzWcKEBdFaLqq6yySrtSwhHiBl4S