CV_CHAR_LINEAR

Computes the normalized linear valve characteristic as a function of fractional opening.

For a linear characteristic, the flow coefficient fraction changes proportionally with valve travel, so equal changes in opening produce equal changes in normalized coefficient.

The relation is approximately:

C_{v,rel} = x

where x is the fractional opening.

Excel Usage

=CV_CHAR_LINEAR(opening)
  • opening (float, required): Fractional opening of the valve [0-1].

Returns (float): Flow coefficient characteristic fraction [0-1].

Example 1: Zero opening

Inputs:

opening
0

Excel formula:

=CV_CHAR_LINEAR(0)

Expected output:

0

Example 2: Full opening

Inputs:

opening
1

Excel formula:

=CV_CHAR_LINEAR(1)

Expected output:

1

Example 3: Half opening

Inputs:

opening
0.5

Excel formula:

=CV_CHAR_LINEAR(0.5)

Expected output:

0.5

Example 4: Quarter opening

Inputs:

opening
0.25

Excel formula:

=CV_CHAR_LINEAR(0.25)

Expected output:

0.25

Python Code

Show Code
from fluids.control_valve import Cv_char_linear

def cv_char_linear(opening):
    """
    Calculates the flow coefficient characteristic for a linear control valve.

    See: https://fluids.readthedocs.io/fluids.control_valve.html#fluids.control_valve.Cv_char_linear

    This example function is provided as-is without any representation of accuracy.

    Args:
        opening (float): Fractional opening of the valve [0-1].

    Returns:
        float: Flow coefficient characteristic fraction [0-1].
    """
    try:
      val = float(opening)
      if val < 0 or val > 1:
        return "Error: opening must be between 0 and 1"
      return float(Cv_char_linear(val))
    except Exception as e:
      return f"Error: {str(e)}"

Online Calculator

Fractional opening of the valve [0-1].