• RESOLVED: PEST 12.1.0 and FEFLOW 6.0 "Cannot open model output file"

    I am trying to run PEST 12.1.0 on a FEFLOW 6.0 model.

    I get the following error when initiating PEST:
    [quote]
    Error condition prevents continued PEST execution:-
    Cannot open model output file
    [/quote]

    [b]Source of error[/b]
    FEFLOW writes ASCII .fem files using UNIX type newlines (LF) and PEST needs Windows type newlines CR/LF.

    A .fem file was edited and used for "PEST template file" i.e. using UNIX type newlines.
    When PEST atempts to write a new .fem file for the first model run, it fails and returns an empty 0K file.
    FEFLOW can't load the .fem file since it "empty" (0K) and exits with an unexpected EOF error.
    PEST running independantly asumes the model has completed first run and tries to access the result file "output.dar".
    Output.dar is not there since the model-run has not been completed.
    Hence, the error

    [b]Resolution[/b]
    If your "PEST template file" was based on a FEFLOW .fem file, all newlines must be converted from LF -> CRLF
    This you have to do when generating the file.

    When running PEST it initiates FEFLOW several consecutive times, each time producing a new .fem and .dar/.dac file.
    All newlines in these files must be converted from LF -> CRLF prior to PEST accessing the files.
    Do this in the batch file you specify under "*model command line" in the "PEST control file"

    To do the actual conversion you can write a small routine or include this nifty tool in your PATH:
    [url=http://www.stahlforce.com/dev/index.php?tool=remcrlf&back=dev]http://www.stahlforce.com/dev/index.php?tool=remcrlf&back=dev[/url]

    For your reference here is my batch file:
    [code]
    @echo off
    start /min /wait "" "sfk" lf-to-crlf -dir femdata -file .fem -norec
    start /min /wait "" "C:\Program Files\WASY\FEFLOW 6.0\bin64\feflow60c.exe" -work C:\Users\XXX\Desktop\PEST_Calibration\ -ascii -dar output.dar input.fem
    start /min /wait "" "sfk" lf-to-crlf -dir results -file .dar -norec
    [/code]

    Cheers,
  • Re: Best viewer/editor for .fem problem in ascii interchange format?

    Thx for the excelent suggestion:

    The main advantages of using firstobjectXML is mainly performance when dealing with large files and its free :)

    It still dosen't enable "XML browsing" of the XML parts of the files which would be nice.

    I have given Context a whirl and from what I see I like it.

    It has a lot more basic features than firstobjectXML :)

    I have updated the small list to contain Context aswell
  • Best viewer/editor for .fem problem in ascii interchange format?

    What is the best viewer/editor for working with .fem problem in ascii interchange format?

    Preferably one that supports tree-browsing of the XML parts of the .fem file!

    I have been playing around with the following (none of which support XML browsing):
    [list]
    [li][b]Context:[/b] Nice features and an overall good performance (best overall so far)[/li]
    [li][b]firstobjectXML Editor:[/b] Free and with great performance[/li]
    [li][b]Notepad++:[/b] chokes up so I would not recommed it[/li]
    [li][b]gVim:[/b] can handle the files but its a bit sluggish[/li]
    [li][b]TextPad:[/b] is OK but costs $[/li]
    [/list]
  • Re: Feflow 6: 3D graphics card compatibility issue (Quadro FX 880M)

    We have an extended warranty through HP. So fortunately they will replace the faulty card :)
  • Re: Feflow 6: 3D graphics card compatibility issue (Quadro FX 880M)

    The issue was addressed by HP:

    Apparently the problem is caused by a faulty series of Quadro FX 880M graphic cards.
    This issue will also prevent acrobat reader in scrolling through .pdf documents with "hardware acceleration" set to true in acrobat reader

    There is no software fix to this problem.

    The only solution is to replace the graphics card.
  • Problem with polygon splitting

    Hi,

    We are trying to split a polygon along a series of shapes prior to supermesh generation.

    When inner facing borders of the shapes have been traced feflow splits the targeted polygon into the following:

    [img width=200 height=189]http://img268.imageshack.us/img268/6168/capturefm.jpg[/img]

    Any suggestions?
  • Feflow 6: 3D graphics card compatibility issue (Quadro FX 880M)

    Hi,

    Trying to access the 3D window

    [list]
    [li]The 3D window shows correctly[/li]
    [li]Trying to interact with the window gives the following error:
    Display driver NVIDIA Windows Kernel Mode Driver, Version XXX.XX stopped responding and has successfully recovered  [/li]
    [li]Feflow 6.0 crashes[/li]
    [/list]

    I have a HP Elitebook 8540w with an NVIDIA Quadro FX 880M Graphics card and the latest drivers installed.
    I have tried a whole series of the available FX 880M drivers.

    [code]- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="Application Hang" />
      <EventID Qualifiers="0">1002</EventID>
      <Level>2</Level>
      <Task>101</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2011-04-18T11:32:49.000000000Z" />
      <EventRecordID>4097</EventRecordID>
      <Channel>Application</Channel>
      <Computer>GEO-554-W7.GEO.LOCAL</Computer>
      <Security />
      </System>
    - <EventData>
      <Data>feflow60q.exe</Data>
      <Data>6.0.6.5343</Data>
      <Data>7cc</Data>
      <Data>01cbfdbc08aa7bdc</Data>
      <Data>16</Data>
      <Data>C:\Program Files\WASY\FEFLOW 6.0\bin64\feflow60q.exe</Data>
      <Data>84bf1f59-69af-11e0-8d9e-e02a822d684c</Data>
      <Binary>55006E006B006E006F0077006E0000000000</Binary>
      </EventData>
      </Event>[/code]

    Any help would be much appreciated

    Regards