Unphysical pressure waves in LES of a circular cylinder
› Forums › OpenLB › General Topics › Unphysical pressure waves in LES of a circular cylinder
- This topic has 1 reply, 2 voices, and was last updated 4 weeks, 1 day ago by mathias.
-
AuthorPosts
-
October 16, 2026 at 11:21 am #11298Zhao JiayuParticipant
Hello OpenLB community,
I am running a 3D single-cylinder benchmark at Re = 3900 with OpenLB 1.8.1 (GPU/CUDA build, float precision) and observe strong unphysical pressure oscillations over the whole domain, with clearly visible pressure waves near the inlet. I would greatly appreciate any hints on the cause and on best-practice solutions.
1. Case summary
– Single circular cylinder, Re = U0·D/ν = 3900, aspect ratio L/D = 3 (periodic in span)
– Benchmark targets: mean Cd ≈ 1.0, St ≈ 0.21
– Currently obtained: mean Cd ≈ 1.25, St ≈ 0.195(Base level N=16)
2. Computational domain
– 40D (streamwise, x) × 20D (lateral, z) × 3D (spanwise, y), cylinder axis along y at the domain center: 20D upstream, 20D downstream, ±10D lateral, blockage ratio 5%
3. Boundary conditions
Location Material Boundary
Inlet (x = −20D) 3 boundary::InterpolatedVelocity, uniform U0, ramped 0→U0 over 5 s (quintic PolynomialStartScale)
Outlet (x = +20D) 4 boundary::InterpolatedPressure, p = 0 (gauge);
Lateral walls (z = ±10D) 6 boundary::FullSlip
Spanwise (y) — periodic
Cylinder 2 boundary::BounceBack (on the refined levels)4. Fluid parameters
– Air: ρ = 1.225 kg/m³, D = 0.05715 m, U0 = 1.03 m/s
– ν = U0·D/Re = 1.51×10⁻⁵ m²/s
5. Bulk dynamics
– SmagorinskyBGKdynamics (D3Q19), Smagorinsky constant Cs = 0.15
– τ = 3·ν_lattice + 0.5 with ν_lattice = latticeU·N/Re → τ ≈ 0.5006 on level0, τ ≈ 0.5049 on the finest level
6. Grid refinement (Lagrava, 4 levels, factor 2 between levels)
Level Extent (x × z) Resolution
0 whole domain (40D × 20D) N0 = 16 cells/D
1 [−5D, 15D] × [−5D, 5D] 32 cells/D
2 [−2D, 11D] × [−1.5D, 1.5D] 64 cells/D
3 [−1D, 9D] × [−1D, 1D] (contains cylinder) 128 cells/D~186 M cells in total (~1.18×10⁹ weighted-equivalent DOF).
7. Numerical parameters
– latticeU = 0.05 → Ma = latticeU·√3 ≈ 0.087; advective CFL = 0.05
– Δt0 = latticeU·D/(U0·N0) ≈ 1.73×10⁻⁴ s (finest level: Δt0/8)
– Total simulated time 12 s ≈ 216 convective time units t* = t·U0/D; inlet ramp 5 s (90 t*), statistics collected from t = 7 s
– VTK output every 0.5 s
– Platform: OpenLB 1.8.1, CUDA_ARCH=89, 4× RTX 4090, MPI (HPC-X), float
8. Observed problem
The physPressure field shows large-amplitude, unphysical oscillations covering the entire domain, with wave fronts near the inlet that appear to reflect between boundaries (video: [https://github.com/user-attachments/assets/c841227c-db7b-41f0-92d7-dec1fa5435fc]). The wake statistics above are moderately off target, but the pressure field is clearly contaminated.
What we have tried so far:
1. Sponge layer (SpongeLayerDynamics): diverges after ~450 steps, currently shelved
2. Enlarged domain 400D × 3D × 200D, 5 levels: unstable at startup
3. Convective outflow (boundary::InterpolatedConvection) at the outlet: diverges
Questions
1. Is InterpolatedPressure known to be significantly reflecting for acoustic waves? Is InterpolatedConvection the recommended non-reflecting outlet in OpenLB, and are there further measures already available?
2. For Re = 3900 cylinder LES with this goal (clean pressure field, Cd/St accuracy), would you recommend different boundary choices, domain sizing, or damping-zone practices?
3. Could BGK + Smagorinsky at τ ≈ 0.50 produce such full-field pressure artifacts by itself, and would a different collision operator (e.g., regularized) be clearly preferable here?
9.Key codeusing T = FLOATING_POINT_TYPE; // float using DESCRIPTOR = D3Q19<>; using BulkDynamics = SmagorinskyBGKdynamics<T,DESCRIPTOR>; const T D = 0.05715; // m const T inletVelocity = 1.03; // m/s // Domain: 40D x 3D x 20D, cylinder axis along y at the origin IndicatorCuboid3D<T> domain({40.0*D, 3.0*D, 20.0*D}, {-20.0*D, 0.0, -10.0*D}); // level0 (renumbered with a one-cell shell for the boundaries) sGeometry.rename(0, 6, domainI); // whole box -> 6 sGeometry.rename(6, 1, fluidDomainI); // interior -> 1 sGeometry.rename(6, 3, inletI); // x=-20D -> 3 sGeometry.rename(6, 4, outletI); // x=+20D -> 4 // refined levels: all fluid, then cylinder sGeometry.rename(0, 1); sGeometry.rename(1, 2, *cylinder); // BounceBack material 2 // dynamics / boundary binding (level0; same pattern on levels 1-3) sLattice.defineDynamics<BulkDynamics>(sGeometry.getMaterialIndicator({1})); boundary::set<boundary::BounceBack>(sLattice, sGeometry, 2); boundary::set<boundary::InterpolatedVelocity<T,DESCRIPTOR,BulkDynamics>>(sLattice, sGeometry, 3); boundary::set<boundary::InterpolatedPressure<T,DESCRIPTOR,BulkDynamics>>(sLattice, sGeometry, 4); boundary::set<boundary::FullSlip>(sLattice, sGeometry, 6); // inlet ramp PolynomialStartScale<T,std::size_t> startScale(iTmaxStart, T(1)); // u_inlet = frac(t) * U0, frac = 10y^3 - 15y^4 + 6y^5, rampTime = 5 s10.Github repository
https://github.com/ZHAOjy05/OpenLB_singleCylinder3d_Re3900
You can find the source code in the repository and more videos and images in issues.October 18, 2026 at 6:44 pm #11300mathiasKeymasterDear Zhao,
I recomment to update to the master from our public git https://gitlab.com/openlb/release.git .
Best
Mathias -
AuthorPosts
- You must be logged in to reply to this topic.
