Y-plus-Calculator

Versione 1.0.0 (1,53 KB) da CANARD ES
Calculator of First Cell Height of Computational Domain for CFD
151 download
Aggiornato 25 apr 2020

Y+ is a dimensionless parameter in fluid dynamics, defined as the dimensionless distance from the wall, generally used to express
height relative to the viscous sub-layer near the wall. For properly modeling turbulent viscous flows in the near-wall region using CFD, it is necessary that the first cell height (height of the first row of cells near the wall) the mesh/grid should be according to the Y+ resolution required by the turbulence model.
For turbulence models like k-espilon with standard wall functions Y+ should be in the range of 30-300 and for turbulence models with wall treatment (like k-omega, Spalart-Allmaras, k-espilon with Enhanced Wall Treatment), Y+ should be equal to 1.
Y+ calculation is fairly an easy task, yet it gets disturbing to do the tedious task of hand calculations again and again. There are some online calculators available but they are based on old Prandtl (1925)'s 1/7th powerlaw, which works only for limited lower ranges of Reynolds numbers.
This Matlab code is built to calculate the estimated first cell height from the free-stream conditions and the desired value of Y+,
based on the skin-friction coefficient estimation of Hermann Schlichting (1979) (which works efficiently up to Reynolds numbers of
10^9) for external flows and Churchill (1977) equation (which is valid for all flow regimes) for internal (pipe/duct) flows.
Coded by: CANARD Engineering Services (PVT) Limited
Islamabad, Pakistan.
canardspk@gmail.com

Cita come

CANARD ES (2024). Y-plus-Calculator (https://github.com/CANARDS/Y-plus-Calculator), GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2020a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Fluid Mechanics in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate

Versione Pubblicato Note della release
1.0.0

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.