Home Technical Economic Environmental

 

Code Operators

Below is a table of operators and common logic operators used within the code.


Table of Operators
(listed as introduced in code)

Operator

Units

Value

Explanation

q,nb2

Number

1-10

Number of blades

l

Meters

1-10

Length of blade

bl

Number

1-5

Subroutine selection for blade geometry

second

Logic

T or F

Logical operator used to run contra subroutines

iuout

Number

6

Used for file output in UNIX

iuin

Number

5

Used for file input in UNIX

pi

π

3.14159

Constant

pca

Degrees

0.001- 90

Pitch control angle

fspc

Logic

T or F

Full span pitch control,defined but not used

n

Number

1-6

Subroutine selection for blade profile

d

Kg/m3

1027

Density of fluid

v

m/s

0.01-10

Tidal speed

rt

Meters

0.1-50

Blade tip radius

rr

Meters

0.1-10

Blade root radius

xt, xt2

Ratio

0.01-10

Tip speed ratio, Ωr/v, (rad/s*m)/(m/s)

uc

Meters

0.01-5

Uniform chord length

uth

Degrees

0.01-90

Uniform pitch angle

throot

Degrees

0.01-90

Pitch angle at the root of blade

thtip

Degrees

0.01-90

Pitch angle at the tip

croot

Meters

0.01-5

Chord length at root

ctip

Meters

0.01-5

Chord length at tip

el

Meters

 

Blade element length

pc

Degrees

0

Pitch control, defined but not used

r

Meters

 

Radius of blade element being analysed

x

Ratio

max = xt

Blade element speed ratio

j

Number

1

Used for beginning of counting loop

i

Number

j + 1

Tracks the number of iterations performed

thav,beta2

Degrees

 

Average pitch angle

cav

Meters

 

Average chord

sl,sl2

Proportion

0-1

Solidity, ratio of area taken up by blades

iter

Number

 

Tracks the number of a & a’ iterations

a1,a2,a4

Proportion

0-1

Axial induction factor, a

b1,b2,b4

Proportion

0-1

Tangential induction factor, a’

ph,ph2

Degrees

 

Inflow angle to blades on rotor 1

al,al2

Degrees

 

Angle of attack

f,fz

Proportion

0-1

Tip loss factor

cn,cn2

Number

 

Lift coefficient

ct,cn2

Number

max = 2

Drag Coefficient

w,w2

m/s

 

Relative velocity between blade and stream

fax,fax2

Newton

 

Axial force/thrust

ftan

Newton

 

Tangential force/thrust

pt

Ratio

2 or 4

Proportion of thrust to rotor 1

cp,csum,cp2,csum2

Efficiency Ratio

0-0.593

Power coefficient

tl,tl2

Newton

 

Thrust loading

bm,bsum

KNm

 

Blade root bending moment

p

kW

 

Combined power at all blade elements

t

kNm

 

Combined torque onto the shaft

s

RPM

 

rotational speed

e

Logic

T or F

End program

cl

Equation

 

Coefficient of lift

cd

Equation

 

Coefficient of drag

NOTE:  Operators with 2 or 4 after them are calculated for 2nd contra

 

 

Fortran 77 Logic Expressions

x.GT.y

If (x is greater than y) then

x.LT.y

If (x is less than y) then

x.EQ.y

If (x is equal to y) then

x.GE.y

If (x is greater than or equal to y) then

x.LE.y

If (x is less than or equal to y) then

x.NE.y

If (x is not equal to y) then

 

 
Tidal Current Turbine Group Project - © University of Strathclyde