STAR Public
  • Space Technologies and Rocketry
  • Quick Links
  • Member Info
    • Membership Requirements
    • Elections
  • Current Projects
    • ALULA: First Leap
      • Project Objectives
      • High-Level System Parameters
      • Propulsion
      • Avionics
      • Airframe
      • Recovery
    • Caldera: IREC 2024
      • Airframe
      • Avionics
      • Airbrakes
      • Recovery
      • Staging
      • KELSE-Y (Payload)
  • Previous Projects
    • CalVistor: IREC 2023
      • Recovery (CalVistor)
      • Airframe (CalVistor)
      • Airbrakes (CalVistor)
      • Payload (CalVistor)
    • ELLIE
      • ELLIE Overview
      • Timeline
      • Physical System
      • Electrical and Software
      • Ongoing Research
    • MINDI
      • Airframe
      • Recovery
    • PinkBeary
      • Altimeter Wiring Update
      • Airframe Diameter
      • Fin Sizing
      • Pyro Bolts
      • Electronics
    • CAS
      • CAS Overview
      • Core Module
      • Radio Module
      • Pyro Module
      • Prop Module
      • CAS Core Revised
      • CAS Radio Revised
    • DAVE
      • Summary of DAVE
      • FAQ's
      • DAVE Blog
    • Bear Force One: IREC 2020/2021
      • Airframe
      • Recovery
        • Parachute Harness
        • Avionics Bay
          • Avionics Bay Glossary
          • Avionics Bay Assembly
        • Black Powder Holders
        • Payload
          • Payload Subsystem Report
          • IRIS
            • Peripherals Diagram
            • Pinout Diagram
            • Power Flow Diagram
          • MFC (2020)
          • Stabilization
          • Structures
          • Cameras
          • Muons - Archived
          • IRIS Legacy - Archived
    • Arctos
    • AirBears
  • Frequently Asked Questions
  • Tutorials
    • Media
      • How to make a decent video
    • RFS Safety Training
    • Submitting Reimbursements
    • Software Setup
      • SolidWorks Installation
      • VMware/Boot Camp setup
      • [In-Progress] SolidWorks PDM Setup
      • ANSYS Installation and Setup
      • Solidworks Assemblies Basics
      • OpenRocket Installation
      • Deprecated Software
        • [deprecated] Getting Started With GrabCAD Workbench
        • [deprecated] Using GrabCAD Workbench in SolidWorks
        • [deprecated] Connecting to CalSTAR's Server
        • [deprecated] Installing and Licensing Converge CFD
    • General Tutorials
      • How to Use SolidWorks Templates
      • [In Progress] Digikey Ordering Guide
      • SolidWorks Training Session
      • SolidWorks Training Tutorials
    • Enery Systems
    • Manufacturing
      • Material Properties and Uses
      • 3D Printing (FDM)
      • Laser Cutting
      • FabLight: Metal Laser Cutter
      • Milling
        • Othermill
        • [Empty] Manual Mills
      • Tolerancing
      • Fasteners
      • Suppliers
      • Composite Materials and Best Practices
      • 8020 Extrusions
    • Airframe
      • Airframe Components
      • Tube Attachement
      • OpenRocket
      • Tube Winding
      • Sizing Fins
      • Attaching Fins
      • Rail Buttons
      • Motor Retention
      • Painting Rockets
    • Avionics
      • KiCad
      • Git
      • Project Management
      • Firmware Development Environment
      • Ground Station Software
      • Intro to Embedded C Programming
      • Schematic and Layout Review
      • Board Design Reference
      • Using Lab Equipment
      • Reflow Oven
      • Soldering
      • Debugging Tips/Testing
      • Ham Radio Basics
      • Component Selection
      • High Temperature Batteries
    • Outreach Activities
      • Straw Rocketry
      • Spacecraft Structures
      • Alka Seltzer Rockets
      • Paper Airplane Launcher
      • Coding Workshop
    • Operations
      • SolidWorks file conventions
      • Style Guidelines
      • LaTeX
    • Payload
    • Propulsion
      • Feed System Types
      • Rocket Propulsion Analysis Tutorial
      • Ignition Devices
      • Creating a Piping and Instrumentation Diagram P&ID
      • Pipes, Fittings, and Components
      • Injectors
    • Recovery
      • Parachute Sizing
      • Avionics Sled
      • [in progress] Altimeters
      • Wire Design and Routing
    • Simulations
      • FEA Simulation Tutorial using ANSYS
      • Getting Started with CONVERGE (2.4)
      • [Empty] Simulation Methods
      • Mathematical Models
      • SimScale
        • SimScale 3D CFD
      • Using ANSYS
      • ANSYS 19.2 2D CFD Tutorial
      • ANSYS 19.2 3D CFD Tutorial
    • Administrative
      • Azure Server
    • Page 1
  • Reference
    • Reference
    • Glossaries
      • Propulsion
      • Common Acronyms and Definitions
    • Brand Guidelines
    • Legal
    • High Power Rocketry (HPR)
      • NASA HPR Reference
      • L1 and L2 Certification Tips & Tricks
      • HPR Kits
      • HPR Design
      • HPR Suppliers
      • STAR HPR Certification
    • Ham Operators
    • X-Winder Update Log
    • Safety
      • Materials
      • Tools
      • Electrical
      • Range Safety
  • Testing
    • Test Forms
    • Damage Report Forms
    • Airframe Tests
    • Recovery Tests
      • Ground Ejection Test
  • Onboarding
    • Intro Projects
      • Airframe
      • Avionics
        • PCB Design Mini-Project
      • Operations
      • Payload
      • Propulsion
      • Outreach
      • Recovery
      • Media
      • Safety
      • Simulations
      • Old Intro Projects
        • Payload 2020 Intro Project
        • Propulsion Fall 2019
        • Avionics 2018
        • Recovery 2018
        • Avionics (new intro project Fall 2021)
  • Project Management
  • History of the Team
    • Early Years
    • Executive History
    • Launch History
      • 2022-12-03 MINDI First Flight
      • 2022-09-17 Pinkbeary First Flight
      • 2019-11-16 AirBears First Flight
      • 2018-03-24 Final flight for Arktos
      • 2017-04-08 Competition Launch, NASA SL 2017
      • 2017-03-25 FRR Re-Re-Flight, NASA SL 2017
      • 2017-03-12 FRR Re-Flight, NASA SL 2017
      • 2017-03-04 FRR Flight, NASA SL 2017
      • 2016-12-04 CDR Subscale Flight, NASA SL 2017
    • Fleet
  • How to use GitBook
Powered by GitBook
On this page
  • Simulation Steps
  • Translation to a Mathematical Model
  • Meshing
  • Boundary Conditions
Export as PDF
  1. Tutorials
  2. Simulations

Mathematical Models

Theory behind simulations, the verification/validation process, conceptual explanation of processes behind general simulation methods.

Previous[Empty] Simulation MethodsNextSimScale

Last updated 6 years ago

Simulation Steps

The steps involved in designing and running a simulation are as follows:

  1. Translate a physical problem to a mathematical model

  2. Go through some procedure to find a numerical solution

  3. Post-processing (such as interpolation) to generate output

  4. Compare output to back-of-the-envelope estimate and/or experimental data

Not all of these have to be done manually, and simulation interfaces such as ANSYS will not show that all of this is happening. But users should be aware that this is what the program is doing, as well as roughly what the mathematical model consists of for each major mode of analysis (CFD, FEA and so on).

Translation to a Mathematical Model

This step essentially converts the physical problem (e.g. calculating a certain quantity, such as stress at a set of points due to some load, or drag force due to some specified airflow model) to the mathematical problem of solving a differential equation for each of those points. Completely solving these differential equations can be difficult or impossible in practice, but fortunately, making accurate numerical estimates at specific points is computationally possible. A future update will explain how this process works; for now, check out the example in week 1 of the Cornell EdX class, "A Hands-On Guide to Engineering Simulations", for an explanation.

Meshing

Solving a differential equation for a continuous body is impossible in general, given both the potential complexity of the equations (look at the Navier-Stokes equations for an example) and the arbitrary nature of the input geometry. Meshing is a process by which the arbitrary continuous input geometry is discretized. This means any valid CAD model can be converted to a mesh: a set of nodes with edges connecting them. Solving the equations for each of these nodes then makes the problem doable, and for a large enough mesh the difference between the exact solution and the discretized version is negligible.

Meshes work by representing each surface as a network of polygons, usually of 4 to 6 sides (but the examples shown use triangles). Here's an example of a mesh you might work with:

And here's an example of a mesh you almost definitely won't work with, but that shows how the procedure functions more clearly:

The simplest (but potentially less accurate) mesh generation uses triangles as the basic unit. This is simple because polygons of N sides can always be converted to triangles by connecting non-collinear sets of three points repeatedly (image)

This is a valid mesh, but not a very good one. All the triangles are long and thin, so nodes connected by a long edge may interpolate where doing so would not be accurate. (Linear approximations work well on small scales, but not on larger ones).

To solve this, we can introduce new nodes in the center of the shape. In order to avoid long and thin mesh elements that do not provide an accurate approximation, a minimum angle is set: all angles in each mesh surface element must exceed some threshold for quality (I've seen 20.9 degrees but citation needed). When an angle is lower than this threshold, the edges causing this small angle are replaced by edges with admissible angles.

The Delaunay algorithm (link) describes how to do this. Ruppert's algorithm is similar, with the introduction of the midpoint of each triangle. Its time complexity is greater, which may or may not be worth the extra accuracy depending on the case.

Boundary Conditions

Boundary conditions are how you specify what happens to an object (as represented by a mesh). Since the underlying geometry does not contain information about the environment in which the part exists, we apply boundary conditions to simulate the external environment, such as airflow or an applied force.

LogoHow to Set Up Boundary Conditions in Your Simulation | SimScaleSimScale