The invention relates to a two-dimensional liquid-liquid phononic
crystal topology optimization method, which comprises the following steps of dividing a phononic
crystal primitive cell into an N*N square pixel structure; developing a
plane wave expansion method program for quickly calculating a two-dimensional liquid-liquid pixel phononic
crystal energy band laid by any material according to an
acoustic wave equation satisfied by a two-dimensional liquid-liquid phononic crystal dispersion relationship, and calculating a
band gap; and finally, searching the optimal material
layout of the two-dimensional liquid-liquid phononic crystal
primitive cell according to the requirements on the
band gap by utilizing a genetic optimization
algorithm. The process comprises the following steps of inputting a parameter to be solved, and initializing; calculating individual fitness; sequentially performing the genetic operations of selection,
crossover and
mutation to generate the next generation of
genus group, so that the
genus group evolutes forwards; and checking whether the
genus group meets a stop condition. Through the
topology optimization method, the designability of phononic crystals is enhanced, and the novel phononic
crystal structure with optimal
band gap characteristics is obtained; and meanwhile, the calculating time is reduced, and the calculating efficiency is improved, so that the designed phononic crystal has the best technical and economic performances.