Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No explicit error message when VTK surfaces are requested without airfoil coordinates #382

Closed
ebranlard opened this issue Jan 15, 2020 · 4 comments

Comments

@ebranlard
Copy link
Contributor

Bug description
OpenFAST aborts with no explicit error message when VTK surfaces are requested without airfoil coordinates being provided in airfoil files.

To Reproduce
Set VTK_type=1 and WrVTK=1 for a simulation where no airfoil coordinates are provided in all or one of the airfoil files.

Expected behavior
Explicit error message provided.

@bjonkman
Copy link
Contributor

Hmmm... I get the error message "Cannot do surface visualization without airfoil coordinates defined in AeroDyn" (this is running the code from #373) :
image

@ebranlard
Copy link
Contributor Author

ebranlard commented Jan 16, 2020

It might be due to some warning message that took priority or filled the error message buffer. Here's what I get (with the version from #373):

image

bjonkman added a commit to bjonkman/openfast that referenced this issue Jan 16, 2020
@bjonkman
Copy link
Contributor

Yes, it looks like the error message just got too large for this model with all those mesh-mapping messages. I put a little work-around in my linearization pull request to print informational messages a bit early so that error messages after the mesh-mapping informational messages get printed, too.

@ebranlard
Copy link
Contributor Author

Thanks that does the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants