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

Poisson 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 "Poisson.h"
#include "Lins.h"
#include "Vectors.h"
Include dependency graph for Poisson.c:

Macros

#define __FUNCT__   "poisson"
 
#define __FUNCT__   "poisson_matrix"
 

Functions

PetscErrorCode poisson (Simu simu, Grid grid, Proc proc, Fields vec, Arrays arr, Obs obs, Linear *lin)
 
PetscErrorCode poisson_matrix (Simu simu, Grid grid, Proc proc, Fields vec, Arrays arr, Obs obs, Linear *lin)
 

Detailed Description

Poisson 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
Version
0.0
Author
Michel Bergmann
Date
2023-03-03