raalf / freewake Goto Github PK
View Code? Open in Web Editor NEWA higher-order potential flow code.
License: GNU General Public License v2.0
A higher-order potential flow code.
License: GNU General Public License v2.0
The A,B and C values for the trailing edge row of elements are symmetric, but the induced normal force is not symmetric. This is leading to a roll moment.
The value of k doesn't look right in some cases using the default input
FreeWake/Source/wing_geometry.cpp
Lines 168 to 175 in 8dea884
We know CFX is negative
These forces calculated in drag? are they ever used?
FreeWake/Source/drag_force.cpp
Lines 442 to 444 in f45eef5
We move the CG to account for turning flight, and descending flight, but the CG is not rotated to account for bank angle or alpha (when horiz ==1).
We rotate panels (bank and alpha) about the global 0,0,0 origin, not the CG. Is this what we want?
Need to minimize side forces without bank angle.
What does this mean?
add to induced_velocity.cpp line 146 'j++'
Otherwise, will not add up surface DVE velocities correctly.
FreeWake/Source/equ_system.cpp
Line 886 in d36cf24
Update that when program is executed, it also includes a date of the version that is being used.
This probably requires a reference frame transformation.
Model the following panel (vertical stab with rudder def. 45deg) and run with phi = 45.0, circling,horizontal flight, alpha 10.
Panel #: 1. Number of elements across span n = 2 and chord m = 4
Neighbouring panels (0 for none) left: 0 right: 0
xleft yleft zleft chord epsilon Bound.Cond. Airfoil Hinge Deflection
5.500 0.000 0.000 0.350 0.000 100 2 0.700000 45
xright yright zright chord epsilon Bound.Cond. Airfoil Hinge Deflection
5.500 0.000 2.500 0.350 0.000 100 2 0.700000 45
The rudder deflects in the plane of the vstab, not out of the plane.
Maybe an issue here with quadrants:
FreeWake/Source/wing_geometry.cpp
Lines 610 to 622 in fd3e186
When roll trim is ON, the check we do to make sure there is an aileron will fail if there are two ailerons with equal but opposite deflection. (Ex. -5 and +5)
Lines 122 to 130 in ba2bafc
Also unrelated but we can maybe decrease the allowed error on Cl for roll trim.
This doesn't work on windows.
FreeWake/Source/Main_PerfCode2020.cpp
Line 155 in de0d94b
Instead, windows needs:
#include "direct.h"
_mkdir(info.output);
But I don't think that will work on mac. So we need a solution for both
a few ways to do this. I can calculate the panel areas and add them up, and also calculate the projected panel areas and add them up. These values will not change with camber or flap deflection.
We can also add up the DVE element areas. Those values would change with camber, and the projected areas would change with flap deflection.
Also, what will these values be used for? for example, what if we want to non-dimensionalize to just the wing area and not include the tail? how will the user approach this?
I've only seen the issue when n = 1 and trying the infinite wing case
FreeWake/Source/PitchMoment.cpp
Line 425 in 0d134a3
FreeWake/Source/read_input.cpp
Lines 955 to 960 in 8dea884
When moving the elements in the ind. drag computation, should uTE be nondimensionalized? U is nondimensionalized for the non circling case...
FreeWake/Source/drag_force.cpp
Lines 220 to 231 in 98a3009
eD direction is found with TE velocity
For the current version, the LE of the DVEs has to match hinge line. For example, chord 10, flap 20%, m=5 works fine; m=6 does not work
Suggestion, adjust DVEs on flap that at least one DVE on flap, otherwise round m*percentage of flap to full number.
Issue: DVEs of one span wise location will have different chords.
Rotating in Z-X-Y causes the panels to have sweep when using a bank angle. Switching to Z-Y-X fixes this problem, but I don't know if it causes another problem. Z-Y-X is a more common order.
FreeWake/Source/wing_geometry.cpp
Lines 280 to 295 in dee48ae
Depending on the compiler, this condition isn't always satisfied. Why.
The 1000* is just a sketchy fix for now.
FreeWake/Source/wing_geometry.cpp
Line 1467 in fd3e186
FreeWake/Source/wing_geometry.cpp
Line 1507 in fd3e186
Having multiple m values does work with the current timestep#.txt files. Unable to plot the results.
Beta has to be zero if using symmetry for force calcs:
FreeWake/Source/lift_force.cpp
Line 784 in d7c7a05
Not sure if lift is calculated correctly with beta:
FreeWake/Source/lift_force.cpp
Lines 445 to 449 in d7c7a05
We are not including the lift from the vortex sheets. Is this significant?
Since the gradient is used to calculate omega for only the XY components of velocity, we can define our gradient as Vk/ R, where Vk is Uinf*cos(alpha) during descending flight.
Since we want the 'r' vector in the xy plane, we should be calculating the 'r' vector as Uinf*cos(alpha) / gradient, which is equal to Vk/grad, and not Uinf/grad as is done now:
FreeWake/Source/PitchMoment.cpp
Line 88 in dee48ae
And then we should not be multiplying the gradient by cos alpha here, because we will be calculating grad as Uinf cos(alpha) / R
FreeWake/Source/wing_geometry.cpp
Line 1269 in dee48ae
More information?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.