# Moving mesh in CFX

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

 July 31, 2012, 23:56 Moving mesh in CFX #1 New Member   Ali Join Date: Dec 2011 Posts: 21 Rep Power: 5 Hi Guys, Does anyone know how I can move a domain and an object (like a flat plate) together like a rigid body? In CFX we only have two options: stationary domain and rotating domain. In my problem, which is a 2D simulation, I want to move the fluid within the domain as well as a flat plate, sinusoidally up and down? Tnx

 August 1, 2012, 08:00 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 11,259 Rep Power: 88 Can you explain what you are modelling and why you need this? It sounds very strange - and it is always difficult to model strange things as they are not physical. CFX is designed to model real systems so impossible systems are difficult to model.

 August 2, 2012, 02:14 #3 New Member   Ali Join Date: Dec 2011 Posts: 21 Rep Power: 5 My problem is a 2d simulation of a flat plate, which moves sinusoidally up and down. I'm trying to investigate the contribution of the added-mass effects to the lift and drag coefficients through this simulation. I have two ways of doing this simulation. First, I can just move the flat plate and get the results. The second way is to move the flat plate in conjunction with moving the fluid around the plate. In other terms, the plate and the fluid around it move together like a rigid body. The problem of doing the first way is, when the plate moves the mesh is deformed around the plate. For instance, when the plate moves up, the elements are stretched below the plate. As a result, the mesh at this region becomes coarse, where is of interest for the study. My question is can I do something like layering method in FLUENT to generate elements at this region. Do u have any idea on how I can keep the resolution fine in this region? The good thing about the second option is, there is no mesh deformation around the plate and therefore the resolution around the plate remains fine. All the deformations occurs far from the plate. This case is not unrealistic, because in reality when you accelerate a body in a fluid some parts of the fluid moves with the plate like a rigid body. This is basically one of the added-mass effects. Ali

 August 2, 2012, 02:17 #4 New Member   Ali Join Date: Dec 2011 Posts: 21 Rep Power: 5 Please have look at the tutorial posted on"https://www.box.com/shared/jicr9u3jgv". On page 3, you'll see a figure similar to the second way of doing my problem.

 August 2, 2012, 20:13 #5 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 11,259 Rep Power: 88 I seem to recall answering this question before. Please do not post the same question on multiple threads. This is a simple moving mesh simulation, or you could do it using immersed solids.

 August 2, 2012, 21:39 #6 New Member   Ali Join Date: Dec 2011 Posts: 21 Rep Power: 5 I could move the flat plate sinusoidally, but as I mentioned in my last post, there is a problem in this simulation. When the plate moves the mesh is deformed around the plate. For instance, when the plate moves up, the elements are stretched below the plate. As a result, the mesh at this region, where is of interest for the study, becomes coarse, My question is how I can keep the resolution fine in this region (around the plate)? Thanks,

 August 3, 2012, 09:03 #7 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 11,259 Rep Power: 88 The mesh motion will be simplified in this case if you move the fluid region adjacent with the body, then the mesh further away just needs to do a simple stretching to follow the motion. This is easy to implement using a subdomain where you specifiy the mesh motion.

 August 3, 2012, 22:52 #8 New Member   Ali Join Date: Dec 2011 Posts: 21 Rep Power: 5 Finally worked! thanks for your help

 August 16, 2012, 16:10 #9 New Member   Ali Join Date: Dec 2011 Posts: 21 Rep Power: 5 Hi Glenn, Sorry to bother you again. I'm trying to run another simulation similar to the one I explained. In this simulation, the plate and the fluid around it move sinusoidally up and down and at the same time move sinusoidally to the left and right. Therefore, the motion of the plate is like a diagonal motion. In this case, I get a fatal error, which says "a negative volume detected". In this case, the mesh is deformed significantly. The angle between the edges of an element becomes negative and the error occurs. Do you have any idea how to solve this error? Thanks,

 August 16, 2012, 16:21 #10 New Member   Ali Join Date: Dec 2011 Posts: 21 Rep Power: 5 Is mesh motion defined based on the velocity of the plate? Integration of the plate velocity with respect to time defines the mesh motion? Right? Thanks,

 August 16, 2012, 18:28 #11 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 11,259 Rep Power: 88 Can you post an image of what you are doing and the motion you want to apply? Mesh motion is usually applied as displacements on the boundary conditions.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Ganesh FLUENT 13 January 22, 2014 05:11 sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11 peppeone CFX 3 January 17, 2011 17:51 mactech001 ANSYS Meshing & Geometry 0 November 5, 2009 03:19 songxguan CFX 7 June 28, 2009 21:05

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