You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
When using WrVTK=3, the checkpoint stores the path to the .out or .outb file relative to the run/execution directory (where OpenFAST was run from). If the execution path is changed when generating the mode shape visualizations, OpenFAST throws the error:
FAST_RestoreForVTKModeShape_Tary:FAST_RestoreFromCheckpoint_Tary:FAST_RestoreFromCheckpoint_T:Cann
ot open file "Turbine/Case01/Turbine.out". Another program like MS Excel may
have locked it for writing.
This error is generated AFTER OpenFAST writes the mode shape viz files to currentPath + path in checkpoint file.
Use Case: Running OpenFAST linerization sweep on HPC and downloading results to process locally with ACDC.
To Reproduce
Folder structure:
Project << execution dir initially >>
Turbine
Case01 << execution directory for mode shape generation >>
vtk
Turbine.fst
Turbine_***dyn.dat
Turbine.ModeShapeVTK.chkp
....
Turbine/Case01/vtk/****.vtp << newly created when generate mode shape viz >>
Case02
....
Run.Bash
Steps to reproduce the behavior:
Compile current dev branch
Run any model with above folder structure from the Project dir, with WrVTK=3
Generate the .MBC and .viz file using your preferred tool (openfast-toolbox, Matlab-toolbox, ACDC)
Run mode shape viz using openfast -VTKLin Turbine.ModeShapeVTK.viz from within directory Case01
See the error above
new folder Turbine/Case01/vtk is generated inside Case01 with mode shape files even after the error. <>
Expected behavior
Allow OpenFAST to resume execution form any directory OR Throw error to user when the resume directory is different from initial execution.
Should not generate the Turbine/Case01/vtk folder and mode shape files when executed form a different directory
Screenshots, if applicable
NA
OpenFAST Version
**************************************************************************************************
OpenFAST
Copyright (C) 2024 National Renewable Energy Laboratory
Copyright (C) 2024 Envision Energy USA LTD
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.
**************************************************************************************************
OpenFAST-v3.5.4-1939-gdc04b703
Compile Info:
- Compiler: GCC version 13.2.0
- Architecture: 64 bit
- Precision: double
- OpenMP: No
- Date: Dec 5 2024
- Time: 14:14:06
Execution Info:
- Date: 12/10/2024
- Time: 09:25:10-0700
System Information (please complete the following information):
Bug description
When using
WrVTK=3
, the checkpoint stores the path to the.out
or.outb
file relative to the run/execution directory (where OpenFAST was run from). If the execution path is changed when generating the mode shape visualizations, OpenFAST throws the error:This error is generated AFTER OpenFAST writes the mode shape viz files to
currentPath + path in checkpoint file
.Use Case: Running OpenFAST linerization sweep on HPC and downloading results to process locally with ACDC.
To Reproduce
Folder structure:
Steps to reproduce the behavior:
dev
branchProject
dir, withWrVTK=3
.MBC
and.viz
file using your preferred tool (openfast-toolbox, Matlab-toolbox, ACDC)openfast -VTKLin Turbine.ModeShapeVTK.viz
from within directoryCase01
Turbine/Case01/vtk
is generated insideCase01
with mode shape files even after the error. <>Expected behavior
Turbine/Case01/vtk
folder and mode shape files when executed form a different directoryScreenshots, if applicable
NA
OpenFAST Version
System Information (please complete the following information):
Additional context
Discussed with @deslaughter
The text was updated successfully, but these errors were encountered: