Class JetModel#

Class Documentation#

class JetModel#

Model of the water jet flow out the end of tubing.

Public Functions

JetModel(void)#

Create a new version-1 jet model.

JetModel(int ver)#

Create a new jet model, specifying the version.

Parameters:

ver – the version number, 0 for off

void set_version(int ver)#

Set the jet model version.

Parameters:

ver – version number, 0 for off

int get_version(void)#

Get the jet model version.

Returns:

the version

double velocity(double Q, double r)#

Calculate the jet velocity.

Parameters:
  • Q – the flow rate in ft3/h

  • r – the orifice radius in ft

Returns:

the velocity in ft/s

double length(double u)#

Calculate the jet length.

Parameters:

u – the velocity in ft/s

Returns:

the penetration depth in ft