As the name suggests flood and drain is the exact principle used with this type of growing.
The garden bed (trough, channel, etc) is flooded with the nutrient solution at various times throughout the 24 hour cycle and once flooded, it gradually drains away back into a reservoir that holds the solution.
The most common approach to this type of system is the use of a small pump that pumps the solution from the reservior to the garden bed.