Jump to content

FEM: EquationFlow

From FreeCAD Documentation
This page is a translated version of the page FEM EquationFlow and the translation is 9% complete.
Outdated translations are marked like this.

FEM EquationFlow

Posizione nel menu
Solve → Equation flow
Ambiente
FEM
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Tutorial FEM

Description

Da fare

For information about the math of the equation, see the Elmer models manual, section Navier-Stokes Equations.

Usage

  1. Add an Elmer solver.
  2. Select it in the Tree View.
  3. There are several ways to invoke the command:
    • Press the Flow Equation button.
    • Select the Solve → Flow Equation option from the menu.
  4. Change the equation's solver settings or the general solver settings if necessary.

Solver Settings

For the general solver settings, see the Elmer solver settings.

The flow equation provides these special settings:

  • DatiDiv Discretization: To be set to true for incompressible flow for more stable discretization when the Reynolds number increases.
  • DatiFlow Model: The flow model that should be used. The default Full includes convection and time derivative terms in the model. No convection switches off the convection terms and the Stokes model switches off the convection terms and the (explicit) time derivative terms.
  • DatiGradp Discretization: If set to true pressure Dirichlet boundary conditions can be used. Also the mass flux is available as a natural boundary condition.
  • DatiVariable: Optional only for calculations in 2D: You can change the default of 3 to 2.
    Note: In this case none of the flow velocity boundary conditions can have a specified z-component.

Equation:

  • DatiConvection: The type of convection to be used in the Heat equation.
    Note: For thermal flows it must be set to Computed (the default).
  • DatiMagnetic Induction: If set to true the magnetic induction equation will be solved along with the Navier-Stokes equations.

Notes for Convergence

If the solver results do not converge, you can try these things (in the given order):

  1. Reduce the DatiRelaxation Factor, see the nonlinear system settings.
  2. Increase the value for DatiNonlinear Newton After Iterations, see the nonlinear system settings.
  3. Reduce the number of CPU cores used, see the FEM preferences.
  4. Increase the mesh density (make it more fine).

Analysis Feature Information

The flow equation takes the following analysis features into account if they are set:

Notes

  • Except for calculations in 2D, for all above boundary conditions it is important that they act on a face or body. Boundary conditions for 3D set to lines or vertices are not recognized by the Elmer solver.
  • Since Pressure load can only be set to faces, pressure loads cannot be used for calculations in 2D.
  • If there is no Pressure load set, Initial pressure condition will only be taken into account if DatiGradp Discretization is set to true.

Results

The results are the velocity in m/s and the pressure in Pa. If there is no Initial pressure condition and Pressure load given, the resulting pressure will be relative not absolute. Since pressure must act on a face, absolute pressure results cannot be obtained in 2D simulations.