firemodels / cfast

Consolidated Model of Fire and Smoke Transport
Other
68 stars 67 forks source link

Smokeview does not open when view is clicked on CFAST #1482

Closed Annliseo closed 1 year ago

Annliseo commented 4 years ago

I have CFAST 7.5.0 and Smokeview 6. When i open user example on CFAST, and click on view, command window pops up showing "error- User_Example_Guide.smv not found. And it closes after.

What is the problem. I tried uninstalling/installing, still same.

Thanks Ann

rmcdermo commented 4 years ago

Please post the input file and we will have a look. Thanks

Annliseo commented 4 years ago

Hi, Below is the example that comes with CFAST.

Users_Guide_Example.zip

Thanks Ann

rpeacoc commented 4 years ago

Did you run the example before clicking "View"? The example you sent runs and views fine for me with 7.5.0.

rpeacoc commented 4 years ago

It's also possible that your computer is not set up correctly to run CFAST. CFAST requires the numeric format be set to US English (Where a period rather than a comma is used as the decimal separator in numbers. See this thread: https://groups.google.com/forum/#!topic/cfast/DN8QTTdKAAQ

Annliseo commented 4 years ago

I tried run and view but it doesn't work I have my computer set to US english

Annliseo commented 4 years ago

it works when i save files on desktop rather than program files What could be the issue?

gforney commented 4 years ago

file permissions. C:\Progam Files is system directory. You do not have permission to write to this directory.

On Thu, May 21, 2020, 12:21 PM Annliseo notifications@github.com wrote:

it works when i save files on desktop rather than program files What could be the issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/firemodels/cfast/issues/1482#issuecomment-632187885, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6UCRUI2V3YZ5DND6J7DWLRSVIKFANCNFSM4NGGD7YQ .

Annliseo commented 4 years ago

yeah, that might be the issue. Thanks much.

gforney commented 4 years ago

glad it got sorted out. we could probably do a better job of alerting you when a case doesn't run or is not available to view.

On Thu, May 21, 2020 at 12:49 PM Annliseo notifications@github.com wrote:

yeah, that might be the issue. Thanks much.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/firemodels/cfast/issues/1482#issuecomment-632218835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6UCRVOTXES2GPGMI4254LRSVLQJANCNFSM4NGGD7YQ .

-- Glenn Forney

Annliseo commented 4 years ago

glad it got sorted out. we could probably do a better job of alerting you when a case doesn't run or is not available to view. On Thu, May 21, 2020 at 12:49 PM Annliseo @.***> wrote: yeah, that might be the issue. Thanks much. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1482 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6UCRVOTXES2GPGMI4254LRSVLQJANCNFSM4NGGD7YQ . -- Glenn Forney

yeah, i will close this thread.

Thanks Ann

gforney commented 4 years ago

rick or paul - can we add some type of alert if cfast does not have permission to run a case

rpeacoc commented 4 years ago

Here's a code snippet we should be able to put in to check for write permission

        Dim IO As Integer = 1
        Dim filename As String = "TestWrite.txt"
        Try
            FileOpen(IO, filename, OpenMode.Output, OpenAccess.Write, OpenShare.Shared)
            PrintLine(IO, "Test")
            FileClose(IO)
        Catch ex As Exception
            MessageBox.Show("Write Error. You do not have permssion to write the simulation results.")
        End Try

This should go before a file save, geometry view, and model run