Using threads to solve computational fluid dynamic problem.