|
[Sponsors] |
How to do two injections at the same time in a specific color each |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 11, 2013, 12:06 |
How to do two injections at the same time in a specific color each
|
#1 |
New Member
Sahar Fazli
Join Date: Mar 2013
Location: Cincinnati, OH
Posts: 11
Rep Power: 13 |
Hi everybody!
I am defining two injections for the massless particles released from two different surfaces. I want to color those particles in particle track by a specific color. For instance, i want to see those particles which have been released from surface1 in red and similarly, those which have been released from surface 2 are green! In this way, I can have a better visualization of particle tracks. In order to do this, I have defined particle track to be colored by paticle paroperties which I know its a constant. I colored one of them by particle diameter and the other one by particle density. But I after I do solution animation, it makes both of them in red! I think it cannot do two injections both at the same time. It does one of them, takes a video frame, then it does another injection and takes a video frame of that one as well...and since the property of coloring is constant in both cases, it does color both in red! not in different colors which I want.... |
|
April 11, 2013, 12:52 |
|
#2 |
New Member
Sahar Fazli
Join Date: Mar 2013
Location: Cincinnati, OH
Posts: 11
Rep Power: 13 |
well...I got it! I answer my question for future reference! and I still would be happy if anyone come up with an easier way to do it
my solution: I define a macro to display particle injections both at the same time colored by surface ID (since the surfaces from which they have been injected are different). Then I define another macro to save the pictures in tiff format.... after all done, I have to use a movie maker software to make animation of the picture sequences.... good luck sahar! |
|
April 11, 2013, 16:15 |
|
#3 |
Senior Member
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14 |
I suppose you could've done it by CFD POST.
__________________
Regard yours |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Simulation of a single bubble with a VOF-method | Suzzn | CFX | 21 | January 29, 2018 01:58 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
directMapped problem | panda60 | OpenFOAM Bugs | 4 | July 8, 2010 11:23 |