turbulentSyntheticEddyInlet - #54
Open
Hursanay wants to merge 2 commits into
Open
Conversation
added 2 commits
August 9, 2026 12:12
Velocity inlet generating synthetic turbulent fluctuations with a
divergence-free synthetic eddy method, reproducing a target Reynolds
stress tensor and integral length scale field. Target profiles default
to bundled DNS channel flow data (Re_tau = 180, 395 and 590) mapped in
wall units, or may be supplied as registered fields. Optional swirl,
mass flow or mean velocity forcing as Function1, and self-correction
of the inlet Reynolds stresses.
Reference:
Fyhn, E. H., & Fyhn, H. (2026).
turbulentSyntheticEddyInlet: A self-correcting, divergence-free
synthetic-eddy boundary condition for OpenFOAM.
SoftwareX, 35, 102907.
LES of a swirling annulus flow demonstrating the turbulentSyntheticEddyInlet boundary condition with a mass flow and swirl number specification.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds turbulentSyntheticEddyInlet, a synthetic-turbulence velocity inlet for LES/DES, together with a tutorial case.
The condition generates inflow using a divergence-free synthetic eddy method. A population of virtual eddies is convected across the patch, with size, shape and strength such that the resulting velocity field reproduces the specified Reynolds stress tensor and integral length scale. The synthetic-eddy velocity field is divergence-free by design, thereby avoiding spurious pressure drops.
--- Features ---
-- Reynols stress tensor and integral length scale distribution are automatically computed. The boundary condition bundles DNS channel flow data for different Reynolds numbers, and the most appropriate set is automatically selected at runtime.
-- Walls and cyclic neighbor patches are detected automatically from the mesh. Wall-distance and direction are used to locally select the right integral length and Reynolds stress tensor and rotate it appropriately. Ghost eddies are created automatically to respect cyclic patches.
-- Minimal usage is simply:
inlet {type turbulentSyntheticEddyInlet; massFlow 1;}
and works for any geometry
--- Tutorial ---
tutorials/fluid/turbulentSwirlAnnulus showcases a simple setup with turbulent swirling flow. Runs in a few minutes on 4 processors.
--- References ---
Method, derivation and validation:
Fyhn, E. H., & Fyhn, H. (2026) turbulentSyntheticEddyInlet: A self-correcting, divergence-free synthetic-eddy boundary condition for OpenFOAM. SoftwareX, 35, 102907. https:://doi.org/10.1016/j.softx.2026.102907
See also https://github.com/Hursanay/turbulentSyntheticEddyInlet for more thorough documentation and tutorial cases
Applications:
H. Fyhn, A. Gruber, H. T. Nygård, J. Dawson, and K.-J. Nogenmyr, "Numerical and Experimental Investigation of a Non-Premixed Flame of Partially Decomposed Ammonia at Atmospheric Pressure," Journal of Engineering for Gas Turbines and Power (accepted, 2026).
H. Fyhn, O. H. H. Meyer, Q. Wang, N. Worth, J. Koomen, T. Dammers, and A. Gruber, "Numerical and Experimental Investigation of a Laboratory-Scale Hydrogen-Fired FlameSheet™ Burner Operated at Atmospheric Pressure With Full Optical Access," Journal of Engineering for Gas Turbines and Power (accepted, 2026).
We have filled the form to request the Contributor Agreement