CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

Sinusoidal Mesh Movement

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2022, 14:08
Default Sinusoidal Mesh Movement
New Member
Nate Ficklin
Join Date: Jun 2022
Posts: 2
Rep Power: 0
NateF is on a distinguished road

I am trying to model fluid flow through a pipe with two shutters that open and close at the end that act as a nozzle. Initially, I successfully simulated the flow and mesh movement with the shutters starting at the midpoint. I controlled the mesh movement with this equation:

ShutterDisplacement = 14[mm]*sin(2*pi*4[Hz]*t)

I change the sign for one of the shutters to get them to move in opposite directions. When I further refined the mesh, the simulation failed because the mesh folded. I then modeled the shutters to start in the closed position (4 mm gap between them), in hopes that the mesh wouldn't fold because the area in the nozzle would grow from the original position. I used this equation to control the movement:

ShutterDisplacement = 14[mm]*sin(2*pi*4[Hz]*t+pi/2)

The problem that I am running into is that the mesh jumps to the midpoint in the first time step then starts moving. For the mesh deformation option, I selected "Regions of Motion Specified" with displacement relative to "Initial Mesh." For the shutter displacement I selected "Specified Displacement." My initial conditions are all set to zero. Am I approaching this the right way? If I am, then how can I get the simulation to not make that initial jump between timesteps 0 and 1?

Attached are images of timesteps 0 and 1. The blue area is the nozzle opening, the orange areas are the shutters, and square is the pipe.


Thank you for your help,
NateF is offline   Reply With Quote

Old   June 20, 2022, 19:50
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,641
Rep Power: 142
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your first ShutterDisplacement equation starts at zero at time zero, but your second ShutterDisplacement equation does not start at zero displacement at time zero. That will mean the mesh will do a big jump in the first time step.
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 21, 2022, 15:47
New Member
Nate Ficklin
Join Date: Jun 2022
Posts: 2
Rep Power: 0
NateF is on a distinguished road
I added a vertical shift to my second equation and it fixed the issue. Thank you for your help.
NateF is offline   Reply With Quote


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[ICEM] Bad Quality Hybrid Mesh External Flow tim13 ANSYS Meshing & Geometry 0 March 8, 2020 03:22
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 05:17
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 12:14
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11

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