FEM ConstraintFlowVelocity
|
|
| Menu location |
|---|
| Model → Fluid Boundary Conditions → Flow Velocity Boundary Condition |
| Workbenches |
| FEM |
| Default shortcut |
| None |
| Introduced in version |
| - |
| See also |
| Constraint initial flow velocity |
| Solvers |
|---|
| Elmer |
Description
Applies a flow velocity as boundary condition to an edge in 2D or to a face in 3D.
The FEM flow velocity task panel
Usage
- There are several ways to invoke the command:
- Press the
Flow Velocity Boundary Condition button.
- Select the Model → Fluid Boundary Conditions →
Flow Velocity Boundary Condition option from the menu.
- Press the
- Press the Add button.
- Select the target objects. introduced in 1.1: To remove objects from the selection, press the Remove button.
- Uncheck unspecified to activate the necessary fields for editing.
- Set the velocity values or (introduced in 0.21) specify a formula.
Formulas
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.
Notes
- Any vector component that should be the result of the solver must be set as Unspecified.
- If the target face or edge is not aligned with the main Cartesian coordinate system, it is possible to set the option Normal to boundary.
- If Normal to boundary is checked, 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 should enter the domain, then with Normal to boundary one must input -20 mm/s in the Velocity x field.
- 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.
- Materials: Solid Material, Fluid Material, Non-Linear Mechanical Material, Reinforced Material (Concrete); Material Editor
- Element Geometry: Beam Cross Section, Beam Rotation, Shell Plate Thickness, Fluid Section for 1D Flow
- Electromagnetic Boundary Conditions: Electrostatic Potential Boundary Condition, Current Density Boundary Condition, Magnetization Boundary Condition, Electric Charge Density
- Fluid Boundary Conditions: Initial Flow Velocity Condition, Initial Pressure Condition, Flow Velocity Boundary Condition
- Geometrical Analysis Features: Plane Multi-Point Constraint, Section Print Feature, Local Coordinate System
- Mechanical Boundary Conditions and Loads: Fixed Boundary Condition, Rigid Body Constraint, Displacement Boundary Condition, Contact Constraint, Tie Constraint, Spring Boundary Condition, Force Load, Pressure Load, Centrifugal Load, Gravity Load
- Thermal Boundary Conditions and Loads: Initial Temperature, Heat Flux Load, Temperature Boundary Condition, Body Heat Source
- Overwrite Constants: Constant Vacuum Permittivity
- Mesh: Mesh From Shape by Netgen, Mesh From Shape by Gmsh, Mesh Boundary Layer, Mesh Refinement, Mesh Group, Erase Elements, FEM Mesh to Mesh
- Solve: Solver CalculiX, Solver Elmer, Solver Mystran, Solver Z88; Mechanical Equations: Elasticity Equation, Deformation Equation; Electromagnetic Equations: Electrostatic Equation, Electricforce Equation, Magnetodynamic Equation, Magnetodynamic 2D Equation, Static Current Equation; Flow Equation, Flux Equation, Heat Equation, Solver Job Control, Run Solver
- Results: Purge Results, Show Result, Apply Changes to Pipeline, Post Pipeline From Result, Pipeline Branch, Warp Filter, Scalar Clip Filter, Function Cut Filter, Region Clip Filter, Contours Filter, Glyph Filter, Line Clip Filter, Stress Linearization Plot, Data at Point Clip Filter, Calculator Filter; Filter Functions: Plane, Sphere, Cylinder, Box; Data Visualizations: Create Lineplot, Create Histogram, Create Table
- Utilities: Clipping Plane on Face, Remove All Clipping Planes, FEM Examples; Clear FEM Mesh, Display Mesh Info
- Additional: Preferences; FEM Install, FEM Mesh, FEM Solver, FEM CalculiX, FEM Concrete; FEM Element Types
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub
