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

Time stepping difference in CFD code and particle paths scheme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2014, 11:25
Default Time stepping difference in CFD code and particle paths scheme
  #1
New Member
 
Join Date: Jul 2014
Posts: 2
Rep Power: 0
Jokert is on a distinguished road
Hi,

I simulated an unsteady flow by injecting two oscillating flows in anti-phase 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 Taylor-Galerkin 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!
Jokert is offline   Reply With Quote

Old   October 17, 2014, 13:11
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Jokert View Post
Hi,

I simulated an unsteady flow by injecting two oscillating flows in anti-phase 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 Taylor-Galerkin 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!

are you solving the particle tracking using a velocity database ? What about the time interval of the sampling of the velocity field?
FMDenaro is offline   Reply With Quote

Old   October 19, 2014, 12:35
Default
  #3
New Member
 
Join Date: Jul 2014
Posts: 2
Rep Power: 0
Jokert is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
are you solving the particle tracking using a velocity database ? What about the time interval of the sampling of the velocity field?
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.
Jokert is offline   Reply With Quote

Old   October 19, 2014, 13:06
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Jokert View Post
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.

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 ...
FMDenaro is offline   Reply With Quote

Reply

Tags
integrate variables, particle flow, time step, unsteady flow


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
problem with solving lagrange reaction cloud Polli OpenFOAM Running, Solving & CFD 0 April 30, 2014 08:53
Check particle impaction with User Fortran Julian K. CFX 3 January 12, 2012 10:46
STAR-Works : Mainstream CAD with CFD CD adapco Group Marketing Siemens 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 10:33


All times are GMT -4. The time now is 08:43.