CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Mesh smoothing at runtime in OF (http://www.cfd-online.com/Forums/openfoam/76205-mesh-smoothing-runtime.html)

WiWo May 18, 2010 03:21

Mesh smoothing at runtime in OF
 
3 Attachment(s)
Hello Foamers,

I have a question concerning dynamic meshes.

I have an oscillating circular wall (representing a bubble) inside a pipe. As the pipe and the bubble are of similar dimension and the bubble changes greatly in diameter, I employ the layerAdditionRemoval engine of TopoChangerFvMesh.

The bubble is surrounded by several concentric prism layers, which it 'eats up' when expanding and reallocates when contracting - everything fine so far.
Now this bubble won't stay perfectly spherical but rather become elliptical as it expands - and here comes the problem. Is it possible in Openfoam (using OF-1.5-dev) to 'adapt', 'relax' or 'smooth' the mesh at runtime in order to make my prism layers adapt to the form of the bubble?

So far, my bubble wall expands in an elliptical way but the prism layers - of course - stay circular, thus leading after some layerRemoval steps to a very bad mesh (see pics).

Does anybody have a suggestion on how to tackle this problem? I already tried combining with automaticMeshMotion but I can't find a way to smooth the mesh.

I would greatly welcome and appreciate any advice!
Best regards,
Wolfgang

lakeat December 2, 2011 15:25

Quote:

Originally Posted by WiWo (Post 259214)
Hello Foamers,

I have a question concerning dynamic meshes.

I have an oscillating circular wall (representing a bubble) inside a pipe. As the pipe and the bubble are of similar dimension and the bubble changes greatly in diameter, I employ the layerAdditionRemoval engine of TopoChangerFvMesh.

The bubble is surrounded by several concentric prism layers, which it 'eats up' when expanding and reallocates when contracting - everything fine so far.
Now this bubble won't stay perfectly spherical but rather become elliptical as it expands - and here comes the problem. Is it possible in Openfoam (using OF-1.5-dev) to 'adapt', 'relax' or 'smooth' the mesh at runtime in order to make my prism layers adapt to the form of the bubble?

So far, my bubble wall expands in an elliptical way but the prism layers - of course - stay circular, thus leading after some layerRemoval steps to a very bad mesh (see pics).

Does anybody have a suggestion on how to tackle this problem? I already tried combining with automaticMeshMotion but I can't find a way to smooth the mesh.

I would greatly welcome and appreciate any advice!
Best regards,
Wolfgang

I made surface point moving and then laplacian smooth the whole flow point. If the initial mesh is not too bad, then the results are acceptable.


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