wall_weights Function

public function wall_weights(mesh, dir, walls) result(w)

Weights of the local vertices of direction dir in the outlet flow rate, as the discrete divergence sees it: its interpolation along a non-periodic direction gives the global boundary planes half the weight of the others (trapezoid). u is not stamped on a free-slip wall, so the wall planes keep their 1/2.

Arguments

Type IntentOptional Attributes Name
type(mesh_t), intent(in) :: mesh
integer, intent(in) :: dir
logical, intent(in) :: walls

Return Value real(kind=dp), allocatable, (:)


Calls

proc~~wall_weights~~CallsGraph proc~wall_weights m_case_wind_turbine::wall_weights proc~get_dims m_mesh::mesh_t%get_dims proc~wall_weights->proc~get_dims proc~get_dims_dataloc m_mesh::get_dims_dataloc proc~get_dims->proc~get_dims_dataloc

Called by

proc~~wall_weights~~CalledByGraph proc~wall_weights m_case_wind_turbine::wall_weights proc~case_wind_turbine_init m_case_wind_turbine::case_wind_turbine_init proc~case_wind_turbine_init->proc~wall_weights interface~case_wind_turbine_t m_case_wind_turbine::case_wind_turbine_t interface~case_wind_turbine_t->proc~case_wind_turbine_init