sunfluidh:sunfluidh_tools
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
sunfluidh:sunfluidh_tools [2020/10/21 16:26] – yann | sunfluidh:sunfluidh_tools [2020/10/27 15:47] (Version actuelle) – [Staggered grid] yann | ||
---|---|---|---|
Ligne 23: | Ligne 23: | ||
---- | ---- | ||
- | The spatial discretization of equations is carried out on a cartesian | + | The spatial discretization of equations is carried out on a staggered grid : |
* The velocity components are located at the cell-faces | * The velocity components are located at the cell-faces | ||
* The scalar quantities (temperature, | * The scalar quantities (temperature, | ||
- | {{ : | + | {{ : |
- | * Scalar quantities and velocity components are therefore their own coordinate set as this can be seen on this 2D sketch : | + | * Scalar quantities and velocity components are therefore their own coordinate set as this can be seen on this 2D sketch |
+ | * for any scalar quantity like the pressure $P(i,j)$ : {$x_c(i), | ||
+ | * for the horizontal velocity component $U(i,j)$ : {$x_i(i), | ||
+ | * for the vertical velocity component $V(i,j)$ : {$x_c(i), | ||
- | {{ : | ||
+ | {{ : | ||
+ | |||
+ | ---- | ||
+ | ==== Ghost-cells ==== | ||
+ | ---- | ||
+ | The code uses ghost-cells at the domain' | ||
+ | {{ : | ||
+ | <note important> | ||
+ | The grid size over the computational domain, which is set in the input data file, is enhanced by two in each direction (for example, a 2D grid size $64 \times 64$ over the computational domain becomes $66 \times 66$ in the code). | ||
+ | </ | ||
---- | ---- | ||
==== Boundary conditions ==== | ==== Boundary conditions ==== |
sunfluidh/sunfluidh_tools.1603290409.txt.gz · Dernière modification : 2020/10/21 16:26 de yann