FROUDE_DENSIMETRIC

Excel Usage

=FROUDE_DENSIMETRIC(V, L, rho_heavy, rho_light, heavy, g)
  • V (float, required): Velocity of the specified phase [m/s]
  • L (float, required): Characteristic length [m]
  • rho_heavy (float, required): Density of the heavier phase [kg/m^3]
  • rho_light (float, required): Density of the lighter phase [kg/m^3]
  • heavy (bool, optional, default: true): Whether to use heavy phase density in numerator (default True)
  • g (float, optional, default: 9.80665): Acceleration due to gravity [m/s^2]

Returns (float): Densimetric Froude number [-]

Examples

Example 1: Densimetric Froude with default gravity

Inputs:

V L rho_heavy rho_light
1.83 2 1000 900

Excel formula:

=FROUDE_DENSIMETRIC(1.83, 2, 1000, 900)

Expected output:

1.3067

Example 2: Higher velocity densimetric Froude

Inputs:

V L rho_heavy rho_light
2.5 1.5 1200 900

Excel formula:

=FROUDE_DENSIMETRIC(2.5, 1.5, 1200, 900)

Expected output:

1.30366

Example 3: Densimetric Froude with heavy=False

Inputs:

V L rho_heavy rho_light heavy
1.83 2 1000 900 false

Excel formula:

=FROUDE_DENSIMETRIC(1.83, 2, 1000, 900, FALSE)

Expected output:

1.23964

Example 4: Densimetric Froude with custom gravity

Inputs:

V L rho_heavy rho_light g
1.83 2 1000 900 10

Excel formula:

=FROUDE_DENSIMETRIC(1.83, 2, 1000, 900, 10)

Expected output:

1.29401

Python Code

from fluids.core import Froude_densimetric as fluids_Froude_densimetric

def froude_densimetric(V, L, rho_heavy, rho_light, heavy=True, g=9.80665):
    """
    Calculate the densimetric Froude number.

    See: https://fluids.readthedocs.io/fluids.core.html#fluids.core.Froude_densimetric

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

    Args:
        V (float): Velocity of the specified phase [m/s]
        L (float): Characteristic length [m]
        rho_heavy (float): Density of the heavier phase [kg/m^3]
        rho_light (float): Density of the lighter phase [kg/m^3]
        heavy (bool, optional): Whether to use heavy phase density in numerator (default True) Default is True.
        g (float, optional): Acceleration due to gravity [m/s^2] Default is 9.80665.

    Returns:
        float: Densimetric Froude number [-]
    """
    try:
        V = float(V)
        L = float(L)
        rho_heavy = float(rho_heavy)
        rho_light = float(rho_light)
        heavy = bool(heavy)
        g = float(g)

        if V < 0:
            return "Error: Velocity V must be non-negative"
        if L <= 0:
            return "Error: Characteristic length L must be positive"
        if rho_heavy < 0 or rho_light < 0:
            return "Error: Densities must be non-negative"
        if rho_heavy < rho_light:
            return "Error: rho_heavy must be >= rho_light"
        if g <= 0:
            return "Error: Gravity g must be positive"

        result = fluids_Froude_densimetric(V, L, rho_heavy, rho_light, heavy, g)
        return float(result)
    except (TypeError, ValueError) as e:
        return f"Error: Invalid input - {str(e)}"
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator