CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] BlockMesh grading calculator (https://www.cfd-online.com/Forums/openfoam-meshing/61785-blockmesh-grading-calculator.html)

Slackware_user April 9, 2012 12:21

I mean if these coordinates represent lines or smth else or just points on surface in random locations.

generally the question is is it possible to split model into blocks by splines, arks or just lines with coordinates at these points.

kev4573 October 10, 2012 13:55

I find myself using this tool quite a bit. Can we get this put in a repo somewhere and maintained?

Kind regards,
Kevin

EFoster2 February 14, 2014 12:10

Great Post and great utility!

In some sections of my block mesh I want the start to be fine then become gradually more coarse by the mid point then become fine again at the end? The only way I can think this can be done is by splitting the original block in two. Is there any way this can be done with out having to split it?

Euan Foster

gschaider August 13, 2014 18:13

Inspired by the original utility I implemented a calculator for the mesh grading and put it onto the Wiki: http://openfoamwiki.net/index.php/Sc...ng_calculation.

It is a WebApp so no need to install it (browser is all you need). If you want to do so anyway or improve it you find the sources at https://bitbucket.org/bgschaid/blockmeshgradingweb

gschaider August 14, 2014 06:45

Quote:

Originally Posted by gschaider (Post 505854)
Inspired by the original utility I implemented a calculator for the mesh grading and put it onto the Wiki: http://openfoamwiki.net/index.php/Sc...ng_calculation.

It is a WebApp so no need to install it (browser is all you need). If you want to do so anyway or improve it you find the sources at https://bitbucket.org/bgschaid/blockmeshgradingweb

There are still some issues which are related to the Wiki-Software (Caching etc). Working on it.

HPE November 23, 2020 07:49

Hello,

Is the utility repository still alive?

https://bitbucket.org/bgschaid/blockmeshgradingweb

Seems to be lost at the time of writing.

Thanks.

gschaider November 23, 2020 08:54

1 Attachment(s)
Quote:

Originally Posted by HPE (Post 788564)
Hello,

Is the utility repository still alive?

https://bitbucket.org/bgschaid/blockmeshgradingweb

Seems to be lost at the time of writing.

Thanks.


Problem is that BitBucket cancelled the only thing that made it worthwhile: support for Mercurial repositories and at the time I didn't bother to set up the repo anywhere else


If you're really interested I attached a bundle with the repo. To use it you've got to extract it into a Mercurial repo. In the directory where you stored it

Code:

gunzip blockMeshGradingWeb.bundle.gz
mkdir blockMeshGrading
cd blockMeshGrading
hg init .
hg unbundle ../blockMeshGradingWeb.bundle --update


HPE November 23, 2020 12:18

Thank you very much for this contribution.

I will push a public git repo somewhere when I get some time off.

gschaider November 23, 2020 17:04

Quote:

Originally Posted by HPE (Post 788603)
Thank you very much for this contribution.

I will push a public git repo somewhere when I get some time off.


Go ahead.


Although part of me says "Had I known that it will end up in the 'Windows of version control systems' I would have thought twice". But that way I don't feel responsible for it anymore (didn't touch the code since 2014 anyway. From what I remember the coding is .... interesting)

HPE November 28, 2020 11:15

Thank you very very much for your code and contributions in all aspects of OpenFOAM.

Please see the public repo in GitLab: https://gitlab.com/herpes-free-engin...meshgradingweb


All times are GMT -4. The time now is 12:01.