Implements rough_log_law_t
.
|
type | rough_log_law_t |
| Wall model based on the log-law for a rough wall. The formula defining the law is \( u^+ = log(z/z_0)/\kappa + B \). Here, \( z \) is the wall-normal distance, as per tradition in atmospheric sciences, where this law is often used. More...
|
|
|
subroutine | rough_log_law_init (this, coef, msk, facet, nu, h_index, json) |
| Constructor from JSON. More...
|
|
subroutine | rough_log_law_init_from_components (this, coef, msk, facet, nu, h_index, kappa, B, z0) |
| Constructor from components. More...
|
|
subroutine | rough_log_law_free (this) |
| Destructor for the rough_log_law_t (base) class. More...
|
|
subroutine | rough_log_law_compute (this, t, tstep) |
| Compute the wall shear stress. More...
|
|
◆ rough_log_law_compute()
subroutine rough_log_law::rough_log_law_compute |
( |
class(rough_log_law_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
integer, intent(in) |
tstep |
|
) |
| |
|
private |
- Parameters
-
t | The time value. |
tstep | The time iteration. |
Definition at line 142 of file rough_log_law.f90.
◆ rough_log_law_free()
subroutine rough_log_law::rough_log_law_free |
( |
class(rough_log_law_t), intent(inout) |
this | ) |
|
|
private |
◆ rough_log_law_init()
subroutine rough_log_law::rough_log_law_init |
( |
class(rough_log_law_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 |
|
) |
| |
- Parameters
-
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 81 of file rough_log_law.f90.
◆ rough_log_law_init_from_components()
subroutine rough_log_law::rough_log_law_init_from_components |
( |
class(rough_log_law_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, |
|
|
real(kind=rp), intent(in) |
kappa, |
|
|
real(kind=rp), intent(in) |
B, |
|
|
real(kind=rp), intent(in) |
z0 |
|
) |
| |
|
private |
- Parameters
-
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. |
z0 | The roughness height. |
Definition at line 107 of file rough_log_law.f90.