Skip to main content

Theoretical Background

This page provides the theoretical foundation for the three simulation methods available in Advanced Simulation: Structural Analysis (FEA), Fluid Dynamics (CFD), and Rapid Aerodynamics (Vortex Method).

Understanding the underlying theory helps you set up simulations correctly, interpret results with confidence, and recognize the limitations of each method.


1. Structural Analysis — Finite Element Method (FEM)

1.1. Overview

Structural Analysis in EveryDrone is based on the Finite Element Method (FEM), a numerical technique for solving partial differential equations over complex geometries.

The core idea is to subdivide the structure into a finite number of small elements (the mesh) and solve the governing equations over each element. The solutions at element boundaries are constrained to be compatible (continuous), and the global solution is assembled from the local element solutions.

1.2. Governing Equation

Under static loading conditions, the equilibrium of a linear elastic solid is governed by:

Ku=f\mathbf{K} \, \mathbf{u} = \mathbf{f}

where:

  • K\mathbf{K} — global stiffness matrix, assembled from element stiffness matrices
  • u\mathbf{u} — displacement vector (the unknowns to be solved)
  • f\mathbf{f} — external force vector (applied loads and boundary conditions)

Each element's stiffness matrix Ke\mathbf{K}_e is derived from the element's geometry and material properties:

Ke=ΩeBTDBdΩ\mathbf{K}_e = \int_{\Omega_e} \mathbf{B}^T \mathbf{D} \mathbf{B} \, d\Omega

where B\mathbf{B} is the strain-displacement matrix and D\mathbf{D} is the material constitutive matrix (relating stress to strain via the material's Young's modulus and Poisson's ratio).

1.3. Stress and Strain

Once displacements u\mathbf{u} are obtained, strains ε\boldsymbol{\varepsilon} and stresses σ\boldsymbol{\sigma} are computed as:

ε=Bu,σ=Dε\boldsymbol{\varepsilon} = \mathbf{B} \, \mathbf{u}, \qquad \boldsymbol{\sigma} = \mathbf{D} \, \boldsymbol{\varepsilon}

The von Mises stress is commonly used to assess whether a material is at risk of yielding:

σVM=(σ1σ2)2+(σ2σ3)2+(σ3σ1)22\sigma_{\text{VM}} = \sqrt{\frac{(\sigma_1 - \sigma_2)^2 + (\sigma_2 - \sigma_3)^2 + (\sigma_3 - \sigma_1)^2}{2}}

where σ1,σ2,σ3\sigma_1, \sigma_2, \sigma_3 are the principal stresses.

1.4. Assumptions and Limitations

AssumptionDescription
Linear elasticityMaterial deformation is proportional to applied load (Hooke's Law). Valid when stresses remain below the yield strength.
Small deformationGeometry changes due to deformation are negligible. Not valid for large-deflection problems.
Static loadingInertial (dynamic) effects are not considered. Suitable for steady-state load cases.
Isotropic materialMaterial properties are identical in all directions. Composite or anisotropic materials require additional modeling.

2. Fluid Dynamics — Reynolds-Averaged Navier-Stokes (RANS)

2.1. Overview

Fluid Dynamics simulations in EveryDrone solve the Reynolds-Averaged Navier-Stokes (RANS) equations, which describe the mean behavior of a turbulent fluid flow. RANS is the industry-standard approach for external aerodynamics and is computationally tractable for engineering-scale problems.

2.2. Governing Equations

The RANS equations for incompressible flow are expressed in three-dimensional integral form as follows. Here, Ω\Omega denotes an arbitrary control volume, Ω\partial \Omega its bounding surface, n^\hat{\mathbf{n}} the outward unit normal vector of the surface, and SmS_m the volumetric mass source term.

Continuity (mass conservation):

tΩρdΩ+Ωρun^dS=ΩSmdΩ\frac{\partial}{\partial t} \int_{\Omega} \rho \, d\Omega + \oint_{\partial \Omega} \rho \, \overline{\mathbf{u}} \cdot \hat{\mathbf{n}} \, dS = \int_{\Omega} S_m \, d\Omega

The first term on the left-hand side represents the rate of change of mass within the control volume, the second term is the mass flux through the bounding surface, and the right-hand side accounts for volumetric mass sources (e.g., evaporation, chemical reactions). For incompressible steady-state flow with no source (Sm=0S_m = 0), the equation reduces to Ωun^dS=0\oint_{\partial \Omega} \overline{\mathbf{u}} \cdot \hat{\mathbf{n}} \, dS = 0.

Momentum conservation:

tΩρudΩ+Ωρu(un^)dS=Ωpn^dS+Ω(τρuu)n^dS+ΩρgdΩ\frac{\partial}{\partial t} \int_{\Omega} \rho \, \overline{\mathbf{u}} \, d\Omega + \oint_{\partial \Omega} \rho \, \overline{\mathbf{u}} \left( \overline{\mathbf{u}} \cdot \hat{\mathbf{n}} \right) dS = -\oint_{\partial \Omega} \overline{p} \, \hat{\mathbf{n}} \, dS + \oint_{\partial \Omega} \left( \boldsymbol{\tau} - \rho \, \overline{\mathbf{u}' \otimes \mathbf{u}'} \right) \cdot \hat{\mathbf{n}} \, dS + \int_{\Omega} \rho \, \mathbf{g} \, d\Omega

where the viscous stress tensor τ\boldsymbol{\tau} for a Newtonian fluid is:

τ=μ[u+(u)T]\boldsymbol{\tau} = \mu \left[ \nabla \overline{\mathbf{u}} + (\nabla \overline{\mathbf{u}})^T \right]

where:

  • u\overline{\mathbf{u}} — time-averaged velocity vector (3D)
  • p\overline{p} — time-averaged pressure
  • ρ\rho — fluid density
  • μ\mu — dynamic viscosity (μ=ρν\mu = \rho \nu)
  • ρuu-\rho \, \overline{\mathbf{u}' \otimes \mathbf{u}'} — Reynolds stress tensor, representing the effect of turbulent fluctuations
  • g\mathbf{g} — gravitational acceleration vector (body force)
  • SmS_m — mass source term (source/sink in the continuity equation)
  • τ\boldsymbol{\tau} — viscous stress tensor
  • \otimes — tensor product (dyadic product)

2.3. Assumptions and Limitations

AssumptionDescription
Steady-stateTime-averaged flow; unsteady effects (e.g., vortex shedding) are not captured.
Incompressible flowValid for Mach numbers below approximately 0.3. Not suitable for transonic or supersonic flows.
RANS turbulence modelMean-flow solution only. Cannot resolve turbulent structures directly (unlike LES or DNS).
Single solid geometryThe solver treats the imported geometry as one unified body. Multi-body interactions require manual setup.

3. Rapid Aerodynamics — Vortex Method

3.1. Overview

The Vortex Method (also known as the Panel Method or Vortex Lattice Method in discrete form) is an inviscid, potential-flow-based aerodynamic solver. It is well-suited for unsteady aerodynamic analysis of lifting surfaces such as propellers and wings.

3.2. Governing Equation — Potential Flow

The Vortex Method is based on the assumption of irrotational, inviscid flow, for which the velocity field can be expressed as the gradient of a scalar potential ϕ\phi:

u=ϕ\mathbf{u} = \nabla \phi

Substituting into the continuity equation yields Laplace's equation:

2ϕ=0\nabla^2 \phi = 0

This is a linear equation and can be solved via superposition of elementary solutions (sources, doublets, and vortices).

3.3. Vortex Panels

The surface of the geometry is discretized into panels. Each panel carries a vortex filament of unknown strength Γ\Gamma. The boundary condition enforced is the no-penetration condition: the normal component of total velocity (freestream + induced) is zero at each panel's control point.

(u+uinduced)n^=0(\mathbf{u}_\infty + \mathbf{u}_\text{induced}) \cdot \hat{n} = 0

This yields a linear system of equations for the vortex strengths Γi\Gamma_i:

jAijΓj=un^i\sum_j A_{ij} \Gamma_j = -\mathbf{u}_\infty \cdot \hat{n}_i

where AijA_{ij} is the aerodynamic influence coefficient representing the normal velocity induced at panel ii by a unit vortex on panel jj.

3.4. Vortex Shedding

For unsteady analysis (e.g., rotating propellers), freestream vortex shedding occurs at the trailing edge at each time step. The wake evolves over time, capturing the effect of vorticity on the aerodynamic loads. This allows effective prediction of time-varying thrust and torque of propellers.

3.5. Force Computation — Kutta-Joukowski Theorem

The lift force on each panel is computed via the Kutta-Joukowski theorem:

ΔF=ρulocal×(ΓΔl)\Delta \mathbf{F} = \rho \, \mathbf{u}_\text{local} \times (\Gamma \, \Delta \mathbf{l})

where Δl\Delta \mathbf{l} is the bound vortex segment vector and ulocal\mathbf{u}_\text{local} is the local velocity including phenomena induced by the wake.

3.6. Assumptions and Limitations

AssumptionDescription
Inviscid flowViscous effects (skin friction, boundary layer separation) are not modeled. Drag predictions are limited to induced drag only.
Potential flowNo turbulence; flow must be attached. Results become unreliable at high angles of attack where separation occurs.
Thin lifting surfacesMost accurate for slender wings and propeller blades. Less accurate for thick or bluff bodies.

4. Method Comparison

FEACFD (RANS)Vortex Method
PhysicsSolid mechanicsViscous turbulent flowInviscid potential flow
SpeedFastSlowVery fast
AccuracyHigh (within linear elastic range)High (attached flow)Moderate (attached flow only)
UnsteadyNoNo (steady RANS)Yes
Viscous dragN/AYesNo
Use caseStress, deformationLift, drag, pressureUnsteady thrust, torque

Need Assistance or Have Questions?

Frequently Asked Questions: FAQ Link

Support Inquiries: support@everysim.io