Skip to content

Setting up parameters

Pascal FREY edited this page Feb 2, 2016 · 7 revisions

This section contains information on how to setup an elastic parameter file file.nstokes.

#####Parameter file

Boundary conditions, body forces, fluid and flow properties can be easily specified in a file associated with the problem to solve. The syntax is very simple: it is based on keywords and numerical values. The set of admissible keywords is the following: Dirichlet, Neumann, Slip, Tension, AtmPres, Gravity, Domain. Keywords may be followed by an integer value indicating how many such conditions of this type will be supplied.

[Dirichlet | Neumann]
nec
{label_i [vertex|edge|triangle] [f|v|n] {values}} i=1, nbc

Slip
nbc
{label_i [vertex|edge|triangle] {value}} i=1, nbc

[Tension | AtmPres]
nbc
{label_i {value}} i=1, nbc

[Gravity]
gx gy gz

Domain
nbm
{label_i nu rho} i=1, nbm
Clone this wiki locally