Hi Everyone,
I tried to develop a turbulent boundary layer using a synthetic turbulence generator, but after multiple trials, it still doesn’t match the log-law region.
Here is my final result:
This is my config:
[backend]
precision = double
rank-allocator = linear[backend-cuda]
device-id = local-rank
mpi-type = standard[constants]
gamma = 1.4
R = 287.06
mu = 1.4e-5
Pr = 0.72
cpTref = 230401
cpTs = 187359.12
Tref = 273.15[solver]
system = navier-stokes
order = 1
viscosity-correction = sutherland
shock-capturing = entropy-filter ;none
anti-alias = none[solver-entropy-filter]
d-min = 1e-6
p-min = 1e-6
e-tol = 1e-4
niters = 5
formulation = nonlinear[soln-filter]
nsteps = 5
alpha = 36.0
order = 10
cutoff = 1[solver-time-integrator]
formulation = std
scheme = rk45
tstart = 0.0
tend = 0.01
dt = 1e-8
controller = none[solver-interfaces]
riemann-solver = hll ;rusanov
ldg-beta = 0.5
ldg-tau = 0.1[solver-interfaces-line]
flux-pts = gauss-legendre-lobatto
quad-deg = 7
quad-pts = gauss-legendre-lobatto[solver-interfaces-tri]
flux-pts = alpha-opt ;williams-shunn
quad-deg = 7
quad-pts = williams-shunn[solver-interfaces-quad]
flux-pts = gauss-legendre-lobatto
quad-deg = 7
quad-pts = gauss-legendre-lobatto[solver-elements-tri]
flux-pts = alpha-opt ;williams-shunn
soln-pts = alpha-opt ;williams-shunn
quad-deg = 7
quad-pts = williams-shunn[solver-elements-quad]
flux-pts = witherden-vincent ;gauss-legendre-lobatto
soln-pts = witherden-vincent ;gauss-legendre-lobatto
quad-deg = 7
quad-pts = witherden-vincent ;gauss-legendre-lobatto[solver-elements-hex]
flux-pts = gauss-legendre-lobatto
soln-pts = gauss-legendre-lobatto
quad-deg = 7
quad-pts = gauss-legendre-lobatto[solver-elements-tet]
flux-pts = alpha-opt ;shunn-ham
soln-pts = alpha-opt ;shunn-ham
quad-deg = 7
quad-pts = shunn-ham[solver-elements-pri]
flux-pts = alpha-opt ;williams-shunn~gauss-legendre-lobatto
soln-pts = alpha-opt~gauss-legendre-lobatto ;williams-shunn~gauss-legendre-lobatto
quad-deg = 7
quad-pts = williams-shunn~gauss-legendre-lobatto[solver-elements-pyr]
flux-pts = gauss-legendre-lobatto
soln-pts = gauss-legendre-lobatto
quad-deg = 7
quad-pts = witherden-vincent[soln-bcs-perfar]
; type = sup-in-fa
eta = y * sqrt(354.18 / (1.4e-5 /0.3648 * 0.1))
u = 354.18 * tanh(%(eta)s / 1.5) # Laminar Boundary Layer
v = 0.0
w = 0.0
rho = 0.3648
p = 22699[soln-bcs-outlet]
type = sup-out-fn[soln-bcs-outlet_aip]
type = sup-out-fn[soln-bcs-wall]
type = no-slp-adia-wall[soln-bcs-periodic1_z_l]
type = slp-adia-wall[soln-bcs-periodic1_z_r]
type = slp-adia-wall[soln-ics]
rho = 0.3648
u = 354.18
v = 0.0
w = 0.0
p = 22699[solver-plugin-turbulence]
turbulence-intensity = 3
turbulence-length-scale = 0.0004
sigma = 0.8
avg-mach = 1.2
avg-u = 354.18
avg-rho = 0.3648
y-dim = 0.0020
z-dim = 0.008
centre = [-0.096, 0.010, 0.004]
rot-axis = [1.0, 0.0, 0.0]
rot-angle = 0.0
Here is velocity field
tavg from 0.0045s to 0.005s
And Q-criterion isosurface (q = 10000)
I wonder if this issue is because the laminar boundary layer thickness is incompatible with the turbulence length scale, or maybe it’s just due to the turbulence intensity. Does anyone have an idea what I should change or test to eliminate these issues?
Best regards,


