|
[Sponsors] |
April 24, 2009, 08:13 |
Lagrangian particle
|
#1 |
New Member
|
Hello all,
can someone explain me what the number after the lagrangian position (x y z) n means, please. I have tried to find out the meaning but I come to no solution . Thanks Michél |
|
April 24, 2009, 12:59 |
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
It is the normal of the plane that the parcel moves in for 2D wedge simlations.
|
|
April 27, 2009, 02:55 |
|
#3 |
New Member
|
thank you for the answer
|
|
April 27, 2009, 07:11 |
|
#4 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
actually, i was wrong.
its the cell number of the cell it is currently in. the vectors are all written last. |
|
April 27, 2009, 08:51 |
|
#5 |
New Member
|
well. are you sure? because i played with the number and the particles start every time at the same position but has different movements properties.
|
|
April 27, 2009, 10:35 |
|
#6 |
New Member
|
ok. you are right.
but where can i found the function for this? |
|
April 28, 2009, 05:49 |
|
#7 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
||
April 28, 2009, 06:40 |
|
#8 |
New Member
|
thank you again
|
|
May 4, 2009, 04:43 |
kinematicCloud, a different question on lagrangian particles
|
#9 |
Member
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17 |
Hi,
I want to trace passive particles through a steady state RANS-solution, and have written a simple code using kinemaitcCloud. Seems to work well at first, but as the time steps march on, the clock time for each time step increases immensely. What might be the reason to this behaviour? Sure, as the particles enter further into the solution the flow speed increases, but not tremendously so. See the attached graph showing how clock time increases with time steps. Number of parcels are ~1e4 and the case size is about 2M cells from snappyHexMesh. Cheers Niklas |
|
May 5, 2009, 05:39 |
|
#10 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Niklas!
Quote:
Does the time spent in the lagrangian solver increase or in the other parts? To find an answer to things like that I use this extension: http://www.cfd-online.com/Forums/ope...profiling.html If you prefer to use valgrind (like Henry suggested in that thread) I'd suggest that you restart from one of the later timesteps (where the calculation-time already exploded) because callgrind multiplies the time a run needs(at least for me, but maybe I'm using it wrong). If the number of particles in the system doesn't increase and the lagrangian part is the one that eats up the CPU-time then I guess the reason is that the time-step during the lagrangian calculation becomes very small (either because particles have to travel through very small cells or because particles often pass zones were the velocity relative to the gas is high) but that is just a guess Bernhard |
||
May 5, 2009, 09:07 |
kinematicCloud
|
#11 |
Member
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17 |
Thank you Bernhard for the answer!
The answer probably lies in small local time steps as the particles enter the 'interesting region'. To be realistic, sadly, I will not have the time to profile the solver; It was years since I used Valgrind I'm afraid... again, Thank you. N. |
|
May 5, 2009, 09:47 |
Callgrind
|
#12 |
Member
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17 |
Oh, it does not look that hard to use :-) I'll try it.
N. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lagrangian Particle Tracking model In CFX | Kushagra | CFX | 8 | December 2, 2010 21:18 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 01:29 |
Plotting particle wall impact angle (Lagrangian pt | Bart Prast | CFX | 0 | January 26, 2009 04:23 |
Number of particle positions in Lagrangian model | KK | CFX | 4 | February 16, 2008 04:56 |
Lagrangian particle tracking | worth | Siemens | 1 | October 19, 2004 03:10 |