% This script provides a minimialistic working script to run the Sudden Expansion Test Case.
clc
close all
clear

% Build app Structure.

app.Nx = 200; % grid points in x
app.Ny = 30;  % grid points in y
app.T = 20;   % final time 
app.dt = 5/1000; % time step 
app.nu = 0.001;  % inverse of Reynolds number
app.PlotIntrvl = 10; % number of time steps between saving files
app.NoPlot = 0;    % means - show plot

% Initialize Setup Script and Plot Scripts.

SetupScript = 'CylinderCrossFlowSetup';
PlotScript = 'SuddenExpansionPlots';

% Call Solver.
disp('Fluids Solver for Flow Past Cylinder \n');
[P, u, v, rho, NodeP, Nodeu, Nodev] = FluidsSolver2(app, SetupScript, PlotScript);

