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 Lattice).

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 EverySim is based on the Finite Element Method (FEM), a numerical technique for solving partial differential equations over complex geometries. The solver is Code_Aster, the mesh uses tetrahedral elements, and parts of an unmerged model are connected with bonded contact.

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:

K u=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=∫ΩeBTDB dΩ\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 are obtained, strains ε\boldsymbol{\varepsilon} and stresses σ\boldsymbol{\sigma} in each element are computed from its nodal displacements ue\mathbf{u}_e:

ε=B ue,σ=D ε\boldsymbol{\varepsilon} = \mathbf{B} \, \mathbf{u}_e, \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. Modal and Transient Analysis​

EveryStructure also offers Modal Analysis and Transient Structural. EveryDrone project setup offers static analysis only.

Modal analysis solves the eigenvalue problem for the natural frequencies ω\omega and mode shapes ϕ\boldsymbol{\phi}, where M\mathbf{M} is the mass matrix:

(K−ω2M)ϕ=0\left( \mathbf{K} - \omega^2 \mathbf{M} \right) \boldsymbol{\phi} = \mathbf{0}

Transient analysis integrates the equation of motion over time, with Rayleigh damping set by the coefficients α\alpha and β\beta:

M u¨+C u˙+K u=f(t),C=αM+βK\mathbf{M} \, \ddot{\mathbf{u}} + \mathbf{C} \, \dot{\mathbf{u}} + \mathbf{K} \, \mathbf{u} = \mathbf{f}(t), \qquad \mathbf{C} = \alpha \mathbf{M} + \beta \mathbf{K}

1.5. 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 loadingApplies to Static Structural only: inertial (dynamic) effects are not considered. Suitable for steady-state load cases.
Isotropic materialMaterial properties are identical in all directions. Composite or anisotropic materials are not supported.

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

2.1. Overview​

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

2.2. Governing Equations​

The steady RANS equations for incompressible flow, with constant density ρ\rho, are expressed in three-dimensional integral form as follows. Here, Ω\Omega denotes an arbitrary control volume, ∂Ω\partial \Omega its bounding surface, and n^\hat{\mathbf{n}} the outward unit normal vector of the surface.

Continuity (mass conservation):

∮∂Ωu‾⋅n^ dS=0\oint_{\partial \Omega} \overline{\mathbf{u}} \cdot \hat{\mathbf{n}} \, dS = 0

The net volume flux through the bounding surface is zero.

Momentum conservation:

∮∂Ωρ u‾(u‾⋅n^)dS=−∮∂Ωp‾ n^ dS+∮∂Ω(τ−ρ u′⊗u′‾)⋅n^ dS\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

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, where ν\nu is the kinematic viscosity)
  • −ρ u′⊗u′‾-\rho \, \overline{\mathbf{u}' \otimes \mathbf{u}'} — Reynolds stress tensor, representing the effect of turbulent fluctuations
  • τ\boldsymbol{\tau} — viscous stress tensor
  • ⊗\otimes — tensor product (dyadic product)

2.3. Turbulence Closure​

The RANS equations introduce the Reynolds stress tensor as an unknown, so a turbulence model is required to close the system. External flow defaults to kk-ε\varepsilon, and rotating flow (MRF) uses kk-ω\omega SST.

2.4. Rotating Flow​

Rotating flow uses the steady Multiple Reference Frame (MRF) approach: the rotating zone is solved in a rotating frame, without moving the mesh.

2.5. 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. The app cautions above Mach 0.3 and warns above Mach 0.4. Not suitable for transonic or supersonic flows.
RANS turbulence modelMean-flow solution only. Cannot resolve turbulent structures directly (unlike LES or DNS).
Merged geometryMerge multiple bodies in CAD before importing. Rotating flow can add a separate Stationary Body.

3. Rapid Aerodynamics: Vortex Lattice Method​

3.1. Overview​

The method behind Rapid Aerodynamics is the Vortex Lattice Method (VLM). It represents lifting surfaces with vortex elements and is an inviscid, potential-flow-based solver. It is well-suited for unsteady aerodynamic analysis of lifting surfaces such as propellers and wings. Source and doublet panel methods are a different formulation.

3.2. Governing Equation — Potential Flow​

The Vortex Lattice Method is based on the assumption of incompressible, 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. In the standard VLM formulation, each panel carries a closed vortex ring of unknown strength Γ\Gamma. The boundary condition enforced is the no-penetration condition: the normal component of the total velocity relative to the surface is zero at each panel's control point. For a blade rotating at angular velocity Ω\boldsymbol{\Omega}, the surface itself moves at Ω×r\boldsymbol{\Omega} \times \mathbf{r}:

(u∞−Ω×r+uwake+uinduced)⋅n^=0(\mathbf{u}_\infty - \boldsymbol{\Omega} \times \mathbf{r} + \mathbf{u}_\text{wake} + \mathbf{u}_\text{induced}) \cdot \hat{n} = 0

This yields a linear system of equations for the vortex strengths Γi\Gamma_i, with the known velocities on the right-hand side:

∑jAijΓj=−(u∞−Ω×ri+uwake,i)⋅n^i\sum_j A_{ij} \Gamma_j = -\left( \mathbf{u}_\infty - \boldsymbol{\Omega} \times \mathbf{r}_i + \mathbf{u}_{\text{wake},i} \right) \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. For a fixed wing, Ω\boldsymbol{\Omega} is zero.

3.4. Wake Shedding​

For unsteady analysis (e.g., rotating propellers), trailing-edge vortices are shed into the wake 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. Runs with a body only and no rotor are steady.

With Enable VPM (Standard mode or higher), the far wake is converted to vortex particles, so it is tracked without extending the wake lattice, at some extra computation.

3.5. Force Computation — Kutta-Joukowski Theorem​

The steady force on each bound vortex segment follows from 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 the velocity induced by the wake. In unsteady potential-flow theory, a time-varying circulation adds a pressure term proportional to ρ ∂Γ/∂t\rho \, \partial \Gamma / \partial t.

3.6. Assumptions and Limitations​

AssumptionDescription
Inviscid flowThe potential-flow model does not resolve viscous effects such as skin friction and boundary layer separation. Treat drag values accordingly.
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)Rapid Aerodynamics (VLM)
PhysicsSolid mechanicsViscous turbulent flowInviscid potential flow
SpeedFastSlowVery fast
AccuracyHigh (within linear elastic range)High (attached flow)Moderate (attached flow only)
UnsteadyStatic: no; Transient: yesNo (steady RANS)Yes with rotors; body-only runs are steady
Viscous dragN/AYesNot resolved by the potential-flow model
Use caseStress, deformationLift, drag, pressureUnsteady thrust, torque

Need Assistance or Have Questions?

Frequently Asked Questions: FAQ Link

Support Inquiries: support@everysim.io