NasCar
Loading...
Searching...
No Matches
Macros | Functions
Correction.c File Reference

Correction step of the Chorin and Temam fractional step method. More...

#include "petscdmda.h"
#include "petscksp.h"
#include "petscpc.h"
#include "struct.h"
#include "Transport.h"
#include "Correction.h"
#include "Lins.h"
#include "Vectors.h"
Include dependency graph for Correction.c:

Macros

#define __FUNCT__   "correction"
 
#define __FUNCT__   "vorticity"
 

Functions

PetscErrorCode correction (Simu simu, Grid grid, Proc proc, Fields vec, Arrays arr)
 
PetscErrorCode vorticity (Simu simu, Grid grid, Proc proc, Fields vec, Arrays arr)
 

Detailed Description

Correction step of the Chorin and Temam fractional step method.

Note
Chorin and Temam fractional step sscheme to solve the incompressible Navier-Stokes equations [13] [23]
(1) Prediction: the momemtum equation is solve from a pressure guess
(2) Poisson: solve the Poisson equation
(3) Correction: correct the pressure and velocity to get a divergence free velocity field
Author
Michel Bergmann
Date
2023-03-03