Mesh-Growth-Rate-Finder

Versione 1.0.0 (914 Byte) da CANARD ES
Calculates the growth rate for uniform growth of CFD mesh from a given minimum cell size to maximum size.
39 download
Aggiornato 24 apr 2020

In the sizing controls in Ansys Meshing module, while setting sizes for the edges, there are two options: 'element size' or 'number of divisions' (not considering 'sphere of influence'). The problem is that you can not set both together, but in CFD we often have to set the first cell height (from Y+ calculation), and we have to set the number of divisions (especially, when we have a quad/hexa mesh and we wish to do mesh independence study).
The only way is to set the number of divisions and specify the growth rate for the bias in such a manner that the resulting smallest division equals the first cell height. It isn't always easy or convenient to do hand calculations every time, so I have written a simple code in matlab (in which you put the edge length, number of divisions and first cell height, and it gives you the required growth rate) for the purpose.

Cita come

CANARD ES (2024). Mesh-Growth-Rate-Finder (https://github.com/CANARDS/Mesh-Growth-Rate-Finder), GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Computational Fluid Dynamics (CFD) 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.