def velocity(Q, S):
    """
    :param Q: Volume flow for thermodynamic conditions in pipe, m3/s
    :param S: Сross-sectional area of a pipe, m2
    :return: Velocity of the natural gas, m/s
    """
    return Q/S