ENTRANCE_ANGLED

Evaluates the entrance loss coefficient for a sharp-edged pipe inlet mounted at an angle relative to the wall.

The supported formulation is angle-based and commonly expressed as a polynomial in \cos(\theta), where \theta is the inlet inclination.

The result is a dimensionless entrance-loss coefficient used in system head-loss calculations.

Excel Usage

=ENTRANCE_ANGLED(angle)
  • angle (float, required): Angle of inclination (90° = straight, 0° = parallel), [degrees]

Returns (float): Loss coefficient K for the angled entrance [-]

Example 1: 30 degree angle entrance

Inputs:

angle
30

Excel formula:

=ENTRANCE_ANGLED(30)

Expected output:

0.979808

Example 2: 45 degree angle entrance

Inputs:

angle
45

Excel formula:

=ENTRANCE_ANGLED(45)

Expected output:

0.882132

Example 3: 60 degree angle entrance

Inputs:

angle
60

Excel formula:

=ENTRANCE_ANGLED(60)

Expected output:

0.77

Example 4: 90 degree (straight) entrance

Inputs:

angle
90

Excel formula:

=ENTRANCE_ANGLED(90)

Expected output:

0.57

Python Code

Show Code
from fluids.fittings import entrance_angled as fluids_entrance_angled

def entrance_angled(angle):
    """
    Calculate the loss coefficient (K) for an angled sharp entrance to a pipe flush with a reservoir wall.

    See: https://fluids.readthedocs.io/fluids.fittings.html#fluids.fittings.entrance_angled

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

    Args:
        angle (float): Angle of inclination (90° = straight, 0° = parallel), [degrees]

    Returns:
        float: Loss coefficient K for the angled entrance [-]
    """
    try:
      try:
        angle = float(angle)
      except (ValueError, TypeError):
        return "Error: Angle must be a number."

      if angle < 0 or angle > 90:
        return "Error: Angle must be between 0 and 90 degrees."

      result = fluids_entrance_angled(angle=angle, method='Idelchik')
      return float(result)
    except Exception as e:
      return f"Error: {str(e)}"

Online Calculator

Angle of inclination (90° = straight, 0° = parallel), [degrees]