Introduction
This workshop models a water tank filling and then emptying through a siphon. The problem is transient in nature and solved as a two fluid multiphase case (air + water).
An initial water level is set in the tank. The water supply is turned on for the first second of the simulation and then shut off for the rest of the simulation. The water level rises until water flows out the U-tube generating a siphoning effect which effectively empties the tank.
Mesh Import
- Start Workbench, add a CFX Component System, then edit the Setup to start CFX-Pre
- Right-click on Mesh > Import Mesh >ICEM CFD
- Set the Mesh Units to cm
-For some mesh formats it is important to know the units used to generate the mesh
- Import the mesh flush.cfx5
Define Simulation Type
The first step is to change the Analysis Type to Transient:
- Edit the Analysis Type object in the Outline tree
- Set the Analysis Type Option to Transient
- Set the Total Time to 2.5 [s]
- Set the Timesteps to 0.01 [s] and click OK
-The simulation will have 250 timesteps
Edit Default Domain
- Edit Default Domain from the Outline tree
- Delete Fluid 1 under Fluid and Particle Definition
- Click on the New icon
- Name the new fluid Air
- Set the Material to Air at 25C and the Morphology to Continuous Fluid
- Create another fluid named Water
- Set the Material to Water and the Morphology to Continuous Fluid
- Turn on Buoyancy and set the (X, Y, Z) gravity components to (0, -g, 0)
-Use the expression icon to enter -g ( g is a built-in constant )
9 . Set the Buoy. Ref. Density to 1.185 [kg m^-3]
-This is the density of Air at 25 C. Search the help for “Buoyancy in Multiphase Flow” (including the quotes in the search) for more details
- Switch to the Fluid Models tab
- Under Multiphase Options, enable the Homogeneous Model
-This makes the simplifying assumption that both phases share the same velocity field
- Set the Free Surface Model Option to Standard
-This changes some solver numerics to resolve the free surface interface better
- Under Heat Transfer, enable the Homogeneous Model toggle and set the Option to None
- Set the Turbulence Model Option to k-Epsilon
- Switch to the Fluid Pair Model tab
- Enable the Surface Tension Coefficient toggle and set the coefficient to 0.072 [N m^-1]
- Under Surface Tension Force, set the Option to Continuum Surface Force
- Set the Primary Fluid to Water
- Under Interphase Transfer, set the Option to Free Surface
- Click OK to complete the changes to the domain
Create Boundary Conditions
Start by creating an Opening boundary at the top of the tank to allow air to escape as the tank is filled:
- Insert a new boundary named Ambient
- Set the Boundary Type to Opening and the Location to AMBIENT
- On the Boundary Details tab, set the Mass and Momentum Option to Opening Pres. And Dirn with a Relative Pressure of 0 [Pa]
- On the Fluid Values tab, set the Volume Fraction of Air to 1 and the Volume Fraction of Water to 0
- Click Ok to create the boundary
No comments:
Post a Comment