Block LU-SGS time integration method for unstructured grid. More...

Go to the source code of this file.
Functions | |
| void | ns_serial_pre_blusgs (UCFD_INT neles, UCFD_INT nface, UCFD_FLOAT factor, UCFD_FLOAT *fnorm_vol, UCFD_FLOAT *dt, UCFD_FLOAT *diag, UCFD_FLOAT *fjmat) |
| Computes Diagonal matrix for LU-SGS method. More... | |
| void | rans_serial_pre_blusgs (UCFD_INT neles, UCFD_INT nface, UCFD_FLOAT factor, UCFD_FLOAT *fnorm_vol, UCFD_FLOAT *uptsb, UCFD_FLOAT *dt, UCFD_FLOAT *tdiag, UCFD_FLOAT *tjmat, UCFD_FLOAT *dsrc) |
| Computes Diagonal matrix for Block LU-SGS method for RANS equations. More... | |
| void | ns_serial_block_lower_sweep (UCFD_INT neles, UCFD_INT nface, UCFD_INT *nei_ele, UCFD_FLOAT *fnorm_vol, UCFD_FLOAT *rhsb, UCFD_FLOAT *dub, UCFD_FLOAT *diag, UCFD_FLOAT *fjmat) |
| Lower sweep of Block LU-SGS method for Navier-Stokes equations. More... | |
| void | rans_serial_block_lower_sweep (UCFD_INT neles, UCFD_INT nface, UCFD_INT *nei_ele, UCFD_FLOAT *fnorm_vol, UCFD_FLOAT *rhsb, UCFD_FLOAT *dub, UCFD_FLOAT *tdiag, UCFD_FLOAT *tjmat) |
| Lower sweep of Block LU-SGS method for RANS equations. More... | |
| void | ns_serial_block_upper_sweep (UCFD_INT neles, UCFD_INT nface, UCFD_INT *nei_ele, UCFD_FLOAT *fnorm_vol, UCFD_FLOAT *rhsb, UCFD_FLOAT *dub, UCFD_FLOAT *diag, UCFD_FLOAT *fjmat) |
| Upper sweep of Block LU-SGS method for Navier-Stokes equations. More... | |
| void | rans_serial_block_upper_sweep (UCFD_INT neles, UCFD_INT nface, UCFD_INT *nei_ele, UCFD_FLOAT *fnorm_vol, UCFD_FLOAT *rhsb, UCFD_FLOAT *dub, UCFD_FLOAT *tdiag, UCFD_FLOAT *tjmat) |
| Upper sweep of Block LU-SGS method for RANS equations. More... | |
| void | blusgs_serial_ns_update (UCFD_INT neles, UCFD_FLOAT *uptsb, UCFD_FLOAT *dub, UCFD_FLOAT *subres) |
| Updates solution array. More... | |
| void | blusgs_serial_update (UCFD_INT neles, UCFD_FLOAT *uptsb, UCFD_FLOAT *dub, UCFD_FLOAT *subres) |
| Updates solution array. More... | |
Block LU-SGS time integration method for unstructured grid.
======================================================================================================================
Block LU-SGS time integration method (Single thread only).
In contrast to LU-SGS method, Block LU-SGS method uses block operator instead of spectral radius.
Computation process is same with LU-SGS.
For more information, refer to the lusgs.c.
Definition in file blusgs.c.
| void blusgs_serial_ns_update | ( | UCFD_INT | neles, |
| UCFD_FLOAT * | uptsb, | ||
| UCFD_FLOAT * | dub, | ||
| UCFD_FLOAT * | subres | ||
| ) |
| void blusgs_serial_update | ( | UCFD_INT | neles, |
| UCFD_FLOAT * | uptsb, | ||
| UCFD_FLOAT * | dub, | ||
| UCFD_FLOAT * | subres | ||
| ) |
| void ns_serial_block_lower_sweep | ( | UCFD_INT | neles, |
| UCFD_INT | nface, | ||
| UCFD_INT * | nei_ele, | ||
| UCFD_FLOAT * | fnorm_vol, | ||
| UCFD_FLOAT * | rhsb, | ||
| UCFD_FLOAT * | dub, | ||
| UCFD_FLOAT * | diag, | ||
| UCFD_FLOAT * | fjmat | ||
| ) |
Lower sweep of Block LU-SGS method for Navier-Stokes equations.
By processing lower sweep, intermediate solution \(\Delta Q^*\) is computed. This function is used for Euler or Navier-Stokes equations, which has the same flux shape.
solution array is stored in dub array.
fjmat is NOT identical with ns_serial_pre_blusgs function. Definition at line 153 of file blusgs.c.

| void ns_serial_block_upper_sweep | ( | UCFD_INT | neles, |
| UCFD_INT | nface, | ||
| UCFD_INT * | nei_ele, | ||
| UCFD_FLOAT * | fnorm_vol, | ||
| UCFD_FLOAT * | rhsb, | ||
| UCFD_FLOAT * | dub, | ||
| UCFD_FLOAT * | diag, | ||
| UCFD_FLOAT * | fjmat | ||
| ) |
Upper sweep of Block LU-SGS method for Navier-Stokes equations.
By processing upper sweep, next sub-iteration solution \(\Delta Q^(k+1)\) is computed. This function is used for Euler or Navier-Stokes equations, which has the same flux shape.
solution array is stored in dub array.
fjmat is NOT identical with ns_serial_pre_blusgs function. Definition at line 272 of file blusgs.c.

| void ns_serial_pre_blusgs | ( | UCFD_INT | neles, |
| UCFD_INT | nface, | ||
| UCFD_FLOAT | factor, | ||
| UCFD_FLOAT * | fnorm_vol, | ||
| UCFD_FLOAT * | dt, | ||
| UCFD_FLOAT * | diag, | ||
| UCFD_FLOAT * | fjmat | ||
| ) |
Computes Diagonal matrix for LU-SGS method.
This function computes diagonal matrices of the implicit operator. In Block LU-SGS method, implicit operator is approximated with block operator. Diagonal matrices is composed of block operator matrix, which size is n-by-n. n is the number of conservative variables in Navier-Stokes equations, or the number of turbulent variables in RANS equations.
Definition at line 39 of file blusgs.c.

| void rans_serial_block_lower_sweep | ( | UCFD_INT | neles, |
| UCFD_INT | nface, | ||
| UCFD_INT * | nei_ele, | ||
| UCFD_FLOAT * | fnorm_vol, | ||
| UCFD_FLOAT * | rhsb, | ||
| UCFD_FLOAT * | dub, | ||
| UCFD_FLOAT * | tdiag, | ||
| UCFD_FLOAT * | tjmat | ||
| ) |
Lower sweep of Block LU-SGS method for RANS equations.
Lower sweep of Block LU-SGS.
This function is used for RANS equations. solution array is stored in dub array.
tjmat is NOT identical with ns_serial_pre_blusgs function. Definition at line 212 of file blusgs.c.

| void rans_serial_block_upper_sweep | ( | UCFD_INT | neles, |
| UCFD_INT | nface, | ||
| UCFD_INT * | nei_ele, | ||
| UCFD_FLOAT * | fnorm_vol, | ||
| UCFD_FLOAT * | rhsb, | ||
| UCFD_FLOAT * | dub, | ||
| UCFD_FLOAT * | tdiag, | ||
| UCFD_FLOAT * | tjmat | ||
| ) |
Upper sweep of Block LU-SGS method for RANS equations.
Upper sweep of Block LU-SGS.
This function is used for RANS equations. solution array is stored in dub array.
tjmat is NOT identical with ns_serial_pre_blusgs function. Definition at line 331 of file blusgs.c.

| void rans_serial_pre_blusgs | ( | UCFD_INT | neles, |
| UCFD_INT | nface, | ||
| UCFD_FLOAT | factor, | ||
| UCFD_FLOAT * | fnorm_vol, | ||
| UCFD_FLOAT * | uptsb, | ||
| UCFD_FLOAT * | dt, | ||
| UCFD_FLOAT * | tdiag, | ||
| UCFD_FLOAT * | tjmat, | ||
| UCFD_FLOAT * | dsrc | ||
| ) |
Computes Diagonal matrix for Block LU-SGS method for RANS equations.
This function computes diagonal matrices of the implicit operator of RANS equations. In Block LU-SGS method, implicit operator is approximated with block operator. Diagonal matrices is composed of block operator matrix, which size is n-by-n. n is the number of conservative variables in Navier-Stokes equations, or the number of turbulent variables in RANS equations.
Definition at line 90 of file blusgs.c.
