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

How to do two injections at the same time in a specific color each

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 11, 2013, 11:06
Default 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: 4
Sahar FaPerhu is on a distinguished road
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....
Sahar FaPerhu is offline   Reply With Quote

Old   April 11, 2013, 11:52
Default
  #2
New Member
 
Sahar Fazli
Join Date: Mar 2013
Location: Cincinnati, OH
Posts: 11
Rep Power: 4
Sahar FaPerhu is on a distinguished road
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!
Sahar FaPerhu is offline   Reply With Quote

Old   April 11, 2013, 15:15
Default
  #3
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 187
Rep Power: 4
A CFD free user is on a distinguished road
I suppose you could've done it by CFD POST.
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 10:23
Simulation of a single bubble with a VOF-method Suzzn CFX 18 October 2, 2009 04:18
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07


All times are GMT -4. The time now is 12:21.