CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ANSYS Meshing] edge sizing control--Calculate cell-to-cell expansion rate from bias factor (https://www.cfd-online.com/Forums/ansys-meshing/88361-edge-sizing-control-calculate-cell-cell-expansion-rate-bias-factor.html)

la7low May 15, 2011 10:42

edge sizing control--Calculate cell-to-cell expansion rate from bias factor
 
Hi Everyone,

could someone tell me how to calculate first cell height and cell-to-cell growth rate from bias factor and number of cells?

It would be very important. Anyway why does the Workbench Mesher use this kind of sizing (with bias factor) on the edges? Cell height and growth rate of successive cells is more useful IMO.

Thanks for the answer in advance!

la7low May 15, 2011 12:11

ohh I got it
 
I figured it out...

Using the following notations:

Edge length L
Number of cells n
Total expansion ratio r (=bias factor in Ansys Meshing)
Cell-to-cell expansion k (or geometric growth ratio)
Start cell size ds
End cell size de

The equations to be fulfilled:
L=sum(ds*k^i), i=0..n-1
de/ds=r=k^(n-1)

From the above 3 equations any 3 of the 6 unknown mesh parameters can be calculated.

See this thread too where a guy made a code to carry out the calculations for any known-unknown combinations of the 6 parameters.
http://www.cfd-online.com/Forums/ope...alculator.html

asurpam August 20, 2012 07:43

Can you explain it in more detail

rajann_786 October 14, 2015 06:37

Thanks to 'la7low'

eansgo January 23, 2020 07:24

Hi

This doesn't work at least in 2019 R2 version. Does anyone know how to calculate it properly?

Thank you

jatindergoel777 October 22, 2020 11:25

1 Attachment(s)
@eansgo, the formulas given above work just fine for 2019 R3 version. I have implemented them in a matlab file. That might be helpful for people in the future.

Erfan Didari December 19, 2021 06:49

Thanks.
This work of yours helped a lot.


All times are GMT -4. The time now is 05:49.