Making movies based on time

Itasca software includes the ability to output a bitmap every n steps, but you might instead want to output your frames based on time (dynamic, thermal, fluid). You could do this with FISH - it would look something like this:

fish def make_movie
loop i (1,100)
fname = ‘frame_’+string(i)
command
model solve time 0.1
plot ‘displacement’ export bitmap filename [fname]
end_command
end_loop
end

See here for more info on making movies from frames: Generating Videos via Plots | US Minneapolis - Itasca Consulting Group, Inc.

2 Likes