FEM ConstraintFlowVelocity/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Использование==")
(Updating to match new version of source page)
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[FEM_ConstraintInitialFlowVelocity/ru|Начальное условие скорости потока]]
|[[FEM_ConstraintFluidBoundary/ru|Constraint fluid boundary]]
|[[FEM_ConstraintPlaneRotation/ru|Ограничить вращение плоскости]]
|[[FEM_ConstraintFixed/ru|Constraint fixed]]
|[[FEM_Module/ru|FEM]]
|[[FEM_Workbench/ru|Верстак "FEM"]]
|IconL=FEM_ConstraintInitialFlowVelocity.svg
|IconL=FEM_ConstraintFluidBoundary.png
|IconR=FEM_ConstraintPlaneRotation.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
|IconR=FEM_ConstraintFixed.png
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=FEM ConstraintFlowVelocity
|Name=FEM ConstraintFlowVelocity
|Name=FEM ConstraintFlowVelocity
|Name/ru=FEM ConstraintFlowVelocity
|Icon=Fem-constraint-flow-velocity.svg
|Icon=Fem-constraint-flow-velocity.svg
|MenuLocation= Model → Fluid constraints → Constraint flow velocity
|MenuLocation= Model → Fluid constraints → Constraint flow velocity
|Workbenches=[[Fem Workbench/ru|FEM]]
|Workbenches=[[FEM_Workbench/ru|FEM]]
|Shortcut=
|Shortcut=
|SeeAlso=[[FEM_tutorial/ru|FEM tutorial]]
|SeeAlso=[[FEM_tutorial/ru|FEM tutorial]]
}}
}}
</div>


<span id="Description"></span>
==Описание==
==Описание==


Устанавливает скорость потока в качестве граничного условия к кромке в 2D или к грани в 3D.
Устанавливает скорость потока в качестве граничного условия к ребру в 2D или к грани в 3D.


<span id="Usage"></span>
==Использование==
==Применение==


# Click on [[Image:Fem-constraint-flow-velocity.svg|24px]] or choose {{MenuCommand|Model → Fluid Constraints {{Button|[[Image:Fem-constraint-flow-velocity.svg|20px]] Constraint flow velocity}}}} from the top menu.
# Press the {{Button|[[Image:FEM_ConstraintFlowVelocity.svg|16px]] [[FEM_ConstraintFlowVelocity|Flow velocity boundary condition]]}} button or select the menu {{MenuCommand|Model → Fluid boundary conditions → [[Image:FEM_ConstraintFlowVelocity.svg|16px]] Flow velocity boundary condition}}.
# The [[task panel]] will display menus for constraint flow velocity
#: [[File:FEM-constraint-flow-velocity task-panel.png]]
#: {{Caption|Above: Constraint flow velocity menus within the [[task panel]]}}
# Select the target Edges or Faces.
# Select the target Edges or Faces.
# Click {{Button|Add}}
# Press the {{Button|Add}} button.
# Deselect "unspecified" to activate the necessary fields for edition.
# Uncheck ''Unspecified'' to activate the necessary fields for edition.
# Fill in the values in mm/s for the main Cartesian components.
# Set the velocity values or ({{Version|0.21}}) specify a formula.


==Notes==
==Formulas==
* Vector components that are ticked as "unspecified" will be interpolated by the selected solver.
*: Any vector that should be the result of the solver must be ticked as "unspecified".
* If the target face or edge is not aligned with the main cartesian coordinate system, it is possible to tick "normal to boundary".
*: If "normal to boundary" is ticked, the normal vector to the selected edge or face is X and it will be oriented away from the mesh domain.
*: For example, if a flow of 20 mm/s of air must enter the domain, then after ticking "normal to boundary" the user will have to input -20 mm/s in the "velocity X" field.


{{Version|0.21}}
* For a Wall with non-slip condition, the flow will be (0,0,0)
* For a Symmetry condition, the flow will be (0, Unspecified, Unspecified) if "normal to boundary" is ticked.


It is possible to define a velocity by specifying the velocity profile as formula. In this case the solver sets the velocities at the different positions according to the profile.
{{Docnav

|[[FEM_ConstraintFluidBoundary|Constraint fluid boundary]]
To specify for example the velocity profile
|[[FEM_ConstraintFixed|Constraint fixed]]

|[[FEM_Module|FEM]]
<math>\quad
|IconL=FEM_ConstraintFluidBoundary.png
v_{x} (y)=6\left(y-1\right)\left(2-y\right)
</math>

for <math>y\in[1;2]</math> (assuming that e.g. a pipe has the wall at y = 1 m and y = 2 m)

enter this to the ''Formula'' field:</br>
{{incode| Variable Coordinate 2; Real MATC "6*(tx-1)*(2-tx)"}}

This code has the following syntax:
* the prefix ''Variable'' specifies that the velocity is not a constant but a variable
* the variable to calculate the velocity is ''Coordinate 2'', meaning y
* the velocity values are returned as ''Real'' (floating point value)
* ''MATC'' is the prefix for the Elmer solver that the following code is a formula
* ''tx'' is always the name of the variable in ''MATC'' formulas, no matter that ''tx'' in our case is actually ''y''

That ''y'' will only be in the range <math>y\in[1;2]</math> is set because ''MATC'' only evaluates the ''tx'' range where the result is positive. This behavior is a bit special but has the advantage that one does not need to specify the range manually.

It is also possible to use more than one variable. See as example the definition of rotations in the [[FEM_ConstraintDisplacement#Rotations|displacement constraint]].

<span id="Notes"></span>
==Примечания==

<div class="mw-translate-fuzzy">
* Компоненты вектора, отмеченные как ''не указана'', будут интерполированы выбранным решателем.
*: Любой вектор, который должен быть результатом решателя, должен быть помечен как ''не указана''.
* Если целевая грань или ребро не выровнены с основной декартовой системой координат, можно поставить галочку ''нормаль к границе''.
*: Если установлен флажок ''нормаль к границе'', вектор нормали к выбранному ребру или грани равен X, и он будет ориентирован от области сетки.
*: Например, если в домен должен поступать поток воздуха со скоростью 20 мм/с, то после отметки ''нормаль к границе'' пользователь должен будет ввести -20 мм/с в поле ''скорость X''.
</div>

* For a wall with non-slip condition, set all velocity components to 0.
* For a symmetry condition, set the the flow to (0, Unspecified, Unspecified) if '''Normal to boundary''' is checked.


<div class="mw-translate-fuzzy">
{{Docnav/ru
|[[FEM_ConstraintInitialFlowVelocity/ru|Начальное условие скорости потока]]
|[[FEM_ConstraintPlaneRotation/ru|Ограничить вращение плоскости]]
|[[FEM_Workbench/ru|Верстак "FEM"]]
|IconL=FEM_ConstraintInitialFlowVelocity.svg
|IconR=FEM_ConstraintPlaneRotation.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
|IconR=FEM_ConstraintFixed.png
}}
}}
</div>

{{FEM Tools navi{{#translation:}}}}
{{FEM Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 15:49, 11 November 2023

Other languages:

FEM ConstraintFlowVelocity

Системное название
FEM ConstraintFlowVelocity
Расположение в меню
Model → Fluid constraints → Constraint flow velocity
Верстаки
FEM
Быстрые клавиши
Нет
Представлено в версии
-
См. также
FEM tutorial

Описание

Устанавливает скорость потока в качестве граничного условия к ребру в 2D или к грани в 3D.

Применение

  1. Press the Flow velocity boundary condition button or select the menu Model → Fluid boundary conditions → Flow velocity boundary condition.
  2. Select the target Edges or Faces.
  3. Press the Add button.
  4. Uncheck Unspecified to activate the necessary fields for edition.
  5. Set the velocity values or (introduced in version 0.21) specify a formula.

Formulas

introduced in version 0.21

It is possible to define a velocity by specifying the velocity profile as formula. In this case the solver sets the velocities at the different positions according to the profile.

To specify for example the velocity profile

for (assuming that e.g. a pipe has the wall at y = 1 m and y = 2 m)

enter this to the Formula field:
Variable Coordinate 2; Real MATC "6*(tx-1)*(2-tx)"

This code has the following syntax:

  • the prefix Variable specifies that the velocity is not a constant but a variable
  • the variable to calculate the velocity is Coordinate 2, meaning y
  • the velocity values are returned as Real (floating point value)
  • MATC is the prefix for the Elmer solver that the following code is a formula
  • tx is always the name of the variable in MATC formulas, no matter that tx in our case is actually y

That y will only be in the range is set because MATC only evaluates the tx range where the result is positive. This behavior is a bit special but has the advantage that one does not need to specify the range manually.

It is also possible to use more than one variable. See as example the definition of rotations in the displacement constraint.

Примечания

  • Компоненты вектора, отмеченные как не указана, будут интерполированы выбранным решателем.
    Любой вектор, который должен быть результатом решателя, должен быть помечен как не указана.
  • Если целевая грань или ребро не выровнены с основной декартовой системой координат, можно поставить галочку нормаль к границе.
    Если установлен флажок нормаль к границе, вектор нормали к выбранному ребру или грани равен X, и он будет ориентирован от области сетки.
    Например, если в домен должен поступать поток воздуха со скоростью 20 мм/с, то после отметки нормаль к границе пользователь должен будет ввести -20 мм/с в поле скорость X.
  • For a wall with non-slip condition, set all velocity components to 0.
  • For a symmetry condition, set the the flow to (0, Unspecified, Unspecified) if Normal to boundary is checked.