This macro file can be imported to an input file with $ import grid.mac
.
This collection of macros can be used to add different types of grids to the input file.
Contents
lowerBounds
:- Vector of coordinates for lower edge of grid, lowerBounds = [ XMIN YMIN ZMIN ]
upperBounds
:- Vector of coordinates for upper edge of grid, upperBounds = [ XMAX YMAX ZMAX ]
numCells
:- Vector of number of cells in grid, numCells = [ NX NY NZ ]
periodicDirections
:List of directions that are periodic
periodicDirections = [ 0 ] (x-direction periodic) periodicDirections = [ 0 1 ] (x,y-directions periodic) periodicDirections = [ 0 1 2 ] (x,y,z-directions periodic)
lowerBounds
:- Vector of coordinates for lower edge of grid, lowerBounds = [ XMIN YMIN ZMIN ]
upperBounds
:- Vector of coordinates for upper edge of grid, upperBounds = [ XMAX YMAX ZMAX ]
numCells
:- Vector of number of cells in grid, numCells = [ NX NY NZ ]
periodicDirections
:List of directions that are periodic
periodicDirections = [ 0 ] (x-direction periodic) periodicDirections = [ 0 1 ] (x,y-directions periodic) periodicDirections = [ 0 1 2 ] (x,y,z-directions periodic)
lowerBounds
:- Vector of coordinates for lower edge of grid, lowerBounds = [ XMIN YMIN ZMIN ]
upperBounds
:- Vector of coordinates for upper edge of grid, upperBounds = [ XMAX YMAX ZMAX ]
numCells
:- Vector of number of cells in grid, numCells = [ NX NY NZ ]
periodicDirections
:List of directions that are periodic
periodicDirections = [ 0 ] (x-direction periodic) periodicDirections = [ 0 1 ] (x,y-directions periodic) periodicDirections = [ 0 1 2 ] (x,y,z-directions periodic)
lowerBounds
:- Vector of coordinates for lower edge of grid, lowerBounds = [ XMIN YMIN ZMIN ]
upperBounds
:- Vector of coordinates for upper edge of grid, upperBounds = [ XMAX YMAX ZMAX ]
numCells
:- Vector of number of cells in grid, numCells = [ NX NY NZ ]
periodicDirections
:List of directions that are periodic
periodicDirections = [ 0 ] (x-direction periodic) periodicDirections = [ 0 1 ] (x,y-directions periodic) periodicDirections = [ 0 1 2 ] (x,y,z-directions periodic)
name
:- Name of grid WITHOUT extension
name
:- Name of grid WITHOUT extension
name
:- Name of grid WITHOUT extension
name
:- Name of grid WITHOUT extension
name
:- Name of grid WITHOUT extension
name
:- Name of grid WITHOUT extension
name
:- Name of grid WITHOUT extension
name
:- Name of grid WITHOUT extension
varName
:- Name to assign quantity that is independent of grid position
varValue
:- Value to assign quantity that is independent of grid position
expression
:- A mathematical expression to evaluate. f=f(preExpression,variable,t,x,y,z)
expression
:- A mathematical expression to evaluate. f=f(preExpression,variable,t,x,y,z)
newEntityNameVar
:- Name of the new entity
varName
:- Name to assign quantity that is independent of grid position
varValue
:- Value to assign quantity that is independent of grid position
expression
:- A mathematical expression to evaluate. f=f(preExpression,variable,t,x,y,z)
expression
:- A mathematical expression to evaluate. f=f(preExpression,variable,t,x,y,z)
newEntityNameVar
:- Name of the new entity
newEntityNameVar
:- Name of the new entity
entityToCreateFromVar
:- Name of the entity to create the new entity from