CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Moving grid(BC)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 1999, 12:45
Default Moving grid(BC)
  #1
faithkim
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?
  Reply With Quote

Old   September 8, 1999, 13:17
Default Re: Moving grid(BC)
  #2
John C. Chien
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.
  Reply With Quote

Old   September 8, 1999, 15:12
Default Re: Moving grid(BC)
  #3
clifford bradford
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
  Reply With Quote

Old   September 9, 1999, 07:13
Default Re: Moving grid(BC)
  #4
X. Ye
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 finite-Difference simulation of flow about arbitrary two-dimensional geometries, AIAA Journal, Vol. 16, No. 7, July, 1978

X. Ye
  Reply With Quote

Old   September 9, 1999, 11:52
Default Re: Moving grid(BC)
  #5
Frank Bramkamp
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.
  Reply With Quote

Old   September 9, 1999, 12:23
Default Re: Moving grid(BC)
  #6
X. Ye
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
  Reply With Quote

Old   September 9, 1999, 12:34
Default Re: Moving grid(BC)
  #7
Frank Bramkamp
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 free-stream 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.
  Reply With Quote

Old   September 9, 1999, 12:43
Default Re: Moving grid(BC)
  #8
Frank Bramkamp
Guest
 
Posts: n/a
if computing navier-stokes 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 ?!
  Reply With Quote

Old   September 9, 1999, 12:49
Default Re: Moving grid(BC)
  #9
X. Ye
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
  Reply With Quote

Old   September 11, 1999, 03:35
Default Re: Moving grid(BC)
  #10
faithkim
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

  Reply With Quote

Old   September 11, 1999, 07:54
Default Re: Moving grid(BC)
  #11
Frank Bramkamp
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.
  Reply With Quote

Old   September 11, 1999, 15:07
Default Re: Moving grid(BC)
  #12
cab325
Guest
 
Posts: n/a
it'd be done similarly. but you have to remember that the object cant move across the pipe forever
  Reply With Quote

Reply


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
HELP - Moving car simulation in fluent Brad Wells FLUENT 7 January 4, 2018 20:55
[snappyHexMesh] jagged, ragged edges... ziemowitzima OpenFOAM Meshing & Mesh Conversion 138 July 24, 2012 00:41
Moving mesh in Fluent fivos FLUENT 0 April 2, 2010 10:45
How to make boundary layer mesh moving with wall wayne FLUENT 3 June 12, 2008 00:23
moving cylinder blur boy Main CFD Forum 4 October 12, 2001 06:32


All times are GMT -4. The time now is 01:41.