Skip to content

OpenFOAM-10: Dynamic Smagorinsky sub-grid scale model with local averaging

License

Notifications You must be signed in to change notification settings

halimarefat/DynSmag

Repository files navigation

Dynamic Smagorinsky (DynSmag)

The Dynamin Smagorinsky SGS model with local averaging, based onThe Dynamin Smagorinsky SGS model with local averaging, based on the following works:

1- M. Germano, U. Piomelli, P. Moin, and W. H. Cabot, “A dynamic subgrid-scale eddy viscosity model,” Phys. Fluids A 3, 1760–1765 (1991).

2- D. K. Lilly, “A proposed modification of the Germano subgrid-scale closure method,” Phys. Fluids A 4, 633–635 (1992).

This code had been developed for OpenFOAM version 4.1 by Ehsan Asgari and an older one by Alberto Passalacqua. This version is developed for OpenFOAM-10.

How to use

After installing OpenFOAM-10 using this instruction, in your OpenFOAM case, add the following code line to the "system/controlDict" file:

libs ("/path/to/DynSmag.so");

and change the model to "DynSmag" in "constant/momentumTransport" file. Now, you are good to run the case. Happy computing!

About

OpenFOAM-10: Dynamic Smagorinsky sub-grid scale model with local averaging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published