FEM EquationFlux: Difference between revisions

From FreeCAD Documentation
(→‎Solver Settings: describe some settings)
Line 40: Line 40:


The flux equation provides these special settings:
The flux equation provides these special settings:
* {{PropertyData|Calculate Flux}}: Calculates the flux vector.
* {{PropertyData|Calculate Flux Abs}}: Calculates the absolute of the flux vector. Requires that {{PropertyData|Calculate Flux}} is true.
* {{PropertyData|Calculate Flux Magnitude}}: Computes the magnitude of the vector field. Requires that {{PropertyData|Calculate Flux}} is true.</br>Basically it is the same as {{PropertyData|Calculate Flux Abs}} but this requires less memory because it solves the matrix equation only once. The downside is that negative values may be introduced.
* {{PropertyData|Calculate Grad}}: Calculates the gradient of the flux.
* {{PropertyData|Calculate Grad Abs}}: Calculates the absolute flux gradient. Requires that {{PropertyData|Calculate Grad} is true.
* {{PropertyData|Calculate Grad Magnitude}}: Computes the magnitude of the vector field. Requires that {{PropertyData|Calculate Flux}} is true.</br>Basically it is the same as {{PropertyData|Calculate Grad Abs}} but this requires less memory because it solves the matrix equation only once. The downside is that negative values may be introduced.


==Constraint Information==
==Constraint Information==

Revision as of 18:46, 18 August 2022

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

FEM EquationFlux

Menu location
Solve → Flux equation
Workbenches
FEM
Default shortcut
None
Introduced in version
0.19
See also
None

This equation is used to calculate the fluxes resulting usually from Poisson kind of equations. These include the Heat equation and the Electrostatic equation.

For info about the math of the equation, see the Elmer models manual, section Flux Computation.

Usage

  1. After adding an Elmer solver as described here, select it in the tree view.
  2. Either use the toolbar button or the menu Solve → Flux equation.
  3. Now either add a heat equation (toolbar button or menu Solve → heat equation) or an electrostatic equation (toolbar button or menu Solve → Electrostatic equation). This is important because the flux equation needs the constraints set for these equastions.
  4. When using the electrostatic equation, change the property DataFlux Coefficient to None. and the property DataFlux Variable to Potential.
  5. 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 flux equation provides these special settings:

  • DataCalculate Flux: Calculates the flux vector.
  • DataCalculate Flux Abs: Calculates the absolute of the flux vector. Requires that DataCalculate Flux is true.
  • DataCalculate Flux Magnitude: Computes the magnitude of the vector field. Requires that DataCalculate Flux is true.
    Basically it is the same as DataCalculate Flux Abs but this requires less memory because it solves the matrix equation only once. The downside is that negative values may be introduced.
  • DataCalculate Grad: Calculates the gradient of the flux.
  • DataCalculate Grad Abs: Calculates the absolute flux gradient. Requires that {{PropertyData|Calculate Grad} is true.
  • DataCalculate Grad Magnitude: Computes the magnitude of the vector field. Requires that DataCalculate Flux is true.
    Basically it is the same as DataCalculate Grad Abs but this requires less memory because it solves the matrix equation only once. The downside is that negative values may be introduced.

Constraint Information

The flux equation does not have own constraints. It takes the constraints from the Heat equation or the Electrostatic equation.

Results

The available results depend on the solver settings. If none of them was set to true, nothing is calculated. Otherwise also the corresponding results will be available.

The resulting flux is either the heat flux (misleadingly named "temperature flux") or the potential flux in ().