PostView doen't open large plt file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ladopico
    Member
    • Oct 2010
    • 30

    PostView doen't open large plt file

    Hi,

    I'm having trouble with a few plt files, PostView can't open them, in fact the program crashes completely. I think it's because they are very big (>2,000,000 Kb). Any sugestions?

    Cheers.
  • dsrawlins
    Developer
    • Dec 2008
    • 366

    #2
    Hi,

    By using the "must point" feature of FEBio as outlined in the PreView user's manual in section 8.2.1 and adding the PLOT_MUST_POINTS parameter as outlined in the FEBio user's manual in section 3.2.2, only the must points states will be saved in the plot file, which can greatly reduce it's size. Let me know if this works for you.

    Cheers,

    Dave
    Department of Bioengineering, University of Utah
    Scientific Computing and Imaging institute, University of Utah

    Comment

    • ladopico
      Member
      • Oct 2010
      • 30

      #3
      Fatal error

      Hi,

      I have ticked the "must point" option in the step dialogue, and then added the line
      <plot_level>PLOT_MUST_POINTS<plot_level>
      inside the control section, but it says:
      FATAL ERROR: the value for tag "plot_level" is invalid <line 12>

      I don't really know how to use the curve editor for the must points, so I haven't tried this yet.

      Any suggestion?

      Comment

      • dsrawlins
        Developer
        • Dec 2008
        • 366

        #4
        It looks like you missed the "/" in the trailing tag. It should read:
        <plot_level>PLOT_MUST_POINTS</plot_level>

        Once you've selected the "must point" option in the step dialog, you can edit the must points by going to the curve editor (click on the curve editor icon, go to View > Curve Editor, or press F4) and selecting the must point curve under Steps in the tree. The x-axis represents the time values of the must points and the y-axis represents dtmax (maximum time step) for each of the must points. Note that by default, dtmax is 0.1.

        You may also want to take a look at mi09.feb in the test suite. The important lines are in bold:

        .
        .
        .
        <time_stepper>
        <dtmin>0.01</dtmin>
        <dtmax lc="1"></dtmax>
        <max_retries>5</max_retries>
        <opt_iter>10</opt_iter>
        </time_stepper>
        <plot_level>PLOT_MUST_POINTS</plot_level>
        .
        .
        .
        <loadcurve id="1">
        <loadpoint>0,0</loadpoint>
        <loadpoint>0.5,0.2</loadpoint>
        <loadpoint>1,0.1</loadpoint>
        </loadcurve>


        Hope this helps.

        Cheers,

        Dave
        Department of Bioengineering, University of Utah
        Scientific Computing and Imaging institute, University of Utah

        Comment

        • ladopico
          Member
          • Oct 2010
          • 30

          #5
          Model runs but plt file doesn't show anything

          Hi,

          I have applied your suggestions but althougth the models runs as before, the plt doesn't show anything. It may be because I don't understand the meaning of the load curve points that you suggested, they may be too large for the step size that the program is choosing (dt= 0.0004 at the 10th iteration). Could you specify what the load curve pairs mean? ( (0,0), (0.5, 0.2), (1, 0.1) ).
          Any suggestion?

          Cheers.

          Comment

          • dsrawlins
            Developer
            • Dec 2008
            • 366

            #6
            The first coordinate is the time and the second is dtmax. Could you attach your .feb file?

            Dave
            Department of Bioengineering, University of Utah
            Scientific Computing and Imaging institute, University of Utah

            Comment

            • ladopico
              Member
              • Oct 2010
              • 30

              #7
              the feb file

              Here is the feb file.... I don't know if it the upload has worked, let me know...

              Comment

              • dsrawlins
                Developer
                • Dec 2008
                • 366

                #8
                The file was too large to upload, but thanks for emailing it to me.

                Your maximum time is 0.05, determined by time_steps x step_size. So you either need to adjust one of these numbers to increase the maximum time, or change the must points so that the time values are less than 0.05. The default value for dtmax is the same as the value for the step size. I would start with this. Hope that helps.

                Cheers,

                Dave
                Department of Bioengineering, University of Utah
                Scientific Computing and Imaging institute, University of Utah

                Comment

                Working...
                X
                😀
                😂
                🥰
                😘
                🤢
                😎
                😞
                😡
                👍
                👎