Skip to content

RenZhen95/NumericsAndFlowSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numerics and Flow Simulation

Description

Basic 2D flow solver using Matlab developed as an assignment from the course Numerics and Flow Simulation offered by Prof. Dr. Andreas Kempf of the University Duisburg-Essen
Link: https://www.uni-due.de/ivg/fluiddynamik/en/index_en.php

Examples

CDS (Central Differencing Scheme)

  • The CDS Scheme is second order accurate but unstable with explicit Euler Time-Integration
  • This scheme exhibits strong oscillations as seen below

DiagFlow0DiagFlow1

DiagFlow0DiagFlow1

USCDS (Upwind Shifted Central Differencing Scheme)

  • A non-standard "educational" scheme that works with reasonable accuracy for explicit Euler Time-Integration (Kempf)
  • Point where fluxees are discretised is shifted upstream (assumes constant velocity!)
  • USCDS CANNOT consider changes in velocity field or diffusive fluxes

DiagFlow0DiagFlow1

DiagFlow2DiagFlow3

UDS (Upwind Discretisation Scheme)

  • The UDS Scheme uses the upstream value
  • The UDS Scheme is only first order accurate, very dissipative but very stable

DiagFlow0DiagFlow1

DiagFlow0DiagFlow1

TVD-Smart (Total Variation Diminuishing, SMART Scheme)

  • TVD Schemes blend CDS and UDS to remain accurate and avoid wiggles
  • Example here, uses the SMART Scheme

DiagFlow0DiagFlow1

DiagFlow0DiagFlow1

About

Basic Numerics and Flow Simulation of a 2D CFD Solver (Matlab)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors