| 
    Neko 0.9.1
    
   A portable framework for high-order spectral element flow simulations 
   | 
 
Wall model based on Spalding's law of the wall. Reference: http://dx.doi.org/10.1115/1.3641728. More...


Public Member Functions | |
| procedure, pass(this) | init (this, coef, msk, facet, nu, h_index, json) | 
| Constructor from JSON.   | |
| procedure, pass(this) | init_from_components (this, coef, msk, facet, nu, h_index, kappa, b) | 
| Constructor from components.   | |
| procedure, pass(this) | free (this) | 
| Destructor.   | |
| procedure, pass(this) | compute (this, t, tstep) | 
| Compute the wall shear stress.   | |
| procedure, pass(this) | init_base (this, coef, msk, facet, nu, index) | 
| Constructor for the wall_model_t (base) class.   | |
| procedure, pass(this) | free_base (this) | 
| Destructor for the wall_model_t (base) class.   | |
| procedure(wall_model_init), deferred, pass | init (this, coef, msk, facet, nu, h_index, json) | 
| The common constructor.   | |
| procedure(wall_model_free), deferred, pass | free (this) | 
| Destructor.   | |
| procedure(wall_model_compute), deferred, pass | compute (this, t, tstep) | 
| Compute the wall shear stress.   | |
| procedure, pass(this) | find_points (this) | 
Find the sampling points based on the value of h_index.   | |
Public Attributes | |
| real(kind=rp) | kappa = 0.41_rp | 
| The von Karman coefficient.   | |
| real(kind=rp) | b = 5.2_rp | 
| The log-law intercept.   | |
| type(coef_t), pointer | coef => null() | 
| SEM coefficients.   | |
| type(dofmap_t), pointer | dof => null() | 
| Map of degrees of freedom.   | |
| integer, dimension(:), pointer | msk => null() | 
| The boundary condition mask. Stores the array size at index zero!   | |
| integer, dimension(:), pointer | facet => null() | 
| The boundary condition facet ids. Stores the array size at index zero!   | |
| real(kind=rp), dimension(:), allocatable | tau_x | 
| The x component of the shear stress.   | |
| real(kind=rp), dimension(:), allocatable | tau_y | 
| The y component of the shear stress.   | |
| real(kind=rp), dimension(:), allocatable | tau_z | 
| The z component of the shear stress.   | |
| type(vector_t) | n_x | 
| The x component of the normal.   | |
| type(vector_t) | n_y | 
| The y component of the normal.   | |
| type(vector_t) | n_z | 
| The z component of the normal.   | |
| integer, dimension(:), allocatable | ind_r | 
| The r indices of the sampling points.   | |
| integer, dimension(:), allocatable | ind_s | 
| The s indices of the sampling points.   | |
| integer, dimension(:), allocatable | ind_t | 
| The t indices of the sampling points.   | |
| integer, dimension(:), allocatable | ind_e | 
| The element indices of the sampling points.   | |
| type(vector_t) | h | 
| The sampling height.   | |
| integer | h_index = 0 | 
| Sampling index.   | |
| integer | n_nodes = 0 | 
| Number of nodes in the boundary.   | |
| real(kind=rp) | nu = 0_rp | 
| Kinematic viscosity value.   | |
| type(field_t), pointer | tau_field => null() | 
| The 3D field with the computed stress magnitude at the boundary.   | |
Private Member Functions | |
| procedure, pass(this), private | solve (this, u, y, guess) | 
| Solve for the friction velocity.   | |
Definition at line 53 of file spalding.f90.
| procedure, pass(this) spalding::spalding_t::compute | ( | class(spalding_t), intent(inout) | this, | 
| real(kind=rp), intent(in) | t, | ||
| integer, intent(in) | tstep | ||
| ) | 
| t | The time value. | 
| tstep | The current time-step. | 
Definition at line 67 of file spalding.f90.
      
  | 
  pure virtualinherited | 
Definition at line 103 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 105 of file wall_model.f90.
Definition at line 65 of file spalding.f90.
      
  | 
  pure virtualinherited | 
Definition at line 101 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 97 of file wall_model.f90.
| procedure, pass(this) spalding::spalding_t::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 60 of file spalding.f90.
      
  | 
  pure virtualinherited | 
Definition at line 99 of file wall_model.f90.
      
  | 
  inherited | 
| object | The object to be allocated. | 
| 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. Constructor for the wall_model_t (base) class. | 
| coef | SEM coefficients. | 
| msk | The underlying mask of the boundary condition. | 
| facet,The | underlying facet index list of the boundary condition. | 
| nu | The kinematic viscosity. | 
| index | The off-wall index of the sampling point. | 
Definition at line 95 of file wall_model.f90.
| procedure, pass(this) spalding::spalding_t::init_from_components | ( | 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, | ||
| real(kind=rp), intent(in) | kappa, | ||
| real(kind=rp), intent(in) | b | ||
| ) | 
| 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 62 of file spalding.f90.
      
  | 
  private | 
| u | The velocity value. | 
| y | The wall-normal distance. | 
| guess | Initial guess. | 
Definition at line 69 of file spalding.f90.
Definition at line 57 of file spalding.f90.
Definition at line 56 of file wall_model.f90.
Definition at line 58 of file wall_model.f90.
Definition at line 62 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 84 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 86 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 82 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 76 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 78 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 80 of file wall_model.f90.
Definition at line 55 of file spalding.f90.
Definition at line 60 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 88 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 70 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 72 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 74 of file wall_model.f90.
Definition at line 90 of file wall_model.f90.
Definition at line 92 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 64 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 66 of file wall_model.f90.
      
  | 
  inherited | 
Definition at line 68 of file wall_model.f90.