OHNESORGE

Excel Usage

=OHNESORGE(L, rho, mu, sigma)
  • L (float, required): Characteristic length [m]
  • rho (float, required): Density of fluid [kg/m^3]
  • mu (float, required): Viscosity of fluid [Pa*s]
  • sigma (float, required): Surface tension [N/m]

Returns (float): Ohnesorge number [-]

Examples

Example 1: Water droplet spray

Inputs:

L rho mu sigma
0.0001 1000 0.001 0.1

Excel formula:

=OHNESORGE(0.0001, 1000, 0.001, 0.1)

Expected output:

0.01

Example 2: Oil spray case

Inputs:

L rho mu sigma
0.001 850 0.1 0.03

Excel formula:

=OHNESORGE(0.001, 850, 0.1, 0.03)

Expected output:

0.62622

Example 3: Large droplet

Inputs:

L rho mu sigma
0.01 1000 0.001 0.072

Excel formula:

=OHNESORGE(0.01, 1000, 0.001, 0.072)

Expected output:

0.00118

Example 4: Small droplet

Inputs:

L rho mu sigma
0.00001 1000 0.001 0.072

Excel formula:

=OHNESORGE(0.00001, 1000, 0.001, 0.072)

Expected output:

0.03727

Python Code

from fluids.core import Ohnesorge as fluids_Ohnesorge

def ohnesorge(L, rho, mu, sigma):
    """
    Calculate the Ohnesorge number.

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

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

    Args:
        L (float): Characteristic length [m]
        rho (float): Density of fluid [kg/m^3]
        mu (float): Viscosity of fluid [Pa*s]
        sigma (float): Surface tension [N/m]

    Returns:
        float: Ohnesorge number [-]
    """
    try:
      L_val = float(L)
      rho_val = float(rho)
      mu_val = float(mu)
      sigma_val = float(sigma)

      if L_val <= 0 or rho_val <= 0 or mu_val <= 0 or sigma_val <= 0:
        return "Error: Characteristic length, density, viscosity, and surface tension must be positive"

      result = fluids_Ohnesorge(L_val, rho_val, mu_val, sigma_val)
      return float(result)
    except Exception as e:
      return f"Error: {str(e)}"

Online Calculator