Numerical simulations of flapping foil and wing aerodynamics door