No Gif output

I’m learning the LB method to address a number of problems. Because I am not a C or C++ programmer, I have used list programming in Mathematica, which seems as fast as running lbmethod programs without parallel processing. However as check of my program, I tried without success to reproduce the cavity results in J Comp Phys 118, 329 (1995). Maybe 200 000 time steps isn’t sufficient to see the primary vortex shift from the left side to the right. Anyway, the lbmehtod site came to my attention in a search for another test model.

Here’s my question. I am able to download and run lbmethod programs on a MacBook Pro with the Snow Leopard operating system, but the program output states that no output (gifs) are produced. Indeed, I can’t find any. In addition I can’t make any sense of the C++ in that section of code. Any advice?

Sample output for cavity2d:

step 243200; lattice time=243200; t=19; av energy=3.54537e-06; av rho=1
Saving Gif …
sh: convert: command not found
rm: ./tmp/uz243200.ppm: No such file or directory
Saving VTK file …
could not open file ./tmp/vtk243200.vti
step 244480; lattice time=244480; t=19.1; av energy=3.54538e-06; av rho=1
step 245760; lattice time=245760; t=19.2; av energy=3.54538e-06; av rho=1
step 247040; lattice time=247040; t=19.3; av energy=3.54538e-06; av rho=1
step 248320; lattice time=248320; t=19.4; av energy=3.54539e-06; av rho=1
step 249600; lattice time=249600; t=19.5; av energy=3.54539e-06; av rho=1
step 250880; lattice time=250880; t=19.6; av energy=3.54539e-06; av rho=1
step 252160; lattice time=252160; t=19.7; av energy=3.5454e-06; av rho=1
step 253440; lattice time=253440; t=19.8; av energy=3.5454e-06; av rho=1
step 254720; lattice time=254720; t=19.9; av energy=3.5454e-06; av rho=1
256000
3.5454e-06

Best wishes,

Bruce Ackerson
Department of Physics
Oklahoma State University
Stillwater, OK 74078

Hi Bruce

The problem is due to the fact that you dont have imagemagik installed.

Regards,
Bruce :smiley:

Many thanks, I’ll work on that! BJA