% This script is a minimal working example to run the Stochastic Lid Driven Cavity Test Case.
clc
close all
clear

% Build app structure.
app.Nx = 30; 
app.Ny = 30; 
app.T = 5; 
app.dt = 5e-5; 
app.PlotIntrvl = 1000; 
app.nu = 0.01;
app.var = 1e-1;
app.S = [5];
app.DOAdapt = app.PlotIntrvl/2;	

app.MC = 10000;

% SetupScript and PlotScript.
SetupScript = 'DoubleGyreSetup';
PlotScript = 'DOAdaptGenericPlots';

% Call Solver.
[P, u, v, NodeP, Nodeu, Nodev] = FluidsSolver2_DO_NS(app, SetupScript, PlotScript);     


