GfsVariablePoisson

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:37, 11 June 2011
Popinet (Talk | contribs)

← Previous diff
Current revision
Popinet (Talk | contribs)
(Added parameter block)
Line 3: Line 3:
The syntax in parameter files is The syntax in parameter files is
- [ [[GfsVariableFunction]] ]+ [ [[GfsVariableFunction]] ] { tolerance = 1e-3 ... }
The variable is the solution of the Poisson equation: The variable is the solution of the Poisson equation:
Line 9: Line 9:
::''&nabla;<sup>2</sup><i>v</i> = <i>f</i>'' ::''&nabla;<sup>2</sup><i>v</i> = <i>f</i>''
-where <i>v</i> is the name of the variable and <i>f</i> is the [[GfsFunction]] given as argument.+where <i>v</i> is the name of the variable and <i>f</i> is the [[GfsFunction]] given as argument. The parameter block is optional and follows the syntax (and default settings) of [[GfsProjectionParams]].
By default the Poisson equation is solved at every timestep. This can be tuned using the parameters of the parent [[GfsEvent]]. By default the Poisson equation is solved at every timestep. This can be tuned using the parameters of the parent [[GfsEvent]].
<examples/> <examples/>

Current revision

GfsVariablePoisson defines a new variable which is the solution of a Poisson equation.

The syntax in parameter files is

[ GfsVariableFunction ] { tolerance = 1e-3 ... }

The variable is the solution of the Poisson equation:

2v = f

where v is the name of the variable and f is the GfsFunction given as argument. The parameter block is optional and follows the syntax (and default settings) of GfsProjectionParams.

By default the Poisson equation is solved at every timestep. This can be tuned using the parameters of the parent GfsEvent.

Examples

Personal tools
communication