fds
fds copied to clipboard
Smokeview crashes on attempted vector slice load
This quick to run fds file output causes smokeview to crash upon attempting to load the vector slice file. I've also included the smokeview .ini file as I have a number of things set. [Files appended with .txt extension in order to upload - just remove to run/use.]
The environment is windows 64-bit, multi-processor, 32GB physical ram. I've viewed many other setups on this machine and can't see why this is immediately crashing.
Here is some additional, pertinent data (to avoid needing to go into the files):
NIST Smokeview configuration file, Release Apr 18 2023
FDS/Smokeview Environment
-------------------------
Smokeview Build: SMV-6.8.0-0-gd02fd68-release
Smokeview Build Date: Apr 18 2023
FDS Version: FDS-6.8.0-0-g886e009-release
FDS Build: FDS-6.8.0-0-g886e009-release
Platform: WIN64
Graphics Environment
--------------------
OpenGL Version: 4.6.0 - Build 31.0.101.2111
GLSL Version: 4.60 - Build 31.0.101.2111
Red bits:8
Green bits:8
Blue bits:8
Alpha bits:8
Depth bits:24
max texture size:16384
Thanks!
Apparently, the issue tracker "interpreted" my paste from the smokeview file. Sorry about that - I'm not sure how to avoid that. Maybe this is an LaTEX or similar issue.
The tracker supports markdown so it probably interpretted some character strings as markdown. You can click the <> in the edit window bar and text inserted that way isn't processed for markdown.
Glenn, this dies for me even with the smv test version from a couple of days ago. Dies with or without the ini file.
thanks. I'll take a look
update your smv repo and rebuild smokeview or try smokeview posted here https://github.com/firemodels/test_bundles/releases/tag/SMOKEVIEW_TEST
I have a typo got j and k mixed up. note, cell centered vector slice files are drawn differently than node centered ones. to change the length of the vectors, size of points etc. (draw both vector and the solid shaded region). go to the bounds dialog box for slice files and open up the settings tab
let me know if you still see an issue
This version did not crash on loading a vector slice. However, it seems like this version has lost the "load all" functionality. So, I'm not sure what's happening there. There are only two slices in this setup that cross and give a nice picture. It's convenient to have the load all option but, of course, not strictly necessary.
Thanks for your work and making the changes.
I've been working on speeding up smokeview, making it more efficient for viewing large cases. I've been taking out options that slow it down. I'll take a look and see if I can add back this option efficiently
It's no bother - I just wanted to check in with you on it in case it was an "unintended" change. If it's intended then that's fine. I just wanted to bring it to your attention if it were new. I don't think it's anything to spend any time trying to change. Thanks for your reply. I think this can be closed without additional work, but don't want to do that if you're still going to do something with it. Please feel free to close it as I think it's fixed. Otherwise, I'll be happy to do more testing if you produce another version in response to this. I hope that's clear.
no problem. I'll close the issue but will take a look at adding back the option more efficiently. thanks for reporting back
Maybe we need to re-open this one. I was trying to switch visibility for the slice file between gas, solid, and gas and solid and it just seemed to be "all on". The only visibility was gas and solid and when I tried to change it, it made difference. I did this using the test case that I previously sent and just used the new smokeview download referenced above.
I don't know if this comment is going to do it or if I need to open a new issue or what to do. If it's not re-opened or I don't get a response in a few days, I'll post a new issue about it. Thanks.
Ill take a look
try smokeview posted at link below. the visibility issue in solids/gases should be fixed. I also added back the load all slice feature though I implemented it in a different way (to be more efficient).
You can load all slices, all x slices, all y slices or all z slices using options under Load/Unload>Slice>Load menu entry. Select one of these options then load a a slice. either one slice or all slices of a particular direction will be loaded depending on the option you selected. These options are also available in the File/Bounds slice settings dialog box.
menu entry. Smokeview will load all slices of a given type if you select the "Load all x, all y, or all z slices" menu entry.
https://github.com/firemodels/test_bundles/releases/tag/SMOKEVIEW_TEST
let me know if you still see a problem
I'm seeing some strange behavior with this new version, nightly build from 3-Feb-2024 (hopefully the below paste gives the details).
Firstly, it did not seem to be working properly with the .ini file. I renamed the .ini file from before this version of smokeview, started and let this version of smokeview write an .ini file. I don't think that was the problem as the same issue appeared after those steps.
Secondly, when I selected load all slices, nothing initially appeared when I had the show solid option selected in the .ini file.
Thirdly, at one point I loaded slices and the bounds did not seem to set properly. The entire colorbar was set to TMPA from the FDS file.
Finally, I'm a little too confused as to what's interacting with what and I couldn't make a mental model in order to essentially start a rigorous testing regime to give you better feedback. Here are my "inklings" and I'm hoping with your vastly superior knowledge of the system, it will guide you either to the problem area or allow you to suggest to me a better course of testing to provide you with better feedback.
I think that somehow starting with a .ini file that specifies solid only on the slice file is leading to initial view problems. As with the originally provided .ini file, here are the settings I have on:
- Display all features (Alt-D, show-all)
- Slice files, show solid phase
- Options, Fahrenheit temperature display
- Options, Time hh:mm:ss
- Show, Geometry, Outline-only
So, it seems like when I load with these options, nothing gets displayed. This happens with the above case that I originally sent. This is only when I use the "load all" option and not when I load single slices.
I apologize for my lack of specificity and precision. Thank you for your work.
Ill take a look
On Sun, Feb 4, 2024, 4:48 PM firemist @.***> wrote:
I'm seeing some strange behavior with this new version, nightly build from 3-Feb-2024 (hopefully the below paste gives the details).
image.png (view on web) https://github.com/firemodels/fds/assets/25644607/f6d3d569-50df-4f14-ad1a-93b04cf62a0d
Firstly, it did not seem to be working properly with the .ini file. I renamed the .ini file from before this version of smokeview, started and let this version of smokeview write an .ini file. I don't think that was the problem as the same issue appeared after those steps.
Secondly, when I selected load all slices, nothing initially appeared when I had the show solid option selected in the .ini file.
Thirdly, at one point I loaded slices and the bounds did not seem to set properly. The entire colorbar was set to TMPA from the FDS file.
Finally, I'm a little too confused as to what's interacting with what and I couldn't make a mental model in order to essentially start a rigorous testing regime to give you better feedback. Here are my "inklings" and I'm hoping with your vastly superior knowledge of the system, it will guide you either to the problem area or allow you to suggest to me a better course of testing to provide you with better feedback.
I think that somehow starting with a .ini file that specifies solid only on the slice file is leading to initial view problems. As with the originally provided .ini file, here are the settings I have on:
- Display all features (Alt-D, show-all)
- Slice files, show solid phase
- Options, Fahrenheit temperature display
- Options, Time hh:mm:ss
- Show, Geometry, Outline-only
So, it seems like when I load with these options, nothing gets displayed. This happens with the above case that I originally sent. This is only when I use the "load all" option and not when I load single slices.
I apologize for my lack of specificity and precision. Thank you for your work.
— Reply to this email directly, view it on GitHub https://github.com/firemodels/fds/issues/12396#issuecomment-1925932520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6UCRTW6ZHGCD5PMQEASJ3YR76ZZAVCNFSM6AAAAABCJGKS26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVHEZTENJSGA . You are receiving this because you modified the open/close state.Message ID: @.***>
I took a quick look. I see problems as you did when I use the lastest smokeview with FDS 6.8.0 . I don't see problems (with my quick look) using the latest fds and the lastest smokeview. try rererunning your case using the fds that came with the nightly bundle ie the lateset fds. there have been some changes in how fds is outputting .bnd files which may have caused the problem - files smokeview uses to obtain min/max bounds .
I agree the load all option I added is confusing. the intent was for these menu items to set options - not to load all the slices files them selves. to load the slice files you would need to set on of the load all menu items then load a slice using the regular menus. so, if you set load all x slices then load any temperature slice - all x slice temperatures slices would be loaded
I decided to take out these load all menu items out and to implement this feature in a dialog box. I haven't posted my changes yet. when I do I'll let you know so you can give it a try
to be on the safe side, erase all the files from your first run before rerunning your case (to make sure smokeview does not look at these old files)