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:56] – 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, | ||
Ligne 29: | Ligne 29: | ||
{{ : | {{ : | ||
- | * 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), | ||
- | {{ : | + | |
+ | {{ : | ||
---- | ---- | ||
Ligne 39: | Ligne 43: | ||
{{ : | {{ : | ||
<note important> | <note important> | ||
- | The total number of cells increases by two in each direction. As a consequence, | + | 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). |
</ | </ | ||
---- | ---- |
sunfluidh/sunfluidh_tools.1603292219.txt.gz · Dernière modification : 2020/10/21 16:56 de yann