Description
Define state variables and their update equations to run ordinary differential
equation, partial differential equation, or iterative simulations on the
dataset grid. Geometry and sampling are supplied by the SOIG dataset; the
program evaluates the configured expressions rather than selecting a built-in
physical model.
1. ODE solver
2. PDE solver
3. Iterative algorithm design
3D geometry:
Z: indexed by sampling points
X: indexed by columns
Y: indexed by subgroup
T: indexed by group
supported predefined variables
dz: vertical grid size
dx: x grid size
dy: y grid size
iz: z index
ix: x index
iy: y index
nx: number of point on x
ny: number of point on y
data.nz: number of point on z
data.dx: difference of data on x direction
data.dy: difference of data on y direction
data.dz: difference of data on z direction
data.d2x: 2nd difference of data on x direction
data.d2y: 2nd difference of data on y direction
data.d2z: 2nd difference of data on z direction
data.z1: data of next z sample
data.z_1: data of previous z sample
data.x1: data of next x sample
data.x_1: data of previous x sample
data.y1: data of next y sample
data.y_1: data of previous y sample
Synopsis
sgevolve <stdin >stdout -vbc=NULL -niter=10
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
in |
ifile |
stdin
|
input data with state variables predefined in data fields |
out |
ofile |
stdout
|
output data with each iteration in a group |
-vbc |
ifile |
NULL
|
load fields as time-variant variables: 1. time varying velocity inlet BC q="if((iz==0), vbc.pumprate, q)" |
-niter |
int |
10
|
number of iterations if -vbc=NULL |
Input and output
Input
input data with state variables predefined in data fields
Output
output data with each iteration in a group