Velocity Variable with Time
Two files, StokesVideoWriter.m and ParallelStokesVideoWriter.m, support flow fields that change over time. A simple example is shown here.
coeff = 1/6;
for c = 1:nsteps
%% Time-Dependent Boundary Velocity
% velocity starts as sin(2theta), converges onto sin(6theta)
rhs = [real(sin((2+coeff*c/nsteps).*s.t).*s.tang);imag(sin((2+coeff*c/nsteps).*s.t).*s.tang)];
%
% timestepping and video-writing here
%
%
end
This Simulation Took Twelve Hours To Run On A Super Computer
This Simulation Took Twelve Hours To Run On A Super Computer
If you want to work with these files more deeply, and you want some guidance, email me at salmanr@umich.edu.