version 0.6.0
mod_synthetic_eddy_method Module Reference

Synthetic Eddy Methods. More...

Functions/Subroutines

subroutine sem_eddy_box_initialization (sem_n_points, sem_comp_coord_x, sem_comp_coord_y, sem_comp_coord_z, sem_comp_eddy_size, sem_eddy_box_corner1, sem_eddy_box_corner2, sem_eddy_box_volume)
 Initialization of the eddy box from the computational box and the local eddy length.
 
subroutine sem_eddy_initialization (sem_n_eddies, sem_eddy_coord_x, sem_eddy_coord_y, sem_eddy_coord_z, sem_eddy_intensity_x, sem_eddy_intensity_y, sem_eddy_intensity_z, sem_eddy_box_corner1, sem_eddy_box_corner2)
 Initialization of the eddy charateristics (its position and intensity)
 
subroutine sem_compute_instantaneous_velocity (time_step, sem_n_eddies, sem_n_points, sem_comp_coord_x, sem_comp_coord_y, sem_comp_coord_z, sem_comp_eddy_size, sem_velocity_u, sem_velocity_v, sem_velocity_w, sem_velocity_time_averaged_u, sem_velocity_time_averaged_v, sem_velocity_time_averaged_w, sem_uu, sem_vv, sem_ww, sem_uv, sem_uw, sem_vw, sem_eddy_coord_x, sem_eddy_coord_y, sem_eddy_coord_z, sem_eddy_intensity_x, sem_eddy_intensity_y, sem_eddy_intensity_z, sem_spatial_mean_velocity_u, sem_spatial_mean_velocity_v, sem_spatial_mean_velocity_w, sem_eddy_box_corner1, sem_eddy_box_corner2, sem_eddy_box_volume)
 Compute instantaneous velocity signal with prescribed characteristics on a given set of points.
 
double precision function hat_function (delta)
 Hat function.
 
double precision function eddy_form_function (ptdat, pteddy, sizeeddy)
 Form of the eddy function.
 

Detailed Description

Synthetic Eddy Methods can be used to set turbulent inlet boundary conditions or turbulent velocity conditions. We use hte method proposed in [1,2,3].

This module is an adaptation of Fortran code that can be found here.

In an input computational box on which is defined a mean velocity field, Reynolds stresses, length and time scales distributions, the method generates a fluctuating velocity.

[1] A Synthetic-Eddy Method for Generating Inflow Conditions for LES, Jarrin, N., Benhamadouche, S., Laurence, D. and Prosser, R., International Journal of Heat and Fluid Flow, Vol. 27, pp. 585-593, (2006) [2] Reconstruction of Turbulent Fluctuations for Hybrid RANS/LES Simulations Using a Synthetic-Eddy Method, Jarrin, N., Revell, A., Prosser, R. and Laurence, D., to appear in the Proceedings of the 7th International ERCOFTAC Symposium on Engineering Turbulence Modelling and Measurements (ETMM7), Limassol, Cyprus, 4-6 June, (2008) [3] Synthetic Inflow Boundary Conditions for the Numerical Simulation of Turbulence, Jarrin, N., PhD Thesis (2008).