SPH_WATER_TUNNEL

Particle

Beta command

This command is in the beta stage and the format may change over time.

*SPH_WATER_TUNNEL
"Optional title"
sid
$v_x$

Parameter definition

Variable
Description
sid
SPH subdomain ID
$v_x$
Constant flow velocity or ID of a CURVE defining $v_x(t)$
options: constant, fcn

Description

This command is used to convert the SPH domain into a virtual flume tank. The flow inlet is at $x_0$ and the outlet is at $x_1$ (see parameters in PARTICLE_DOMAIN).

Example

Fixed pole in water stream

A rigid pole is submerged in a flume tank. The velocity gradually ramps up from $0.2$ to $2 m/s$.

*UNIT_SYSTEM SI *PARAMETER v0 = 2, "Flow velocity" # # --- TIME --- # *TIME 0.5 # # --- MESH --- # *COMPONENT_CYLINDER "Pole" 1, 1, 10, 4 0.4, 0, 0, 0.4, 0, 0.4, 0.05 # # --- MATERIAL --- # *MAT_FLUID "Water" 1, 1000.0, 2.25e9 *MAT_RIGID "Steel" 2, 7800.0 # # --- PART --- # *PART "Pole" 1, 2 # # --- BC --- # *BC_MOTION "Pole" 1 P, 1, XYZ, XYZ # # --- SPH --- # *PARTICLE_DOMAIN ALL, 0, 1000000, 0, 1.0e10 0, -0.4, 0, 1.2, 0.4, 1 0, 1, 1, 0, 1, 1 0, 1, 1 *PARTICLE_SPH "Water" 1 1, 1 *GEOMETRY_BOX 1 0, -0.4, 0, 1.2, 0.4, 0.2 *SPH_WATER_TUNNEL "Test" 1 fcn(3) *CURVE "v_x(t)" 3 0, [0.1*%v0] 0.1, [%v0] 1.0, [%v0] # # --- GRAVITY --- # *LOAD_GRAVITY Z, 981 *FUNCTION 981 9.81 # # --- MERGE --- # *MERGE SPH, 1, P, 1 *END