|
[Sponsors] |
Streamlines of Lagrangian Particles [Unsteady] |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Rod Lamar
Join Date: Apr 2019
Posts: 19
Rep Power: 7 ![]() |
Hello,
Today I come to you with a question regarding Lagrangian particles: I would like to create a scene showing the trajectories of the particles. Usually this is done with the information contained in a track file, but this only works for steady sims. A simulation history file can be used to see the movement of the different particles in time, which is both useful and insightful. Yet, I am after the streamlines rather than the particles themselves. I was thinking maybe a massless particle can be injected as kind of a seed for the streamlines, nonetheless I believe this would grant me the paths followed by the gas rather than the particles. Anybody has experience creating the described scene? Thank you beforehand! |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,943
Rep Power: 73 ![]() ![]() ![]() |
Quote:
You are wrong in the theory, in the unsteady scenario the streamlines are different from the path-lines. You need to compute the streamlines at each time by definition of envelop of the velocity vector field. Then you can create a movie of the time-evolution of the streamlines from the collected data-base. |
||
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Rod Lamar
Join Date: Apr 2019
Posts: 19
Rep Power: 7 ![]() |
Quote:
Can you dwell on in what way streamlines and path-lines differ for the transient simulation? In order to gather the data of the paths followed by particles in time; can you elaborate on the way of doing so (envelope of the velocity vector field)? Regards |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,943
Rep Power: 73 ![]() ![]() ![]() |
Quote:
This is a topic for any student in its first-course of fluid mechanics. Read and study that in any fundamental textbook. |
||
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Rod Lamar
Join Date: Apr 2019
Posts: 19
Rep Power: 7 ![]() |
Quote:
Relevant to the thread is how to plot the path-lines followed by the Lagrangian particles. Since the calculation is Lagrangian, that information should be stored somewhere. In case of a steady sims, it is contained in the track file (in Star CCM+). What exactly do you mean by the "definition of the envelope of the velocity vector field"? You seem knowledgeable about simulation and have probably encountered a similar situation in the past. Thanks! |
||
![]() |
![]() |
![]() |
![]() |
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,943
Rep Power: 73 ![]() ![]() ![]() |
Quote:
Again, such definitions are very basic. The streamlines is a curve in the space that obeys the constraint dr(t) x v(x,t) = 0 at each time t + initial condition that is the vector field is always tangent along the whole curve. This is an Eulerian representation, you compute the streamline in a fixed volume. The pathline is a curve in the space-time that obeys the governing equation dx/dt = v[x(t),t] + initial condition that is the locus of all the positions of a particle that starts from an initial position at t=0. This is a Lagrangian representation. The numerical computation is quite simple, you can use Tecplot to create the movies. |
||
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
adrin
Join Date: Mar 2009
Posts: 115
Rep Power: 18 ![]() |
Filippo has done an excellent job of explaining the difference! From a practical point of view, I don't use CCM+ or other commercial codes, so I don't know which buttons to push, so to speak,
![]() adrin |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Streamlines of Lagrangian Particles [Unsteady] | Lapidus | STAR-CCM+ | 0 | July 3, 2019 05:30 |
Lagrangian particles injection with interFoam and swak4foam | Cluap | OpenFOAM Running, Solving & CFD | 0 | June 12, 2018 12:37 |
How to get Path lines for lagrangian particles? | vidyadhar | OpenFOAM Post-Processing | 0 | January 31, 2017 06:38 |
Corellation dimension of lagrangian particles | oswald | OpenFOAM Post-Processing | 0 | January 27, 2016 08:30 |
Add lagrangian particles to OpenFoam solver | luchen2408 | OpenFOAM | 0 | June 2, 2015 04:10 |