Simple MAC  1.0
A Marker and Cell Method Solver for the Navier Stokes Equations
 All Classes Files Functions Variables Pages
Public Attributes
dim Module Reference

This module holds parameter data for the solver. More...

List of all members.

Public Attributes

integer, parameter nx = 90
 Number of cells in x-direction.
integer, parameter ny = 90
 Number of cells in y-direction.
double precision, parameter dx = 1.0d0/(nx-1.0d0)
 Calculated spatial step size, \( \Delta x \).
double precision, parameter dy = 1.0d0/(ny-1.0d0)
 Calculated spatial step size, \( \Delta y \).
double precision, parameter wconst = 1.0d0/(4.0d0*dx)
 Carried out constant from the calculation of vorticity.
integer t
 Current timestep value.
double precision dt
 Current \( \Delta t \) for timestepping.
double precision re
 Reynolds number of flow, \( Re \).
double precision r
 Additional convergence criteria for CFL condition.

Detailed Description

This module holds parameter data for the solver.

We store all data not specific to the conserved variables in this module. The variables may be set through subroutines in the solver code.

Definition at line 12 of file mac.f90.


Member Data Documentation

double precision dim::dt

Current \( \Delta t \) for timestepping.

Definition at line 25 of file mac.f90.

double precision, parameter dim::dx = 1.0d0/(nx-1.0d0)

Calculated spatial step size, \( \Delta x \).

Definition at line 19 of file mac.f90.

double precision, parameter dim::dy = 1.0d0/(ny-1.0d0)

Calculated spatial step size, \( \Delta y \).

Definition at line 20 of file mac.f90.

integer, parameter dim::nx = 90

Number of cells in x-direction.

Definition at line 16 of file mac.f90.

integer, parameter dim::ny = 90

Number of cells in y-direction.

Definition at line 17 of file mac.f90.

double precision dim::r

Additional convergence criteria for CFL condition.

Definition at line 28 of file mac.f90.

double precision dim::re

Reynolds number of flow, \( Re \).

Definition at line 27 of file mac.f90.

integer dim::t

Current timestep value.

Definition at line 24 of file mac.f90.

double precision, parameter dim::wconst = 1.0d0/(4.0d0*dx)

Carried out constant from the calculation of vorticity.

Definition at line 22 of file mac.f90.


The documentation for this module was generated from the following file: