Documente Academic
Documente Profesional
Documente Cultură
The velocity vector plot shows high air velocities close to the free surface. This is a numerical inaccuracy known as parasitic currents. These currents arise because the surface tension and pressure forces are much larger than all other terms in the momentum equations, and their balance on an irregular grid is difficult to achieve numerically due to the discontinuous variation of pressure across the free surface and a large discretization error associated with it. Parasitic currents become appreciable when the problem size is small and fluid velocity and viscosity are low. For flows where diffusion and convection forces are of a similar magnitude to surface tension forces, these problems are not so pronounced. Since artificial velocities are generated only within the air, their effect on the liquid flow (which is usually what we are trying to predict) is small. Save the simulation.
Summary
This STAR-CCM+ tutorial introduced the following features:
Version 4.04.011
4042
Cavitation Tutorial
This tutorial simulates a two-dimensional forced flow of water through a nozzle and into an air-filled chamber at atmospheric pressure. The mesh used (shown below) is the same as in the Gravity-Driven Flow Tutorial except that, in this instance, the problems physical dimensions are scaled down by a factor of 1,000. This gives a nozzle width of about 1 mm. The boundary on the left of the problem geometry has a prescribed pressure of 5 x 107 Pa and the boundary on the right is at atmospheric pressure. The boundary at the bottom is a symmetry plane and all other boundaries are solid walls. Initially, the left chamber is filled with water and the remainder of the solution domain filled with air. Turbulence is modeled using the default K-Epsilon model. The sharp corner at the entrance to the narrow nozzle combined with the flow acceleration produces a low pressure region in which cavitation takes place.
Version 4.04.011
The grid must be aligned with the X-Y plane. The grid must have a boundary plane at the Z = 0 location. The mesh imported for this tutorial was built with these requirements in mind. Were the grid not to conform to the above conditions, it would have been necessary to realign the region using the mesh transformation and rotation capabilities in STAR-CCM+. Select Mesh > Convert to 2D... In the Convert Regions to 2D dialog that appears, make sure the checkbox of the Delete 3D regions after conversion option is ticked, and click OK.
Once you click OK, the mesh conversion will take place and the new two-dimensional mesh will be shown, viewed from the z-direction, in the Geometry Scene 1 display. The mouse rotation option is suppressed for two-dimensional scenes. Right-click the Physics 1 continuum node and select Delete. Click Yes in the confirmation dialog.
Version 4.04.011
Open the Eulerian Multiphase node. The materials corresponding to each of the mixture components now need to be defined under the Eulerian Phases node. Right-click on the Eulerian Phases node and select New to create a new
Version 4.04.011
The phase model objects should appear as shown in the following screenshot.
The default material properties for the three phases are suitable for this problem so we will now proceed to Defining Cavitation Model Parameters. Save the simulation.
Version 4.04.011
Return to the Air node, open it and select the Field Function node beneath it. Select Initial Distribution (Air) as the Scalar Function property.
Repeat the steps outlined above to specify the initial distribution of the H2O phase using a second field function named Initial Distribution (H2O) with the following definition:
($$Position[0] >= -0.001) ? 0 : 1
Since these two field functions are the inverse of each other, the water vapor concentration will be zero everywhere. This is appropriate for the case in hand as there is no cavitation in the stationary fluids. Save the simulation.
Version 4.04.011
Value dialog.
Change the H2O value to 1.0 Leave the Air and H2O (G) values as 0.0 and click OK This in effect enforces the condition that only liquid water may enter the solution domain through that boundary. In the Right node, select the Physics Values > Volume Fraction > Constant node. In the Properties window, click on the Value box to open the Constant Value dialog. Change the Air value to 1.0 Leave the H2O and H2O (G) values as 0.0 and click OK This in effect enforces the condition that only air may enter the solution domain through that boundary. This completes the boundary condition specification. Save the simulation.
Version 4.04.011
Version 4.04.011
As expected, at the start of the run the left chamber is entirely filled with water. Changing the scalar function to Volume Fraction of Air will show that the right chamber and the connecting channel are entirely filled with air. A small region in which both fluids are apparently present is visible at the interface between the two fluids, but this effect is simply due to the coarseness of the mesh. Save the simulation.
The run progress can be observed by selecting the Scalar Scene 1 tab at the top of the Graphics window. Examine the distributions of each of the three phases by changing the scalar function regularly. During the run it is possible to stop the process by clicking the (Stop) button in the toolbar. If you do halt the simulation, it can be continued again later by clicking the (Run) button. If left alone, the simulation will continue until all 500 time-steps are complete. Note that the numbers
Version 4.04.011
To a reasonable approximation, the blue and turquoise areas are predominantly occupied by air, the green areas predominantly by liquid water and the yellow, orange and red areas predominantly by water vapor. Manipulating the results in this way provides a qualitative visual estimate of the spatial extent of each phase. However, the resulting plots are prone to inaccuracies in those places where air and water vapor occur together and also where the liquid water volume fraction is only slightly greater than the water vapor volume fraction. In a case such as this, the latter leads to an overprediction of the size of the region of high water vapor concentration. To display velocity vectors: Right-click on the Scenes node and select New Scene > Vector The vector scene will appear in the Graphics window.
Summary
This STAR-CCM+ tutorial introduced the following features: Importing a mesh and naming the simulation.
Version 4.04.011
4069
Version 4.04.011
Click the Open button to start the import. The Import Mesh Options dialog will appear. Select the following options:
Run mesh diagnostics after import Open geometry scene after import
Ensure that the Dont show this dialog during import option is not selected and then click OK. STAR-CCM+ will provide feedback on the import process, which will take a few seconds, in the Output window. One mesh region named Default_Fluid will be created in the Regions node representing the grid domain. A geometry scene will be created in the Graphics window. Save the new simulation to disk under file name obstructedElbow.sim.
Version 4.04.011
Geometry 1 node.
The obstruction in the elbow geometry is now clearly visible. Save the simulation.
Version 4.04.011
Open the Physics 1 > Models node. The selected models now appear within that node.
Version 4.04.011
Select the Constant node and set the Value to 1200 kg/m3 in the Properties window.
Select the Phase 1 > Models > Drag Force > Drag Coefficient node
Version 4.04.011
Phases > Phase 1 node, select the Boundary Conditions > Wall node.
Open the Boundary Conditions > Wall node and select the Normal Restitution Coefficient > Constant and the Tangential Restitution Coefficient > Constant subnodes in turn. Check the values for these coefficients in the Properties window. They should both be set to 1 representing a perfect elastic rebound.
Version 4.04.011
Select the Physics Values > Turbulence Intensity > Constant node. Set the Value property to 0.005. Select the Physics Values > Velocity Magnitude > Constant node. Set the Value property to 10 m/s. Save the simulation.
Version 4.04.011
Total.
This signifies that the volume flow rate applies to the whole injector, rather than per injection point. Select the Velocity Specification node and change the Method to Magnitude + Direction in the Properties window. Within the same Injector 1 node, select the Values > Volume Flow Rate > Constant node. In the Properties window set the Value property to 6.4516E-7 m3/s.
Select the Values > Particle Diameter > Constant node and in the Properties window set the Value to 4.0E-5 m. Select the Values > Velocity Magnitude node and in the Properties window set the Value to 10 m/s. Save the simulation.
Version 4.04.011
The Vector Scene 1 display will appear. Next a new plane section part will be created for display. Right-click the Derived Parts node, and select New Part > Section > Plane....
Version 4.04.011
In the Properties window, click on the right half of the Parts property. The Select Objects dialog will appear. Add the Default_Fluid: Default_Boundary_Region part to the Selected list.
Click Close. Right-click on the scalar bar in the display. In the pop-up menu that appears, select Incident Mass Flux of Physics1: Phase1.
Ignore the warning message about smoothing in the Output window. The Residuals display will automatically be created and will show the solvers
Version 4.04.011
Use the mouse controls to adjust the view approximately as shown below.
It can be seen that the particle impacts are concentrated on the outer radius of the bend. In a realistic modeling exercise, a considerably larger number of particles tracks would be needed to increase confidence in the results.
Version 4.04.011