|
[Sponsors] |
Implementing SIMPLE for unstructured, collocated grid |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 19, 2016, 04:28 |
Implementing SIMPLE for unstructured, collocated grid
|
#1 |
New Member
Martijn
Join Date: Dec 2016
Posts: 2
Rep Power: 0 |
I have been trying to implement the SIMPLE algorithm as described by Ferzinger and Peric in the book "Computational Methods for Fluid Dynamics".
I want to simulate thec2D airflow around an airfoil of which I can dynamically create the shape. I use a triangular mesh for the flow field and use collocated variables. To solve the linear systems of equations I implemented a SOR Gauss-Seidel algorithm (but actually underrelax). I implemented the algorithm in a C# application and the good news is it runs. However, since I am getting wrong results, I want to pinpoint whether the solver diverges, oscillates or that I just have gotten the theory wrong and thus implemented it incorrectly. So, here are two pictures in which I have written down my discretization for the momentum and pressure correction equations. Can you spot any mistakes? The code file where the matrices and RHS vectors are created is also included. I hope the code is self-explanatory, otherwise ask. Furthermore, should the coefficient matrix for u and v momentum be the same? Thanks in advance for your time. |
|
Tags |
collocated grid, implementing new solver, simple algorithm, triangular mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SIMPLER Pressure boundray condition for collocated grid | fard | Main CFD Forum | 0 | September 26, 2011 10:16 |
SIMPLE on collocated grid | dshawul | Main CFD Forum | 1 | August 17, 2010 21:31 |
First order upwind on collocated grid arrangement | Hooman | Main CFD Forum | 1 | July 13, 2010 08:46 |
Please help: SIMPLE algorithm on staggered grid | cfd_guy | Main CFD Forum | 3 | January 12, 2010 12:03 |
Simple grid check query | Ken | FLUENT | 0 | March 27, 2007 00:47 |