CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Dynamic Mesh Fluid/Solid (https://www.cfd-online.com/Forums/openfoam-programming-development/214179-dynamic-mesh-fluid-solid.html)

Saleh Abuhanieh January 22, 2019 11:11

Dynamic Mesh Fluid/Solid
 
1 Attachment(s)
Dear Foamers


I am attaching a simple 2D geometry where only the white edge is moving/sliding in the positive x direction.
I tried the dynamicMotionSolver, I got correct motion but unusable mesh.
I shifted to foam-extend to use the topoChanger, I tried the movingBodyTopoMesh, however it seems does not work for curved edges.


May be I need to customize a topoChanger for this case. However, I want to hear your advice first.


Regards

simrego January 24, 2019 09:05

Hi!


What if you create a cellzone around that curved edge to the top edge? And move the whole zone.
Or check the displacementLayeredMotion. It is a bit tricky to use but really powerfull.
But there can be many solutions for this problem.

Saleh Abuhanieh February 3, 2019 05:22

Quote:

Originally Posted by simrego (Post 722818)
Hi!


What if you create a cellzone around that curved edge to the top edge? And move the whole zone.
Or check the displacementLayeredMotion. It is a bit tricky to use but really powerfull.
But there can be many solutions for this problem.




Hi simrego,


Thanks for your reply.



The main problem is that the upper edge is not a single straight line.


Actually I think I've solved the problem using adding/removing layers modifier.
First of All I divided the geometry to upper and lower parts (two meshes). Then I've created left and right cell zones on the lower parts and I moved the area between the left, right and the interface between lower and upper regions.



I tried to use sliding interface between the two areas without success.

For solving the physics I used GGI BC for the interface.. I am running the case right now .. let see




Saleh


All times are GMT -4. The time now is 23:21.