Implementation of the divergence-free Synthetic Eddy Method in Nek5000.
This repository is an example applied to a straight pipe.
Developed by
Jacopo Canton - jcanton@mech.kth.se
Lorenz Hufnagel - hufnagel@kth.se
Philipp Schlatter - pschlatt@mech.kth.se
and based on a code by Oana Marin and Elia Merzari (ANL).
A setup.py script is provided to get you started.
The pipeMeshNek software (automatically fetched by setup.py) is used for the generation of the mesh and .rea file parameters.
The svn version 1093 of Nek5000 (automatically fetched) is used to run the example.
- run
./setup.pyto fetch and compile the necessary tools, including pipeMeshNek and Nek5000. - to launch the simulation run
mpirun -np X ./nek5000 2>&1 | tee logfile, whereXis the number of processes you wish to use (or submit to a queuing system with an appropriate script).
Turbulence is generated at the inflow boundary with a divergence-free synthetic eddy method (DF-SyEM)
References:
- Hufnagel L., Canton J., Oerlue R., Marin O., Merzari E. and Schlatter P., The three-dimensional structure of swirl-switching in bent pipe flow. Journal of Fluid Mechanics, 835, 86-101. doi:10.1017/jfm.2017.749
- Hufnagel, L.: On the swirl-switching in developing bent pipe flow with direct numerical simulation download here
- Poletto, R.: Divergence free development of the synthetic eddy method in order to improve synthetic turbulence for embedded les simulations, PhD Thesis, The University of Manchester, 2015.
- JARRIN, N., et al. A synthetic-eddy-method for generating inflow conditions for large-eddy simulations. International Journal of Heat and Fluid Flow, 2006, 27. Jg., Nr. 4, S. 585-593.