Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
wall_sampler Module Reference

Defines the abstract interface for wall-model field samplers.

Data Types

interface  wall_sampler_finalize
 Complete sampler setup after geometric and wall-node data are known. More...
 
interface  wall_sampler_free
 Release sampler resources. More...
 
interface  wall_sampler_init
 Parse sampler-specific configuration from JSON. More...
 
interface  wall_sampler_sample
 Evaluate and store sampled field values at all sampling points. More...
 
type  wall_sampler_t
 Base type for sampling solution fields at points associated with wall nodes. Samples belonging to one wall node are stored contiguously. More...
 

Functions/Subroutines

subroutine wall_sampler_init_base (this, n_nodes, n_samples, h, output_h)
 Initialise state common to all fully constructed wall samplers.
 
subroutine wall_sampler_output_h (this, coef, msk, bc_name)
 Write the first sampling distance at every wall node to a field file.
 

Function/Subroutine Documentation

◆ wall_sampler_init_base()

subroutine wall_sampler::wall_sampler_init_base ( class(wall_sampler_t), intent(inout this,
integer, intent(in n_nodes,
integer, intent(in n_samples,
type(vector_t), intent(in h,
logical, intent(in output_h 
)
private
Parameters
n_nodesNumber of local wall nodes.
n_samplesNumber of samples at each wall node.
hWall-normal distances in sampler ordering.
output_hWhether to write the sampling-distance diagnostic.

Definition at line 136 of file wall_sampler.f90.

◆ wall_sampler_output_h()

subroutine wall_sampler::wall_sampler_output_h ( class(wall_sampler_t), intent(inout this,
type(coef_t), intent(in coef,
integer, dimension(0:), intent(in msk,
character(len=*), intent(in bc_name 
)
private

The first sample is written to retain a scalar diagnostic field when samplers support multiple points per wall node.

Parameters
coefSEM coefficients defining the output field.
mskMask selecting local wall nodes.
bc_nameName of the owning boundary condition.

Definition at line 164 of file wall_sampler.f90.

Here is the call graph for this function: