Star Ccm Add Monitors and Run Again

Tutorial Example for the Use of the Computational Code
Star-CCM+

This tutorial example is designed to be self-continuing and requires no previous familiarity with Star-CCM+. It is very similar to the Steady Menses: Backward Facing Step tutorial in the Tutorial Guide (accessed in the Assist menu). It is strongly recommended that you familiarize with the location of buttons on the user interface, by going through the appropriate sections of the Star-CCM+ Tutorials and the User Guide. In particular, y'all should endeavour the Introduction tutorial to familiarize yourself with the user interface and process of running a simulation. Run across Getting Started with Star-CCM+ for more information on accessing the Star-CCM+ tutorial guide.

PROBLEM : Compute incompressible, viscous, air flow through a circular pipe section containing an orifice plate.

Trouble specifications
Consider a circular pipe department containing an orifice plate as shown in the figure below. Air enters the department with a uniform inlet velocity. Geometrical, cloth and kinematic specifications are given in the tabular array below.

Variable

Value

Description

D

four cm

Duct diameter

d

2 cm

Orifice diameter

Eastward

ane cm

Orifice thickness

Fiftyu

iv cm

Upstream duct length

Ld

5 cm

Downstream duct length

compatible profile

0.0001 m/s

Inlet velocity

r

1.two kg/m3

Air density

1000

1.8E-five Pa-s

Air viscosity

Re= r umeanD/ m

0.133

Reynolds number




Stride 1. Showtime a new simulation
Follow instructions here to launch the program: Getting Started with Star-CCM+. Be sure to utilise the Power-On-Need Key that was emailed to you.

Salve the new simulation as probOrificePlate (with .sim extension)



Step 2. Sketch the profile
In the model window, expand the Geometry node and right click on the 3D-CAD Models node and select new.

In the model window (3D-CAD tab), expand and correct click the Features > XY node and select Create Sketch. window.
Notation the display options that announced under the edit tab in the model. Click the Click the Evidence Grid button under Display Options to toggle the grid on/off

Click the Grid Spacing button under Brandish Options and change to 0.01m and click OK. Zoom in and out by clicking on the display window and using the mouse wheel.

Describe the sketch shown beneath (ensuring that "snap" is on). To turn "snap" on, use the Snap to Filigree button under Brandish Options in the model window. Use the Create a Line button under Create Sketch Entities to create your line segments freehand, snapping to the filigree at approximately the right locations. Note that you can take advantage of symmetry hither. You merely demand to model one-half of the domain since we are assuming axisymmetric flow. Also you do not have to go the dimensions perfect at this point. Nosotros volition add constraints to the lines and fix the lengths in the adjacent step. Your window should look like this:

Now create constraints to fix the position, dimensions, and angles of all the lines. To starting time, right click the lower left corner of the drawing, and click Apply Fixation Constraint.
Now right click in the heart of each line segment and click Apply Horizontal/Vertical Constraint to each and every line. This will force the lines to exist either horizontal or vertical. And so repeat the procedure to Employ Length Dimension, useful fixing the length of each line segment.
To check the lengths of each line segment, left click on each line, and check the Length under the Line Backdrop window. Make sure each length matches the specification of the tutorial. Yous tin besides double check the active constraint for each line in this window.
Alternatively, you can right click each line segment and click Apply Length Dimension and edit the line length on screen. This is useful if you intend on running multiple simulations with different blockage ratios.

Your final drawing should look like this when complete:

Click OK and salvage your work!

Step 3. Extrude the contour
Right click the Features > Sketch 1 node and select Create Extrude

Set the distance box to 0.005m (something minor). For at present our object will be 3D, but it volition exist converted to second later. Rotate with the mouse to preview then click OK to generate. The model should at present appear in the Bodies > Body 1 node. Right click the Torso 1 node and Rename to orifice_plate.

Pace four. Specify the boundary face names.
Correct click the left well-nigh face of the model and Rename to "Inlet"

Right click the remaining faces indicated in the figure beneath and name them accordingly. Note the side faces will not be named correct now. They will bear witness up subsequently equally Default.
Each of these faces should now appear in the Bodies > orifice_plate > Named Faces node as shown beneath
Click Shut 3D-CAD button and then Save your work.

Step 5. Creating a Region to Model.
Right click the Geometry > 3D-CAD Models > 3D-CAD Model 1 > Bodies > orifice_plate node and select New Geometry Part. Click OK in the next window without changing any settings.

Right Geometry > Parts > orifice_plate and select Assign Parts to Region.
Brand sure you select Create a Region for Each Office and Create a Boundary for Each Part Surface before clicking Apply and Close.
To visualize your region, right click the Scenes node and select New Scene > Geometry.
Note the boundaries will besides bear witness upwards in in Regions > orifice_plate > Boundaries. Your screen should look like:
Salve your piece of work!.

Step six. Creating Boundary Conditions.
Select the Regions > orifice_plate > Purlieus > Inlet node and ready the Type to Velocity Inlet

Select the Outlet node and set up the Blazon to Pressure Outlet

Select the Axis node and set the Type to Axis

Select the Default node and set the type to Symmetry Plane. The rest of the boundaries will remain equally Wall type.

Save.


Step seven. Creating the Mesh.
Generate a volume mesh using the trimmer mesher. Right-click the Continua node and select New > Mesh Continuum

Correct-click the Mesh 1 > Models node and choose Select Meshing Models
In the Meshing Model Selection dialog select Surface Remesher from the Surface Mesh box and Trimmer from the Volume Mesh box. The window should look like the image below. click Close when finished.
To edit the base size of each grid, select the Mesh ane > Reference Values > Base of operations Size node and set the Value to 0.002 m. Note, this is fairly coarse. Decreasing this value will result in a more accurate solution, but will take longer to compute. For your assignment you will accept to detect the all-time grid size and blazon on your own. It is a good thought to try the Steady Flow: Channel Flow with Multiple Meshes tutorial in the Tutorial Guide to larn near different mesh types. See Getting Started with Star-CCM+ for instructions on accessing the Star-CCM+ Tutorial Guide.
Save the simulation.

Step 8. Generate the Mesh and Convert from 3D to 2nd.
Click the Generate Volume Mesh Push button . Then to visualize, create a Mesh scene by Correct clicking the Scenes node and selecting New Scene > Mesh

Your grid should wait like:
If yous are satisfied with how the grid looks, now convert it to 2d. Select Mesh > Convert to second from the carte du jour.
Accept the default settings and click OK. Click reset view to bring everything dorsum into view.

This process creates a new region and physics model. At present nosotros need to disable the physics in the onetime region so that we simply compute the 2d solution. To practise this, Left-click the Regions > orifice_plate node. Change Physics Continuum to None.


Step 9. Selecting the Physics Models.
Right-click the Continua > Physics 1 2nd > Models node and cull Select models.

Choose the following options: Axisymmetric, Steady, Gas, Coupled Flow, Constant Density, Laminar. Your window should so look like the epitome below. For your assignment, you can pick the 1000-epsilon turbulence model instead of laminar here. For more than data, meet the Star-CCM+ Tutorial and User Guides, particularly the Introduction tutorial. See Getting Started with Star-CCM+ for instructions on accessing the Tutorial Guide. Click Close


Step x. Selecting the Cloth Properties, Initial Conditions, and Purlieus Status Values.
Select Continua > Physics 1 second > Models > Gas > Air > Material Properties > Density > Constant node and set up the Value to 1.2 kg/thousand^3

Similarly, Select Continua > Physics i 2D > Models > Gas > Air > Cloth Properties > Dynamic Viscosity > Abiding node and gear up the Value to one.8E-5 Pa-s.

Side by side, Select the Continua > Physics i 2D > Initial Conditions > Velocity > Constant node and set the Value to [i.0E-4, 0.0, 0.0] m/due south.

For the Inlet condition, open the Regions > orifice_plate 2nd > Boundaries > Inlet > Physics Values > Velocity Magnitude > Abiding node and gear up the Value to 1E-four chiliad/s.


Pace 11. Run the Simulation.
Set the number of iterations nether Stopping Criteria > Maximum Steps. Set its value to 500.

Run the simulation with the Run button: . Your screen should look like this after some time passes, indicating a converged solution (i.e. errors should be minimized with larger number of iterations):
Note, you can always stop the simulation process with the Stop button, and examine the current solution. You can then modify the Stopping Criteria if desired and go along running from the current iteration with the Run push. To clear your solution to get-go from the outset, Click on the Solution card item and click Clear Solution.
To get the CPU run fourth dimension, correct click on the Reports node and click on New Report > Full Solver CPU Time. A new node will appear under reports.Reports > Full Solver CPU Time Double clicking this node will output the CPU run time in the output window.

Step 12. Visualize the Results.
To evidence the velocity vectors, which indicates management of fluid motion, right click Scenes node and select New Scene > Vector. Past default it should prove velocity vectors:

Yous can alter the size of the vector arrows by opening the Scenes > Vector Scene 1 > Displayers > Vector 1 > Glyph > Relative Length node and changing the Glyph Length to ten%. Your scene should then expect like:
For a pressure profile plot, right click Scenes node and select New Scene > Scalar. Then correct click the blue bar that appears on the screen and select Pressure. You can likewise plot other various properties like ten-velocity or y-velocity, or total velocity using this method.
Finally, you can save your scenes to png paradigm files by right clicking on the desired Scene node, and clicking on Hardcopy.
Save.

Step 13. Extracting data from the simulation.
A useful step for comparing unlike grid sizes, is to excerpt useful information like pressure along the axis of the pipage. To do this, yous must create a probe line along the axis, then brand a plot of the information. Start by right clicking on the Derived Parts node and select New Part > Probe > Line....

This brings up a window where you can cull the start and end locations of the line probe. Choose Signal ane to start at the origin [x=0.0m, z=0.0m, z=0.0m] and Betoken ii should end near the outlet. In this example, bespeak ii should be at [10=0.1m, z=0.0m, z=0.0m]. If you take a Scene open in the right window, information technology should prove you where the cease points of the probe line volition be:
Click Create and then Close. Your probe line should be visible on the screen:
Now left click on the new Derived parts > line probe node and brand sure your 2nd region is selected in the Parts property. Y'all can select what region and surface is probed by clicking the ... button under :
Doing so brings up a Parts window, where you can de-select the 3D region, and select the 2nd region every bit shown, then click OK:
At present nosotros have to create the plot. Do this by correct clicking on the Plots bode and select New Plot > X-Y.
This creates a new XY Plot 1 node nether the Plots node. Left click the XY Plot 1 node and make sure it is plotting for the line-probe we just created. To do this, click the ... button under the property:
This brings upward the Parts window again. Brand sure Derived Parts > line-probe is selected as shown, then click OK:
By default the 10-centrality volition plot distance. We even so have to specify what to plot on the Y-axis. Open up the Plots > XY Plot ane > Y Types > Y Type 1 > Scalar node as shown. Left click on the Scalar node and alter the blazon to Pressure as shown:
This should create a plot for you that looks like the epitome below. You tin customize your plot and consign data by exploring options in the Plots > XY Plot ane node tree. At present you can compare pressure level profiles for different simulations!
Relieve and now yous are done and set up to kickoff working on your assignment! Also note, it is a good thought to relieve your simulation every bit a different filename when you change the grid size or inlet velocity. That way you can open up your onetime simulations at any time to extract information without having to re-run them.

wilsongoilk1943.blogspot.com

Source: http://by.genie.uottawa.ca/~mcg3341/ComputationalAssignment/StarCCM_Tutorial2015.htm

0 Response to "Star Ccm Add Monitors and Run Again"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel