
[Sponsors] 
September 8, 1999, 11:45 
Moving grid(BC)

#1 
Guest
Posts: n/a

Hello.
uhm. I want to simulate this. Flowfield includes object is moving in pipe.  wall  (flowfield)   < object   wall > x I appled wall boundary condition to the object, The U velocity was applied to the wall of object. but according to result, U velocity at the vertical face of object to flow is zero. Can you tell me how to apply BC for moving object, or another methods? 

September 8, 1999, 12:17 
Re: Moving grid(BC)

#2 
Guest
Posts: n/a

(1). You can change the coordinate system from the stationary one to the one moving with the body (assuming that you are dealing with a simple problem of a body moving at a constant speed,Vx) (2). In this new coordinate system the physics will be the same, except that the boundary conditions must be changed to the new system by adding a negative velocity term (Vx) to the original wall , and inlet condition. (3). After transformation, the wall will be moving at (Vx) speed. And the original inlet condition will become (V,inlet) + (Vx). If this resultant velocity change sign, the original outlet will become the new inlet. If the original inlet velocity (V,inlet) is greater than the body speed (Vx), then the inlet will remain the inlet ,except the velocity will be reduced.


September 8, 1999, 14:12 
Re: Moving grid(BC)

#3 
Guest
Posts: n/a

yes this is an easy problem as john said just change coords from abolute (fixed with pipe) to relative (fixed on the obstruction in the pipe). if your problem is compressible don't forget to adjust your stagnation pressure and temperature at the upstream boundary. if not then forget what i just said


September 9, 1999, 06:13 
Re: Moving grid(BC)

#4 
Guest
Posts: n/a

I think you can set the wall velocity with the moving velocity of the object.
If you use moving grids, you have to consider that the grids have a velocity, that means a cell helding the flow field values changes its position from time to time and it's position is then not the same position as in the flow field in the coordinate system. Therefore, you have to introduce some additional terms in the governing equations to reflect the change of the cell position. You can look into the paper: J. Steger: Implicit finiteDifference simulation of flow about arbitrary twodimensional geometries, AIAA Journal, Vol. 16, No. 7, July, 1978 X. Ye 

September 9, 1999, 10:52 
Re: Moving grid(BC)

#5 
Guest
Posts: n/a

If one goes to moving grids, you not only have to introduce the grid velocities in the convective flux function (arbitrary eulerian lagrangian approach), but consider the geometric conservation law (GCL) as well, which presents a relation between the grid velocities and the temporal change of the volumes of the grid cells. Neglecting the GCL leads to unavoidable errors in the solution, which are not to neglect.


September 9, 1999, 11:23 
Re: Moving grid(BC)

#6 
Guest
Posts: n/a

Are you meaning the change of mass and energy caused by the change of the cell volume? Yes, this a very important point. Generally there are two types of moving grids: 1. the total grids move with a velocity and there is no change of grid size; 2. Only some grids chnage it's size or grid lines will be removed or added. For the 1. type of moving grids you don't need to consider the implicit change of mass and energy since there is no change of cell volume. For the 2. type of moving grids you have to consider to correct the mass and energy.
To see whether your moving grids formulation is correct or not, you can do a simple test calculation such as cylinder compresion and compare with the theory of thermodynamics. X. Ye 

September 9, 1999, 11:34 
Re: Moving grid(BC)

#7 
Guest
Posts: n/a

yes. The GCL has to be applied if the grid cells change their volumes. The first test would be to move some grid points within the domain and e.g. keep the boundaries fixed. If the flow is uniform (simplest is to set u=v=0, such that the is in rest) nothing should happen. If violatin the GCL one will see something is happening, which is unphisical. But this basic test only gives the freestream capturing property. It does not say anything about the correct temporal discrtisation of the GCL. Many authors choose a second order scheme in time, but just discretise the GCL first order in time, approximating the grid velocity by (delta x)/(delta t), which is only first order in time. I think this is very doubtful and not to recommend. Of course, it is the easiest and maybe one can live with it any many applications.


September 9, 1999, 11:43 
Re: Moving grid(BC)

#8 
Guest
Posts: n/a

if computing navierstokes and you indicate boundary conditions at the walls, one (of course) has to set the relative velocity of the fluid particle with reference to the object to zero and not the absolute velocity. At the wall, the fluid is moving at the same speed as the object moves. Maybe your code simply sets it to zero, not knowing that the object is moving ?!


September 9, 1999, 11:49 
Re: Moving grid(BC)

#9 
Guest
Posts: n/a

Yes, I see also that this is the most probable error, because the value on wall will be set but not be calculated.
X. Ye 

September 11, 1999, 02:35 
Re: Moving grid(BC)

#10 
Guest
Posts: n/a

Thanks a lot for your comments. I understand what you said.
May I ask another questions? if object is moving along the Y axis or velocity of object includes y component, How can I apply BC? I wait for your comments? Thanks 

September 11, 1999, 06:54 
Re: Moving grid(BC)

#11 
Guest
Posts: n/a

It would be useful to know what equations you try to solve ?! Euler or Navier Stokes ?! Otherwise it is impossible to suggest any boundary conditions to apply.If solving Navier Stokes, one has to set the velocity at the wall according to the velocity of the object at the considered point at the wall. No matter how the object moves.


September 11, 1999, 14:07 
Re: Moving grid(BC)

#12 
Guest
Posts: n/a

it'd be done similarly. but you have to remember that the object cant move across the pipe forever


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
HELP  Moving car simulation in fluent  Brad Wells  FLUENT  7  January 4, 2018 20:55 
jagged, ragged edges...  ziemowitzima  OpenFOAM Native Meshers: snappyHexMesh and Others  138  July 23, 2012 23:41 
Moving mesh in Fluent  fivos  FLUENT  0  April 2, 2010 09:45 
How to make boundary layer mesh moving with wall  wayne  FLUENT  3  June 11, 2008 23:23 
moving cylinder  blur boy  Main CFD Forum  4  October 12, 2001 05:32 