Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ dependencies = [
"numba",
"screeninfo",
"odfpy",
"AWETrim @ git+https://github.com/ocayon/AWETrim.git@main",
]
[project.optional-dependencies]
dev = [
Expand Down
2 changes: 1 addition & 1 deletion src/VSM/core/BodyAerodynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ def compute_line_aerodynamic_force(
# TODO: test this function
p1 = line[0]
p2 = line[1]
d = line[2]
d = line[4]

if p1[2] > p2[2]:
p1, p2 = p2, p1
Expand Down
2 changes: 1 addition & 1 deletion src/VSM/core/Solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(
aerodynamic_model_type: str = "VSM",
max_iterations: int = 5000,
allowed_error: float = 1e-6,
relaxation_factor: float = 0.05,
relaxation_factor: float = 0.01,
core_radius_fraction: float = 0.05, # Following Damiani et al. (2019) https://docs.nrel.gov/docs/fy19osti/72777.pdf
gamma_loop_type: str = "base",
gamma_initial_distribution_type: str = "zero",
Expand Down
2 changes: 1 addition & 1 deletion src/VSM/plot_geometry_plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def add_bridle_system(fig: go.Figure, wing_aero: object, is_first: bool = True)
elif hasattr(wing_aero, "_bridle_line_system") and wing_aero._bridle_line_system:
# Handle basic bridle line system (backward compatibility)
for i, bridle_line in enumerate(wing_aero._bridle_line_system):
p1, p2, diameter = bridle_line
p1, p2, _, _, diameter, _ = bridle_line

# Calculate thickness based on diameter (simple scaling)
thickness = max(2, min(12, diameter * 1000)) # Assume diameter in meters
Expand Down
Loading