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

dynmaicMesh to reduce a cavity

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2016, 09:36
Default dynmaicMesh to reduce a cavity
  #1
Member
 
Gareth
Join Date: Jun 2010
Posts: 56
Rep Power: 15
bullmut is on a distinguished road
Hi All

I have been using openFOAM with some success but now to hit the hard stuff.
Well hard for me.
My simulation is that of a channel with a groove. I would like to reduce the groove size as the simulation runs. This is of course a reduced version of the final goal but if i can get an understanding of dynamicMesh i will be more comfortable attacking the larger problem.

The groove reduces in height as the simulation runs. I have a blockMesh for this mesh that has groove as a separate wall boundary.
Quote:
vertices
(
(0 0 0)
(1 0 0)
(0 1 0)
(-1 0 0)
(-2 0 0)
(-2 -1 0)
(-1 -1 0)
(0 -1 0)
(1 -1 0)
(2 -1 0)
(2 0 0)
(0 0 0.1)
(1 0 0.1)
(0 1 0.1)
(-1 0 0.1)
(-2 0 0.1)
(-2 -1 0.1)
(-1 -1 0.1)
(0 -1 0.1)
(1 -1 0.1)
(2 -1 0.1)
(2 0 0.1)
);

blocks
(
hex (0 1 2 0 11 12 13 11) (20 20 1) simpleGrading (1 1 1)
hex (0 2 3 0 11 13 14 11) (20 20 1) simpleGrading (1 1 1)
hex (5 6 3 4 16 17 14 15) (20 20 1) simpleGrading (1 1 1)
hex (6 7 0 3 17 18 11 14) (20 20 1) simpleGrading (1 1 1)
hex (7 8 1 0 18 19 12 11) (20 20 1) simpleGrading (1 1 1)
hex (8 9 10 1 19 20 21 12) (20 20 1) simpleGrading (1 1 1)
);

edges
(
/*arc 1 2 (0.5 0.05 0)
arc 2 3 (-0.5 0.05 0)
arc 12 13 (0.5 0.05 0.1)
arc 13 14 (-0.5 0.05 0.1)*/
);

boundary
(
inlet
{
type patch;
faces
(
(4 5 16 15)
);
}
outlet
{
type patch;
faces
(
//(0 1 4 3)
(9 10 21 20)
);
}
fixedWalls
{
type wall;
faces
(
(5 6 17 16)
(6 7 18 17)
(7 8 19 18)
(8 9 20 19)
(3 4 15 14)
(10 1 12 21)
);
}
groove
{
type wall;
faces
(
(1 2 13 12)
(2 3 14 13)
);
}
frontAndBack
{
type empty;
faces
(
(2 1 0 0)
(2 0 0 3)
(6 5 4 3)
(7 6 3 0)
(8 7 0 1)
(9 8 1 10)
(11 12 13 11)
(11 13 14 11)
(16 17 14 15)
(17 18 11 14)
(18 19 12 11)
(19 20 21 12)
);
}
);

mergePatchPairs
(
);
In the dynamicMeshDict i was thinking of using linearMotion or SDA. Could anyone please direct me towards a tutorial or idea on how to setup the dictionary?

Much obliged
Attached Images
File Type: png end2.png (11.1 KB, 11 views)
File Type: png start2.png (18.0 KB, 10 views)
bullmut 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
[ICEM] Meshing a cavity within an aerofoil Alwaysabeginner ANSYS Meshing & Geometry 5 August 13, 2022 11:59
how to simulate particle jumping out from a water flume cavity juste FLUENT 2 June 1, 2015 02:29
Urgent: Unsteady 3-D supersonic cavity flow Min-Sung Kang FLUENT 3 April 6, 2014 10:50
cavity in flat plate and drag prediction Far FLUENT 0 May 19, 2010 15:47
drag of flat plate with cavity Far FLUENT 0 May 18, 2010 05:57


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