-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from GodotMisogi/develop
Version 0.4.6: New fuselage geometry, stability tutorial, and bugfixes
- Loading branch information
Showing
40 changed files
with
2,632 additions
and
494 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "AeroFuse" | ||
uuid = "477c59f4-51f5-487f-bf1e-8db39645b227" | ||
authors = ["GodotMisogi <[email protected]>"] | ||
version = "0.4.5" | ||
version = "0.4.6" | ||
|
||
[deps] | ||
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
# ## Flight Dynamics | ||
|
||
# ### Longitudinal Motion | ||
|
||
# A standard three degrees-of-freedom rigid body model is used for performing flight dynamics analyses in the 2-dimensional longitudinal plane formulated as an initial-value problem. The coupled differential equations are shown in a canonical state-space representation subject to initial conditions $\mathbf x_0$, with the time-evolution of the state vector $\mathbf x$ driven by the forcing function $\mathbf f$. | ||
|
||
# ```math | ||
# \begin{aligned} | ||
# \frac{d\mathbf x}{dt} & = \mathbf f(\mathbf x, t) \\ | ||
# \frac{d}{dt} | ||
# \begin{bmatrix} | ||
# u_b \\ | ||
# w_b \\ | ||
# Q \\ | ||
# x_e \\ | ||
# y_e \\ | ||
# \Theta \\ | ||
# \delta_e \\ | ||
# m | ||
# \end{bmatrix} & = | ||
# \begin{bmatrix} | ||
# -Qw_b + (T - D(V_\infty)\cos\alpha + L(V_\infty, \delta_e)\sin\alpha - W\sin\Theta) / m \\ | ||
# Qu_b + ( - D(V_\infty)\sin\alpha - L(V_\infty, \delta_e)\cos\alpha + W\cos\Theta) / m \\ | ||
# (M_A(\alpha, \delta_e, \hat Q) - T\Delta_{zT}) / I_{yy} \\ | ||
# u_b \cos\Theta - w_b \sin\Theta \\ | ||
# u_b \sin\Theta + w_b \cos\Theta \\ | ||
# Q \\ | ||
# g(\mathbf x, t) \\ | ||
# -c_T T | ||
# \end{bmatrix} | ||
# \end{aligned} | ||
# ``` | ||
# The fuel burn over time (viz. reduction of mass $m$) is computed using a specific fuel consumption value with a linear dependence on the thrust. A manual controller law for the elevator deflection angle $\delta_e$ can also be implemented by providing the function $g(\mathbf x, t)$. | ||
|
||
# ### Full Space | ||
|
||
# A standard six degrees-of-freedom rigid body model is used for performing flight dynamics analyses in 3 dimensions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
# # ## Euler-Bernoulli Beam Structural Analysis | ||
# # The tubular beam's relevant properties, viz. the Young's (elastic) modulus $E$, shear modulus $G$, and torsional moment of inertia $J$ must be specified to define the stiffness matrix for its discretization with $n$ elements. | ||
|
||
# ## Material properties | ||
# E = 1. # Elastic modulus | ||
# G = 1. # Shear modulus | ||
# J = 2. # Torsional moment of inertia | ||
# n = 2 # Number of sections | ||
|
||
# ## Stiffness matrix | ||
# K = bending_stiffness_matrix( | ||
# fill(E, 2), | ||
# fill(G, 2), | ||
# fill(J, 2), | ||
# :z # Direction of deflection | ||
# ) | ||
|
||
# # Fixed, hinged beam subjected to force and moment at the center. | ||
|
||
# ## Stiffness matrix | ||
# A = K[[3,4,6],[3,4,6]] # v2, φ2, φ3 | ||
|
||
# ## Load vector | ||
# b = [-1000, 1000, 0] # F2, M2, M3 | ||
|
||
# ## Solution | ||
# x = A \ b | ||
|
||
# ## Forces | ||
# F1 = K * [ 0.; 0.; x[1:2]; 0.; x[3] ] | ||
|
||
# # Propped cantilever beam subjected to force at free end. | ||
|
||
# ## Stiffness matrix | ||
# A = K[[1,2,4],[1,2,4]] # v1, φ1, φ2 | ||
|
||
# ## Load vector | ||
# b = [10, 0, 0] | ||
|
||
# ## Solution | ||
# x = A \ b | ||
|
||
# ## Forces | ||
# F2 = K * [ x[1:2]; 0.; x[3]; 0.; 0. ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
16945c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
16945c6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/80395
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: