Skip to content

Bugfixes and improvements#10

Closed
JaviLendi wants to merge 4 commits into
mainfrom
VLMPy
Closed

Bugfixes and improvements#10
JaviLendi wants to merge 4 commits into
mainfrom
VLMPy

Conversation

@JaviLendi
Copy link
Copy Markdown
Owner

This pull request introduces several enhancements to the VLMPy application, including updates to the README, new plotting functionality, improved geometry calculations, and added configuration for building an executable. The changes focus on improving usability, extending functionality, and ensuring consistency in the codebase.

Enhancements to plotting functionality:

  • Added a new function plot_CLCD_vs_alpha in src/vlm/lib/vlm.py to plot CL/CD against the angle of attack. This enables users to analyze aerodynamic efficiency more effectively.
  • Integrated the new plot type CL-CD-alpha into the compute function in src/vlm/app.py for backend support and added a corresponding button in the frontend (src/vlm/templates/results.html). [1] [2]

Updates to geometry calculations:

  • Introduced z_translate parameter for horizontal and vertical stabilizers in src/vlm/lib/geometry.py to allow 3D translation. Updated related functions and default values in src/vlm/default_plane.txt. [1] [2] [3] [4]
  • Fixed panel computation logic for vertical stabilizers in src/vlm/lib/vlm.py by correcting indexing and ensuring proper handling of geometry and coefficients. [1] [2] [3]

Improvements to application configuration:

  • Added a new autpy-config.json file in src/vlm/utils for PyInstaller configuration, enabling streamlined creation of an executable with custom options like splash screens and icons.

Updates to the README and application branding:

  • Updated the title in README.md from "VLMPy: Vortex Lattice Method" to "VLMPy: Vortex Lattice Method App" for better branding consistency. [1] [2]

Frontend enhancements:

  • Added input fields for z_translate in horizontal and vertical stabilizer configurations in src/vlm/templates/wing.html. This ensures users can modify the new parameter via the UI. [1] [2] [3] [4]

Introduces z_translate parameter for both horizontal and vertical stabilizers in geometry calculations, default data, and UI forms. Adds a new plot type for CL/CD vs angle of attack, including backend logic and a button in the results view. Also fixes panel area indexing for vertical stabilizer calculations.
Comment thread src/vlm/app.py Dismissed
@JaviLendi
Copy link
Copy Markdown
Owner Author

This pull request introduces several enhancements and fixes to the VLMPy application, including updates to the README, new plotting features, geometry calculation improvements, and application configuration changes. The most significant changes focus on adding support for Z-axis translation for stabilizers, introducing a new plot type for CL/CD vs alpha, and refining geometry calculations.

Updates to the VLMPy Application

Feature Enhancements:

  • Added Z-axis translation support for horizontal and vertical stabilizers in src/vlm/app.py, src/vlm/lib/geometry.py, and src/vlm/templates/wing.html. This allows precise positioning of stabilizers in 3D space. [1] [2] [3] [4] [5] [6] [7] [8] [9]

  • Introduced a new plot type for CL/CD vs alpha, enabling users to visualize lift-to-drag ratio across different angles of attack. Changes include updates to src/vlm/app.py, src/vlm/lib/vlm.py, and src/vlm/templates/results.html. [1] [2] [3]

Codebase Refinements:

  • Improved geometry calculations for stabilizers by adding Z-axis translation handling in src/vlm/lib/geometry.py. This ensures accurate 3D modeling of aircraft components. [1] [2]

  • Fixed panel area calculation for vertical stabilizers in src/vlm/lib/vlm.py to correctly account for horizontal stabilizer panels. [1] [2] [3]

Configuration Updates:

  • Added autpy-config.json for PyInstaller configuration, enabling streamlined application packaging and deployment.

Documentation Updates:

  • Updated the project name in README.md to "VLMPy: Vortex Lattice Method App" for better alignment with the application's scope. [1] [2]

@JaviLendi JaviLendi closed this Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants