SFEMaNS
version 4.1 (work in progress)
Reference documentation for SFEMaNS

It is used to define the coefficient \(g(T)\) of the Kelvin force for ferrofluid problems. This coefficient only depends of the temperature. We refer to the section SFEMaNS's possibilities for more information on the formulation of the NavierStokes equations in SFEMaNS for ferrofluid problem.
This function defines a scalar coefficient for a given temperature defined in the physical space.
The inputs of this function is a real denoted temp. It represents the value of the temperature at a given point of the 3D NavierStokes domain (radial, azimuthal and vertical cylindrical coordinates are fixed).
The output of this function is a real vv.
Remark:
Here is an exemple where the following coeffcient for the Kelvin force is considered: \(g(T)=1+ T + 3 T^2\).
The corresponding code lines are written as follows.
We refer to the sections Examples with manufactured solutions (see test 33) and Examples on physical problems for more examples.