Commit fd257cb0 authored by Andrew Heather's avatar Andrew Heather Committed by Andrew Heather
Browse files

TUT: propeller - added example use of propellerInfo function object

parent 734a3143
......@@ -54,6 +54,7 @@ functions
#include "surfaces"
#include "forces"
#include "AMIWeights"
#include "propellerInfo"
}
......
propellerInfo1
{
type propellerInfo;
libs (forces);
writeControl writeTime;
patches ("propeller.*");
// Setting reference back to wake average Uz velocity computed by [this]
// function object
URef functionObjectValue;
functionObject propellerInfo1;
functionObjectResult UzMean;
rho rhoInf; // incompressible
rhoInf 1.2;
// Propeller data:
writePropellerPerformance yes;
// Radius
radius 0.1;
rotationMode specified;
// rotationMode = specified:
origin (0 -0.1 0);
n 25.15;
axis (0 1 0);
// Optionally write wake text files
// Note: controlled by writeControl
writeWakeFields yes;
// Sample plane (disk) properties
// Note: controlled by writeControl
sampleDisk
{
r1 0.05;
r2 0.2;
nTheta 36;
nRadial 10;
interpolationScheme cellPoint;
surfaceWriter vtk;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment