A simplified physical waveguide model of a flute, based on the model by Perry Cook described here and here. Here the frequency is adjustable.