AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Flow Study ​

Basic 3D flow around a body or through a duct: colors, streamlines, drag and pressure drop. Dependable for slow, smooth flow; a picture for fast, turbulent flow.

Flow Study: Start: a body in the flow compared with Result: colors and streamlines of the flow.
Prism help example. Schematic help example; colors and deformation are illustrative, not results from a solved study. See flow around a body or through a duct, with drag and pressure drop. For Through, model the fluid itself as a solid. Trust the numbers for slow, smooth flow. Fast, turbulent flow is a picture, not a dependable number, and the results say so. View full size

In the app

Basic 3D flow on a block grid, with no fluid mesh to make. Around: put a body in a wind or water tunnel and read drag. Through: model the fluid itself as a solid, like the inside of a duct, and pick its inlet and outlet faces. Trust it for slow, smooth flow. For fast, turbulent flow it is a picture of the flow, not a dependable number.

How to use ​

  1. Choose Flow Study. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Body (solid).
  3. Pick Inlet face (face), optional.
  4. Pick Outlet face (face), optional.
  5. Adjust the settings and check the preview in the viewport.
  6. Use the panel buttons as needed: Run flow, Stop flow.
  7. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
FlowAround the body (wind or water tunnel)Around the body (wind or water tunnel), Through the body (the body is the fluid)
Flow direction+X+X, −X, +Y, −Y, +Z, −Z
Speed1 m/s0.0001 to 1000 m/s
FluidAir (20 °C)Air (20 °C), Water (20 °C), Custom
Density1.204 kg/m³0.001 to 100000 kg/m³
Dynamic viscosity0.00001825 Pa·s1e-9 to 10000 Pa·s
DetailNormal (100 cells)Quick (60 cells), Normal (100 cells), Fine (160 cells)
ShowSpeedSpeed, Pressure
Slice acrossYX, Y, Z
Slice position50 %0 to 100 %
StreamlinesOn

Script it ​

Command name cae_flow. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("cae_flow", slots={"Body": ...}, flow="Around the body (wind or water tunnel)", flow_direction="+X")