Repository navigation
v5.0.0
VortexStepMethod v5.0.0
Added
- A wing's settings carry two optional blocks:
mesh:(MeshSettings— the
obj_filethe sections are sliced from, section count, leading-edge marching
resolution, the mesh-to-slicer rotation, tip standoff and shrink wrap) and
airfoil:(AirfoilSettings— the 2D backend, its transition settings, the α
and δ sweeps, the Reynolds reference and the table format). Both are optional,
so a settings file that names neither loads unchanged, and an unnamedmesh:
block slices and wraps exactly as an unconfiguredobj_to_yamlcall. airfoil_solver,alpha_range,delta_range,reynolds,rotation_matrix,
slice_argsandpreview_argsturn a block into the argumentsobj_to_yaml,
the section solvers and the live polars already take, andNeuralFoilSolver,
XFoilSolver,ShrinkWrapandLivePolarSettingseach take the block they are
configured by.solver: xfoilselects the viscous panel code for a whole dataset from the
settings file, where the backend used to be a caller's hard-coded choice.- The live polars read the
model_sizeandn_critthe tables were generated at
rather than their own defaults, so a wing is not re-solved in flight at
different transition settings than it was tabulated at. - Reynolds is stated once:
reynolds(set, wing)takes the air from
solver_settingsand the reference speed and chord fromairfoil:.
Changed
- BREAKING:
shrink_wraptraces the rolling ball exactly — pivoting it around
the cloud and offsetting the polygon through the points it touches
(pivot_contour) — instead of thresholding and marching-squares-tracing a
distance field, so there is no grid resolution left to set.ShrinkWrap's
cell_sizeis accordingly namedmin_clearance, still accepted under the old
name, and floorsclearanceonly for an open single-membrane cloud; a closed
loop keeps its trueclearance, soclearance=0hugs the input and leaves
its sharp trailing edge sharp. The wrap sits at exactlyclearancefrom the
cloud instead of a cell over it, so a V3 canopy's aft strip comes out
2 * clearancethick where the grid gave3.5 * cell_size.
min_concave_radiusstops costing anything, having padded the grid in both
directions before: one V3 slice at radius 0.4 drops from 173 ms to 10 ms, and
at the default radius from 15 ms to 3 ms.
Merged pull requests:
- Continuous wrapping method (#262) (@1-Bart-1)
- Give a wing's mesh and airfoil settings a home in the settings file (#271) (@1-Bart-1)
- Release v5.0.0 (#281) (@1-Bort-1)
Closed issues: