
[Sponsors] 
October 17, 2014, 10:25 
Time stepping difference in CFD code and particle paths scheme

#1 
New Member
Join Date: Jul 2014
Posts: 2
Rep Power: 0 
Hi,
I simulated an unsteady flow by injecting two oscillating flows in antiphase in a rectangular 2D domain. I extracted the velocity field for each time step. In Matlab i created a massless particle tracking script using a TaylorGalerkin integration scheme. In my loop i calculate each particle position but i noticed the positions are very dependent on the time step in the particle tracking script. If i make this time step smaller the particles still move with the flow field but they travel less far. Does this time step needs to be the same as the time step i used in the unsteady CFD solver? Thanks in advance! 

October 17, 2014, 12:11 

#2  
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,001
Rep Power: 35 
Quote:
are you solving the particle tracking using a velocity database ? What about the time interval of the sampling of the velocity field? 

October 19, 2014, 11:35 

#3 
New Member
Join Date: Jul 2014
Posts: 2
Rep Power: 0 
Yes i do, i use the velocity database(velocity field) calculated from the unsteady solver for every timestep. The sampling interval is the same as the time step for solver.


October 19, 2014, 12:06 

#4  
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 3,001
Rep Power: 35 
Quote:
ok, I suppose you have a second order time integration but what about your interpolation on the spatial grid? However, if the flow contains relevant oscillations within the frequency pi/dt you must integrate the Lagrangian problem using the velocity field computed at each time step dt ... 

Tags 
integrate variables, particle flow, time step, unsteady flow 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
problem with solving lagrange reaction cloud  Polli  OpenFOAM Running, Solving & CFD  0  April 30, 2014 07:53 
Check particle impaction with User Fortran  Julian K.  CFX  3  January 12, 2012 10:46 
STARWorks : Mainstream CAD with CFD  CD adapco Group Marketing  CDadapco  0  February 13, 2002 13:23 
Programability of Phoenix CFD Code  Dave Campbell  Phoenics  4  January 8, 2002 20:44 
CFD code for sort of complex fluid/solid interaction?  Alton Reich, PE  Main CFD Forum  3  May 29, 2000 09:33 