In this pull request I attempt to provide different helper functions to produce a Campbell diagram. All functions are gathered in the Campbell folder. The functions require an input file, which is a tabulated file that defines the operating points at which linearization is to occur. The filenames are automatically generated, but the user can override this by precising the filenames of each simulations in the input file (see readOperatingPoints.m)
Two example scripts are provided:
Campbell/examples/runCampbell.m : for OpenFAST2.3
Campbell/examples/runCampbell_Trim.m : for OpenFAST2.3 dev (August 2020)
Data to run this scripts were added to the repository (in folder _ExampleData).
The trim script also provides options to generate the visualization (VTK) files and movies (provided the user install paraview-python).
The scripts and functions are inspired from the legacy example script from B. Jonkman, located here: Campbell/examples/legacy/runCampbell_Trim.m
I've provided some minimal documentation in the README of the repository, and quite some comments in the example scripts and functions. We will likely need to provide additional documentation in the OpenFAST readthedocs.
In this pull request I attempt to provide different helper functions to produce a Campbell diagram. All functions are gathered in the
Campbell
folder. The functions require an input file, which is a tabulated file that defines the operating points at which linearization is to occur. The filenames are automatically generated, but the user can override this by precising the filenames of each simulations in the input file (seereadOperatingPoints.m
)Two example scripts are provided:
Campbell/examples/runCampbell.m
: for OpenFAST2.3Campbell/examples/runCampbell_Trim.m
: for OpenFAST2.3 dev (August 2020)Data to run this scripts were added to the repository (in folder
_ExampleData
).The trim script also provides options to generate the visualization (VTK) files and movies (provided the user install paraview-python).
The scripts and functions are inspired from the legacy example script from B. Jonkman, located here:
Campbell/examples/legacy/runCampbell_Trim.m
I've provided some minimal documentation in the README of the repository, and quite some comments in the example scripts and functions. We will likely need to provide additional documentation in the OpenFAST readthedocs.