-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add AL visualization #226
base: master
Are you sure you want to change the base?
Add AL visualization #226
Conversation
Added simple actuator line VTK writer to actuatorLineSource
Should modify this to write some rectangular surfaces representing the planform areas of the actuator lines. It would also be nice to be able to write single VTKs for all turbine surfaces for compactness. |
Defining polygons is done in the legacy VTK format as (thanks @chegdan for the tip to create and save a VTK plane in ParaView):
|
|
||
// Pad the integer name for the VTK reader | ||
std::ostringstream cfc; | ||
cfc << std::setw(12) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there might be some extra whitespace here.
<< vtkFileSequence_; | ||
|
||
// Construct file name | ||
vtkFileName = vtkDir_+"/"+name_+"_"+cfc.str()+".vtk"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think there should be spaces between the +
s.
<< ePosition[2] | ||
<< nl; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete blank line.
|
||
// Write element velocity | ||
vtkFilePtr_() | ||
<< "VECTORS Velocity double "<<nl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be on a new line, indented?
@@ -118,6 +119,7 @@ turbine | |||
{ | |||
$blade1; | |||
writePerf false; | |||
writeVTK true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent indentation here.
Addresses #87.