Yinan-Scott-Shi / fds-smv

Automatically exported from code.google.com/p/fds-smv
0 stars 0 forks source link

Isosurface Colour Reverts to Colour of Massless Tracker Particles #840

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Application Version: 5.3.1 Serial
SVN Revision Number: 3729
Compile Date: 08/04/2009
Operating System: Windows

Describe details of the issue below:

I have noticed when running running a few different simulations with supply
vents, that my isosurfaces (temperature, visibility etc) in Smokeview
appear as the same colour as the massless particle colour that I am using
to visualise the supply gas. 

For example if the simulation begins with a vent supplying air, visualised
with pink particles, the isosurface colour is pink. If during the same
simulation, I shut off that vent and switch on a new vent which I visualise
with green particles, the isosurface colour changes to green.

It seems like there is a colour variable being shared between the
isosurface colour and the massless particle colour? I can provide an
example file if this is needed.

Regards
Matt

Original issue reported on code.google.com by mattjfit...@gmail.com on 6 Aug 2009 at 7:36

GoogleCodeExporter commented 9 years ago
Glenn Forney will take a look at it. Can you post a very simple input file that 
clearly shows the problem. Include only output necessary to see the problem.

Original comment by mcgra...@gmail.com on 6 Aug 2009 at 11:56

GoogleCodeExporter commented 9 years ago
I'll take a look at it - I will need to see your test case illustrating the 
problem.

Original comment by gfor...@gmail.com on 6 Aug 2009 at 2:14

GoogleCodeExporter commented 9 years ago
Attached is a simplified test case. Smokeview also seems to have trouble 
dispaying
the green particles in this particular case, preferring to make them pink.

If you display an isosurface, it changes colour from pink to green depending on 
which
vent is active.

Note that I generated the .fds file in Pyrosim.

Thanks,
Matt

Original comment by mattjfit...@gmail.com on 7 Aug 2009 at 2:32

Attachments:

GoogleCodeExporter commented 9 years ago
exactly what time does the vent (and isosurface) change color

Original comment by gfor...@gmail.com on 7 Aug 2009 at 3:13

GoogleCodeExporter commented 9 years ago
what version of Smokeview are you using (version and revision numbers)

Original comment by gfor...@gmail.com on 7 Aug 2009 at 3:25

GoogleCodeExporter commented 9 years ago
The vents are always the same colour. The isosurface colour begins with the 
colour of
the particles (and vent) which is the pink box (emitting air). This vent is 
activated
at time=0sec. At time=90sec, the pink vent turns off and the green vent and 
particles
(emitting CO2)are turned on. The isosurface immediately changes to green.

I am running version 5.3.12. Revision Number 3530 (Compiled on Mar 18 2009), 
Windows
32 bit platform.

Original comment by mattjfit...@gmail.com on 10 Aug 2009 at 1:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
(My first try at this posting got submitted prematurely)

I am not able to reproduce the problem.  Try completely uninstalling 
FDS/SMokeview
and remove any .ini files for your case, then re-install using the official 
version
from download site along with the latest versions of FDS and Smokeview

Original comment by gfor...@gmail.com on 13 Aug 2009 at 2:10

GoogleCodeExporter commented 9 years ago
I just ran the case posted in Comment 3. Attached is a Smokeview snapshot. I 
see 
MAGENTA particles coming from each of the obstructions and BLACK particles 
coming 
from the floor. I do not see green particles defined in the input file. All the 
isosurfaces are pink, I suspect the same color as the particles. There was no 
specified color for the isosurfaces, so Smokeview probably has the MAGENTA 
color 
somehow at the top of the list. Glenn will know more, but is on vacation. I 
think 
the issue here is the sharing of colors between isosurfaces and particles.

Original comment by mcgra...@gmail.com on 13 Aug 2009 at 12:19

Attachments:

GoogleCodeExporter commented 9 years ago
I'm not able to reproduce the problem, in particular I don't see any changes in 
the
isosurface color as the case progresses.

The isosurface colors are defined in the smokeview.ini file (look for ISOCOLORS
keyword).  The first three colors are (where the r, g, b components are scaled 
from
0.0 to 10.0)

 0.960000 0.000000 0.960000
 0.750000 0.800000 0.800000
 0.000000 0.960000 0.280000

As kevin suspected, the first color is magenta.

So at what time in your simulation do the colors change incorrectly?

Original comment by gfor...@gmail.com on 23 Sep 2009 at 2:24

GoogleCodeExporter commented 9 years ago
Note that SLIP_FACTOR is no longer used and will cause FDS to fail. If you want 
a 
free slip boundary, add FREE_SLIP=.TRUE. to the SURF line.

Original comment by mcgra...@gmail.com on 23 Sep 2009 at 9:21

GoogleCodeExporter commented 9 years ago
The isosurface changes from pink to green at 90 seconds into the simulation. 
I've
attached a couple of screen shots, just before and just after 90 seconds.

I have checked my smokeview.ini file and can confirm that I have the same 3
isosurface colours:

...
ISOCOLORS
 10.000000 0.800000 : shininess, transparency
 0.700000 0.700000 0.700000 : specular
 3
 0.960000 0.000000 0.960000
 0.750000 0.800000 0.800000
 0.000000 0.960000 0.280000
VENTCOLOR
...

I've attached my smokeview.ini file in case it is needed.

Original comment by mattjfit...@gmail.com on 23 Sep 2009 at 10:59

Attachments:

GoogleCodeExporter commented 9 years ago
I am not able to reproduce the problem - the iso-surface remains magenta after 
t=90
s.  I noticed you are using old versions of fds and smokeview.  Download the 
latest
versions of fds and smokeview, re-run your case and report back what happens 
(if it
still fails - detail exactly what you did when running smokeview to generate 
the problem)

Original comment by gfor...@gmail.com on 24 Sep 2009 at 2:01

GoogleCodeExporter commented 9 years ago
I am going to close this case.  If you get the same behavior with the latest 
version
of fds and smokeview then go ahead and open a new case.

Original comment by gfor...@gmail.com on 8 Oct 2009 at 1:01

GoogleCodeExporter commented 9 years ago
Is it possible to change the color of an iso-surface? I have tried to mix up the
colors in the smokeview.ini file but have not been able to change the color of 
an
iso-surface.

Original comment by Svenn...@gmail.com on 8 Jan 2010 at 10:37

GoogleCodeExporter commented 9 years ago
I will see if I can come up with an example of how to do this.

Original comment by gfor...@gmail.com on 8 Jan 2010 at 12:05

GoogleCodeExporter commented 9 years ago

Original comment by gfor...@gmail.com on 8 Jan 2010 at 4:48

GoogleCodeExporter commented 9 years ago
Use the ISOCOLORS keyword.  For example, changing
 0.960000 0.280000 0.000000
to
 0.000000 0.280000 0.960000
below the "3" will change the first isosurface level color from a shade of 
orange to
a shade of blue

ISOCOLORS
 10.000000 0.800000 : shininess, transparency
 0.700000 0.700000 0.700000 : specular
 3
 0.960000 0.280000 0.000000
 0.750000 0.800000 0.800000
 0.000000 0.960000 0.280000

Original comment by gfor...@gmail.com on 8 Jan 2010 at 7:32