Yinan-Scott-Shi / fds-smv

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

Change the distance of vectors on Smokeview #255

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please complete the following lines...

Application FDS Version: 5.0.0
SVN Revision Number:721
Compile Date:Mon, 01 Oct 2007
Operating System:Windows XP
Smokeview Version:5.0.1_730

I simualted a readingroom evacuation some days ago. For seeing the 
human flow field by Smokeview, I seted a &SLCF line in the input file. 
First, I loaded load==>Slice File==>VELOCITY==>Z=1.6,MESH1 submenu. Then I 
unload it.Second, I loaded load==>Vector Slices==>VELOCITY==>Z=1.6,MESH1 
submenu.When I pressed the 's' key, I didn't see the change of flow field 
desintiy, but I saw two same flow field plot. 

Original issue reported on code.google.com by YANXIANG...@YAHOO.COM.CN on 24 Jan 2008 at 6:45

Attachments:

GoogleCodeExporter commented 9 years ago
I will take a look at it.
glenn

Original comment by gfor...@gmail.com on 24 Jan 2008 at 11:50

GoogleCodeExporter commented 9 years ago
Please go to the download site and install the latest FDS and Smokeview 
software.  
Most likely you will either need to re-post your .fds file (to fix whatever 
problem 
was there).  Or if you can't get your case to run with the new FDS, post a new 
issue 
to the issue tracker.

I am CC'ing Timo Korhonen (author of FDS-EVAC) as he may be able to say why the 
latest FDS does not like your EVAC line.

Original comment by gfor...@gmail.com on 24 Jan 2008 at 1:32

GoogleCodeExporter commented 9 years ago
I left out a sentence from the previous entry - it was implied but not clear.

I should have said that the case you uploaded did not run with the latest FDS.  
It 
had an error on the EVAC line (hence the CC to Timo)

Original comment by gfor...@gmail.com on 24 Jan 2008 at 1:42

GoogleCodeExporter commented 9 years ago
Hi Glenn and Forest,

The Smokeview 'a' and 's' keys work fine for me, but
there are some other problems:

The number of mesh points along y (and z) axis are
not multiple of 2,3, and 5 as they should be, i.e.,
number of mesh points = 2^m + 3^n + 5^k.
See FDS User's Manual, chapter 6.3.

The latest version on Google 
Code has a little bit different
input than the previous ones:
   EVAC-lines: EVAC_MESH ==> MESH_ID 
               COLOR_METHOD=7 is not anymore allowed, because the
               latest (test version) of Smokeview draws "nice" humans.
               (smv_5_test_1225_win32.zip on Google Code Downloads)
               Glenn: Could you add to the zip file also devices.svo and glew32.dll.
               USE: COLOR_METHOD=0 (colors on the EVAC lines used) or 
                    COLOR_METHOD=-1 (default colors) 

   evac MESH-lines: add EVAC_Z_OFFSET=1.0, so that the new numans in
               Smokeview will have their feet on floor level (which
               I suppose to be at z=0). The evac mesh z_center = 1.0 m, so
               human feet are 1.0 m below this ==> offset=+1.0 m.

Problem with the mesh: the mesh dx and dy are not close to each
other, aspect ratio is larger than 2 ==> FDS flow solver is not
going to work nicely.

Below is the version information, which I am using. And I was
able to run the example case (with the above mentioned modifications).

Fire Dynamics Simulator

Compilation Date : Mon, 21 Jan 2008
Version          : 5.1.1 Serial
SVN Revision No. : 1217

FDS+Evac Evacuation Module
FDS+Evac Compilation Date: Mon, 21 Jan 2008
FDS+Evac Version         : 1.10
FDS+Evac SVN Revision No.: 1217

Ciao,
Timo

Original comment by tkorh...@gmail.com on 24 Jan 2008 at 2:13

GoogleCodeExporter commented 9 years ago
Dear Timo,

Thank you for your advice. Yes, there is a problem in my evac mesh indeed.My 
evac 
mesh number(172+210+1=383) isn't a fine mesh number. I'll correct it and have a 
try.

WBR,
Forest

Original comment by YANXIANG...@YAHOO.COM.CN on 25 Jan 2008 at 2:26

GoogleCodeExporter commented 9 years ago
Dear Timo,

I am really sorry that I don't know how to modifiy my case to run with the 
latest 
FDS & Smokeview. A error is always reported in &EVAC line by 
FDS_5.1.1_win32.exe. 
Could you give me more amply guide? Thank you very much!

Forest

Original comment by YANXIANG...@YAHOO.COM.CN on 25 Jan 2008 at 5:15

GoogleCodeExporter commented 9 years ago
Dear Forest,

Please, find attached a ZIP file, which contains the input file (.fds),
latest fds.exe (compiled by me, SVN version number 1217) and a Smokeview
version (smokeview.exe, devices.svo, glew32.dll). I was able to use
these to see the flow vectors and the 's' and 'a' keys in Smokeview
were working nicely. And there is a menu in Smokeview 'Show/Hide' ==>
'Use Avatar:' and 'human_altered_with_data" might be the nicest one 
to see humans moving. After this you can use menu 'Show/Hide' ==> 
'Humans' to change the colors of the humans (uniform color, colors
defined by fds+evac (i.e., COLOR_METHOD) )

Timo

Original comment by tkorh...@gmail.com on 25 Jan 2008 at 7:17

Attachments:

GoogleCodeExporter commented 9 years ago
changed owner over to Timo

Original comment by gfor...@gmail.com on 29 Jan 2008 at 3:24

GoogleCodeExporter commented 9 years ago
Dear Timo and gforney,

My  'a' and 's' keys work fine by the lastet FDS and  Smokeview(compiled by 
Timo, 
SVN version number 1217). But I have to update many input files for using 
lastet 
FDS , I hope that the lastet FDS can be compatible with the old versions. Thank 
you 
very much!

WBR
Forest

Original comment by YANXIANG...@YAHOO.COM.CN on 30 Jan 2008 at 7:35

GoogleCodeExporter commented 9 years ago
Well, I try to do some input checking in the evacuation input so that the old 
input
keywords are detected and a warning message is printed, but program does not 
stop.
Like: EVAC_MESH ==> MESH_ID, COLOR_METHOD=7 ==> COLOR_METHOD=-1, etc.

Original comment by tkorh...@gmail.com on 30 Jan 2008 at 8:36

GoogleCodeExporter commented 9 years ago
Dear Timo,

I changed the mesh cell division of evacuation many times , but I found that 
this 
didn't have effect to evacuation time and human flow field almost.So I'm sorry 
to 
say that my evacuation cell division may haven't porblem.Did you think that I 
am 
right? Thank you very much!

Forest

Original comment by YANXIANG...@YAHOO.COM.CN on 1 Feb 2008 at 10:17

GoogleCodeExporter commented 9 years ago
Hello,

I changed the mesh al little bit, see below. Now the
y-direction is -0.5m - +19.5 (=20.0m), so it is easier
to get nice number of cells along this direction. E.g.,
with dy=0.5m ==> IJK = NX, 40, 1

It is nice to use dx and dy that are about 0.4 m or larger.
Otherwise one might have some problems with the evacuation
flow fields. If you have dx or dy << 0.5 m, then the flow 
fields might try to put humans to walk too close to walls,
one can see this on the central aisle along the x-direction
(-42 m to +42m). See the attached PNG figures, one with 
dx=dy=0.5m and the other with dx=0.5m, dy=0.1m.
Well, in this case, all dx,dy for evac meshes seem to work.

There seems to ba a small bug when showing the flow fields:
If you (re)calculate the flow fields (do not have CHID_evac.eff
on the disk) then one sees the vectors in Smokeview and and can
change their leghts by pressing "a" key, but if one reads the
flow fields in (one has CHID_evac.eff on the disk) then the
vectors show up as dots, even though their colors seem to be
correct (color = vector lenght, red close to door).

 x: 86m (-43.0m - +43.0m) dx: 0.5m (172 cells)
 y: 21m ( -1.0m - +20.0m) dy: 0.1m (210 cells)
 x: 86m (-43.0m - +43.0m) dx: 0.5m (172 cells)
 y: 21m ( -0.5m - +19.5m) dy: 0.5m (40 cells)
 geometry: x: -42.0m - +42.0m (inside walls)
           y:  -0.0m - +19.0m (inside walls)
&MESH IJK=172,40,1, XB= -43,43, -0.5,19.5, 0.4,1.6,
      EVACUATION=.TRUE.,EVAC_HUMANS=.TRUE., EVAC_Z_OFFSET=1.0,
      ID='MainEvacGrid'/evacuation mesh 0.5*0.1
&MESH IJK=172,40,1, XB= -43,43, -0.5,19.5, 0.4,1.6,
      EVACUATION=.TRUE.,EVAC_HUMANS=.FALSE.,EVAC_Z_OFFSET=1.0,
      ID='ExitEvacGrid'/exit evacuation mesh 0.5*0.1

Original comment by tkorh...@gmail.com on 1 Feb 2008 at 12:50

Attachments:

GoogleCodeExporter commented 9 years ago
Dear Tomo, 

The mesh of dx*dy=0.5*0.5 seems look nice than the mesh dx*dy=0.5*0.1 indeed. 
But 
every object dwells a cell or more at least in Smokeview, that means that one 
cannt't define a exit/door of 0.8m/0.9m width, that means thin wall thickness 
is 
0.5m. This mayn't be accorded with the fact. This is why I define 0.5*0.1 mesh.
Could you tell me how to chose in human flow field and objects display ?Thank 
you 
very much!

Forest

Original comment by YANXIANG...@YAHOO.COM.CN on 2 Feb 2008 at 1:16

GoogleCodeExporter commented 9 years ago
For now, every object is at least on grid cell thick 
(THICKEN_OBSTRUCTIONS=.TRUE. for
the evacuation meshes). You should define your dx and dy such that you are able 
to
get your door widths more or less correctly. dx=dy=0.25m is usually good 
enough, then
you can have doors 0.75 m, 1.0m, 1.25 m, 1.50 m, etc. Or dx=dy=0.3m is also a 
good
choice: 0.9 m, 1.2 m, 1.5 m, 1.8 m, etc. Note, that a 0.6 m wide door is a 
little bit
too narrow, FDS+Evac some humans can not go through it. At this point the model 
for a
human is not intelligent enough to turn sideways on narrow paths. 

The best way to see the human geometry and flow fields is to have no fire 
meshes at
all in the calculation. And have lines like "SLCF PBZ = 1.000, QUANTITY = 
'VELOCITY',
VECTOR = .TRUE." in the input file (PBZ= should be in the evac mesh). To see 
the the
human flow fields, plot the 'vector slizes/velocity' for the evac meshes. 

Original comment by tkorh...@gmail.com on 4 Feb 2008 at 11:25

GoogleCodeExporter commented 9 years ago
Changed the evacuation input a little bit. Now it accepts also EVAC_MESH 
(obsolete
input, new one is MESH_ID) and COLOR_METHOD=7 (uses COLOR_METHOD=-1, i.e., the 
default).

Corrected also an output bug. I noticed that when FDS+Evac was reading in the
CHID_evac.eff file (guiding flow fields for humans) the flow vectors were just 
points
in the Smokeview vector slice plot. Now they are shown correctly as vectors 
which
have also length.

THE EVACUATION MESH dx AND dy:
One can use dx (or dy) = 10 cm or smaller, but then one should carefully check
the resulting guiding flow fields and the geometry for humans in Smokeview:

  1) Is there paths that are narrower than about 0.7 m? If there are, one should
block these paths, e.g., by using OBSTs with EVACUATION=.TRUE.

  2) Are the human flow field vectors looking "nice"? Check the "inner doors", where
you have a situation like a corridor and rooms connected to it by open doors 
(not the
"&DOOR" constructions, just "holes in the partitions"). See, if the flow field 
is
going inside the room, say, on the left door post and coming out from the right 
door
post. See that humans can follow the outward (room => corridor) flow field, 
i.e., it
should be wide enough, say, at least 30 cm from the right door post or otherwise
humans are banging their heads on the right door post.

Original comment by tkorh...@gmail.com on 6 Feb 2008 at 7:32

GoogleCodeExporter commented 9 years ago
Well, the above fixes are on SVN version 1273.

Original comment by tkorh...@gmail.com on 6 Feb 2008 at 7:34

GoogleCodeExporter commented 9 years ago
I'll close this Issue.

TimoK

Original comment by tkorh...@gmail.com on 16 Mar 2009 at 7:35