CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Mesh refinement across the curve (https://www.cfd-online.com/Forums/openfoam/90687-mesh-refinement-across-curve.html)

Aleksey_R July 18, 2011 14:58

Mesh refinement across the curve
 
Greetings, colleagues!

I need to refine mesh along some trace. For example, I have a set of points, and I need to refine mesh along the line connecting these points. Please, help me, how to do this.

To explain why I need it. I calculate the chemical reactions and mass transfer on a stationary velocity field (obtained previously from simpleFoam). The case is the flow around an obstacle. And I need to refine mesh along the separatrix which divides the recirculation zone and the core of flow. I can estimate this separatrix from ParaView (e.g. obtain some points and interpolate between them).

As I understand, I need to define some cellSet and then refine it. But how can I define the cellSet in right manner, i.e. along the
separatrix curve?

Please, help.

Best regards, Aleksey.


All times are GMT -4. The time now is 11:10.