The present paper presents some recent development of numerical simulations for flows around high-speed trains. The first part of the paper deals with time-dependent simulations of a wind gust's influence on a train. Here flow around an ICE2 train is simulated using detached eddy simulation. A shape optimization strategy for aerodynamics of high-speed trains based on metamodels is presented in the second part of the paper.