Development of BEM for thermoviscous flow