CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Dynamic and Static Mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2019, 17:06
Default Dynamic and Static Mesh
  #1
New Member
 
MO
Join Date: Jun 2019
Posts: 5
Rep Power: 6
czb58 is on a distinguished road
Hi all,

I want to do the simulations with dynamic mesh. Please find the following figures for the problem. The movingWall only moves in x-direction. So I following movingCone case in the tutorial to setup the file 'pointMotionUx'.

The problem is that the mesh will move in the whole domain. I just want the mesh to move in the 'dynamic zone' as shown in the figure 2. The last figure shows the mesh after it moves. Can anyone tell me which motion solver I should use? or how can I separate the zone to make sure that the mesh only moves in a specific zone?

Thanks,
Chao

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file: dynamicMeshDict

dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libfvMotionSolvers.so");
motionSolver velocityComponentLaplacian;
component x;
diffusivity directional (1 100 0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

movingWall.png
move1.0000.jpg
move1.0014.jpg
czb58 is offline   Reply With Quote

Old   July 15, 2019, 15:46
Default
  #2
New Member
 
MO
Join Date: Jun 2019
Posts: 5
Rep Power: 6
czb58 is on a distinguished road
It looks like nobody wants to answer this question.
czb58 is offline   Reply With Quote

Old   July 16, 2019, 06:03
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,


I would not use the topoCone example as it is for cell remove/adding purposes and the set-up is a bit more difficult as you think. I would just move the wall you defined to be moved. Somehow like in this video https://www.youtube.com/watch?v=Atoz4VVuV5A.


You need to use a dynamic mesh solver and move the boundary you want. All other patches are fixed and the cells inside your mesh gets distorted based on a diffusion equation.


Good luck.
Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] How to combine dynamic mesh and static mesh chery1986 OpenFOAM Meshing & Mesh Conversion 17 October 25, 2023 00:55
udf for valve closing a pipe using dynamic mesh chem engineer Fluent UDF and Scheme Programming 2 May 13, 2017 09:39
Dynamic mesh is not getting updated. cardio FLUENT 1 May 20, 2014 08:41
How to know mesh size after dynamic refinement tayo OpenFOAM 16 May 22, 2013 13:39
Use mesh motion to introduce angle for static simulation dancfd OpenFOAM Running, Solving & CFD 1 November 18, 2010 19:15


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