CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   inflated quadratic element mesh (https://www.cfd-online.com/Forums/openfoam-pre-processing/97058-inflated-quadratic-element-mesh.html)

fferroni February 8, 2012 03:57

inflated quadratic element mesh
 
Hello

I've been trying to change the parameters of simpleGrading in the mesh file so that I get smaller quadratic orthogonal elements near the edges. However, I seem to only be able to make them refined on one side. I just have a square cross-section that I would like to refine at the edges.

Thank you very much

Kind Regards,

F

akidess February 8, 2012 07:33

http://code.google.com/p/blockmeshdg/

fferroni February 8, 2012 11:32

Apologies for the noob question, but where do I put the folder that I just downloaded?

Rgds,

F

akidess February 8, 2012 11:37

In principle any where, but I like to put it in OpenFOAM/user-2.0.x/applications/utilities/. After you extracted the files, run the Allwmake script once and then you can use the utility.

fferroni February 11, 2012 05:00

Hi.
I did as you said, and put the blockmeshdg folder in applications/utilities and then ran allwmake from the folder but it told me the command didn't exist. i also tried wmake but it failed.

ideas?

Kindest regards,

F

akidess February 11, 2012 07:30

What happened exactly when you ran ./Allwmake? What was the error message if you got any? Were you able to run any other OpenFOAM commands in the same shell?

The executable name is "blockMeshDG" by the way - the capitalization is important.

fferroni February 11, 2012 09:42

Ok it compiles now.

What is the required syntax for having inflated meshes at each side of a square? simpleGrading I suppose would not incorporate this effect?

Kindest Regards,

Francesco

akidess February 11, 2012 10:06

Use it just like the standard blockMesh, but use negative coefficients where you want double grading.

fferroni February 15, 2012 02:54

Awesome.

That works very nicely.

Thank you very much.

F


All times are GMT -4. The time now is 08:36.