| name | fe-analyst-orcaflex-discretization |
| description | Sub-skill of fe-analyst: OrcaFlex Discretization (+3). |
| version | 1.0.0 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
OrcaFlex Discretization (+3)
OrcaFlex Discretization
OrcaFlex segments are the mesh elements. Each segment has:
- Length: controls resolution along the structure
- Bend stiffness:
EI of the element
- Mass: lumped at nodes
Mesh Quality Criteria
def assess_mesh_quality(segment_lengths, OD, min_radius_of_curvature):
"""
Assess FE mesh quality for a slender structure.
Returns a dict of quality flags.
"""
L_max = max(segment_lengths)
L_min = min(segment_lengths)
ratio = L_max / L_min
max_seg_high_curve = min_radius_of_curvature * 0.1
from itertools import pairwise
adjacent_ratios = [max(a, b) / min(a, b) for a, b in pairwise(segment_lengths)]
max_adj_ratio = max(adjacent_ratios)
over_refined = any(L < OD / 2 for L in segment_lengths)
return {
"total_segments": len(segment_lengths),
"L_min_m": L_min,
"L_max_m": L_max,
"global_ratio": ratio,
"max_adjacent_ratio": max_adj_ratio,
"over_refined_segments": over_refined,
"high_curvature_adequate": L_max <= max_seg_high_curve,
"pass": max_adj_ratio <= 3.0 and not over_refined and L_min > 0.01,
}
Mesh Report Table Format
Mesh Summary:
โโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโ
โ Region โ N segs โ L_min [m]โ L_max [m]โ Ratio โ
โโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโค
โ Top section โ 20 โ 0.50 โ 1.00 โ 2.0 โ โ
โ Mid catenary โ 150 โ 1.00 โ 2.00 โ 2.0 โ โ
โ TDP zone โ 30 โ 0.25 โ 1.00 โ 4.0 โ โ
โ Seabed section โ 50 โ 1.00 โ 2.00 โ 2.0 โ โ
โโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโ
TOTAL: 250 segments | PASS: 3/4 regions
Refinement Guidelines by Region
| Region | Guideline | Reason |
|---|
| TDP zone | โค 0.5 ร D | Highest curvature, most critical for fatigue |
| Sag bend | โค 1.0 ร D | Second-highest curvature |
| Free catenary | โค 5.0 ร D | Low curvature โ efficiency |
| Seabed (laid) | โค 3.0 ร D | Axial walking, upheaval |
| Near clamp/BSJ | โค 0.2 ร D | Local stress concentration |
| Mooring at fairlead | โค 2.0 ร D | Curvature under vessel offset |
| Stinger (S-lay) | โค 0.5 ร D | Bending control critical |