How pedrosecchi67/lovelacepm works
LovelacePM is a Python 3D vortex-panel aircraft-analysis package. The documented workflow builds wing and body geometry into a shared Solid, discretizes it into panels, adds a wake, solves for the aerodynamic state, then reports forces and stability or plots results. It also supports control surfaces, dynamic simulation, and optional Xfoil viscous corrections. The graph follows README-described stages and sampled call sites; unsampled implementations are represented only where the README establishes the capability.
Main entry points: aircraft.py Aircraft model · paneller.py Panel Solid · xfoil_visc.py Polar correction · wing.py Wing sections
Components 19
Aircraft geometry
- Airfoil data
LovelacePM/wing.py - Wing sections
LovelacePM/wing.py - Wing quadrants
LovelacePM/wing.py - Wings
LovelacePM/wing.py - Body geometry
LovelacePM/body.py - Control surfaces
LovelacePM/control.py - Aircraft model
LovelacePM/aircraft.py
Panel flow solver
- Panel Solid
LovelacePM/paneller.py - Influence kernels
LovelacePM/pytoolkit.py - Wake model
LovelacePM/paneller.py - Euler solution
LovelacePM/aircraft.py
Analysis and results
- Forces report
LovelacePM/aircraft.py - Stability analysis
LovelacePM/aircraft.py - Dynamic simulation
LovelacePM/pyfdyn.py - Aerodynamic plots
LovelacePM/aerodynamic_output.py
Viscous corrections
- Polar correction
LovelacePM/xfoil_visc.py - Polar files
LovelacePM/xfoil_visc.py
Other components
- Aircraft designer
- Xfoil executable
Connections 26
- Aircraft designer → Wing sections: defines sections
- Airfoil data → Wing sections: supplies profile
- Aircraft designer → Body geometry: defines body
- Aircraft designer → Control surfaces: defines controls
- Wing sections → Wing quadrants: forms span region
- Wing quadrants → Wings: gathers quadrants
- Wings → Panel Solid: composes panels
- Body geometry → Panel Solid: composes panels
- Control surfaces → Wing quadrants: configures surfaces
- Aircraft designer → Aircraft model: assembles model
- Wings → Aircraft model: joins elements
- Body geometry → Aircraft model: joins elements
- Aircraft model → Wake model: adds wake
- Wake model → Panel Solid: updates influence
- Panel Solid → Influence kernels: calculates influence
- Aircraft model → Euler solution: requests solution
- Euler solution → Panel Solid: solves panels
- Aircraft model → Forces report: calculates loads
- Aircraft model → Stability analysis: calculates derivatives
- Aircraft model → Dynamic simulation: simulates motion
- Aircraft designer → Aerodynamic plots: requests plots
- Aerodynamic plots → Panel Solid: reads results
- Aircraft designer → Polar correction: requests correction
- Polar correction → Xfoil executable: runs analysis
- Polar correction → Polar files: reads and writes
- Polar correction → Wing sections: supplies correction