Neko
0.9.99
A portable framework for high-order spectral element flow simulations
|
Implements spalding_t
.
Data Types | |
type | spalding_t |
Wall model based on Spalding's law of the wall. Reference: http://dx.doi.org/10.1115/1.3641728. More... | |
Functions/Subroutines | |
subroutine | spalding_init (this, coef, msk, facet, nu, h_index, json) |
Constructor from JSON. More... | |
subroutine | spalding_init_from_components (this, coef, msk, facet, nu, h_index, kappa, B) |
Constructor from components. More... | |
subroutine | spalding_free (this) |
Destructor for the spalding_t (base) class. More... | |
subroutine | spalding_compute (this, t, tstep) |
Compute the wall shear stress. More... | |
real(kind=rp) function | solve (this, u, y, guess) |
Newton solver for the algebraic equation defined by the law. More... | |
|
private |
u | The velocity value. |
y | The wall-normal distance. |
guess | Initial guess. |
Definition at line 188 of file spalding.f90.
|
private |
t | The time value. |
tstep | The current time-step. |
Definition at line 137 of file spalding.f90.
|
private |
Definition at line 127 of file spalding.f90.
subroutine spalding::spalding_init | ( | class(spalding_t), intent(inout) | this, |
type(coef_t), intent(in) | coef, | ||
integer, dimension(:), intent(in) | msk, | ||
integer, dimension(:), intent(in) | facet, | ||
real(kind=rp), intent(in) | nu, | ||
integer, intent(in) | h_index, | ||
type(json_file), intent(inout) | json | ||
) |
coef | SEM coefficients. |
msk | The boundary mask. |
facet | The boundary facets. |
nu | The molecular kinematic viscosity. |
h_index | The off-wall index of the sampling cell. |
json | A dictionary with parameters. |
Definition at line 80 of file spalding.f90.
|
private |
coef | SEM coefficients. |
msk | The boundary mask. |
facet | The boundary facets. |
nu | The molecular kinematic viscosity. |
h_index | The off-wall index of the sampling cell. |
kappa | The von Karman coefficient. |
B | The log-law intercept. |
Definition at line 104 of file spalding.f90.