Sunteți pe pagina 1din 24

Tutorial for laboratory project #1 Using ANSYS Workbench

For Thermal Behavior of an Electrical Wire

1. Preparing ANSYS Workbench


Go to Start Menu/All Programs/ANSYS 12.1/Workbench In the toolbox menu in the left portion of the window, double click Fluid Flow (Fluent). A project will now appear in the project schematic window of Workbench. Right-click Fluid Flow (Fluent) under the Project Schematic and select Rename. And enter hotwire for the name of your project. Click Save button in menu bar to save the project. A Save As window will pop up. Enter hotwire-workbench in File name as a name of your workbench and click on Save button. A new file of hotwire-workbench.wbpj will be added to the Files. Right-Click Geometry under the Project Schematic and select Properties. Under Advanced Geometry Options, change the Analysis Type from 3-D to 2-D and close the properties sub window.

2. Creating Geometry
In the Project Schematic, double-click the Geometry. This will open ANSYS Design Modeler (This will be a logo with a green DM). Select Millimeters as the unit type, and click OK. In the Tree Outline, right-click XYPlane and select Look At. This will orient the view to be normal to the XY plane for 2-D. Click the XYPlane in the Tree Outline to highlight the XYPlane. Click New Sketch button from the Plane/Sketch toolbar. (You can find the New Sketch by moving the mouse curser). Sketch1 under the XYPlane will be created. Repeat this twice to create Sketch2 and Sketch3. Select Sketch1, and click the sketching tab of the tree outline window. Click Settings, Grid, and select Show in 2D, and Snap. Define the Major Grid Spacing to be 10mm, and set Minor-Steps per Major to be 10. This defines the large grid to be 10mm, and the small grid to be 1mm.

Click on Draw, and then Rectangle. Create one corner of the rectangle at -10 (X), 20 (Y). The location of the cursor will be shown in the lower right hand corner of the screen. Create the second corner at 10 (X), -10(Y).

In the Sketching Toolboxes window, click the Modeling tab.

Select Sketch2 and click the Sketching tab. Now select the Draw tab, and click Circle. Select the origin for the center of the circle ( X=0, Y=0), and click a second time at any location inside the rectangle. This creates a circle for the insulation around the wire.

Click the Dimensions tab and select radius. Click the circle once to select it, and another time to place the location of the dimension. In the lower left corner of DesignModeler, change radius dimension to be .991mm, and hit enter to accept to changes.

Click the Modeling tab, select Sketch3, and return to the Sketching tab

Select Circle again, and create another circle with the center at the origin. Return to the Dimensions tab, and dimension the second circle created, the same way as the first circle. In the Details View change the radius to .585mm.

What you see in DesignModeler should now look like this:

Return to the Modeling tab, and while holding down the Ctrl key click the three sketches to select all of them.

In the Menu bar, click Concept, Surfaces from Sketches. This creates three plane surfaces from the selected sketches. In order to view these new surfaces, click the generate button (and lightning bolt will disappear).

Within the Tree Outline window, click the + sign next to 3 Parts, 3 Bodies to expand the list. Right click the appropriate surface bodies (One at a time) and rename them. The Rectangle should be named air, the large circle insulation, and the small circle copper.

In the Menu bar, click Create, Boolean. This will display option for the operation in the details view sub window.

In Details Views, set the operation to Subtract. Click Target bodies, and select air from the Tree Outline, and hit Apply. Now click Tool bodies, select insulation from the Tree Outline, and hit Apply. Change Preserve Tool Bodies to yes. (Preserving the Tool Bodies is very important)

Click Generate (Lightning Bolt). Select air under 3 Parts, 3 Bodies to check that the Boolean operation was successful, your screen should now look similar to the figure below. Notice that the selected surface no longer includes the insulation and wire.

Now make another Boolean operation to remove the copper from the insulation.

On the menu bar, select Create/Boolean. In the details view, set the Target Bodies to be the insulation, and the tool bodies to be the copper. Again, make sure to set Preserve Tool Bodies to yes. When finished, click generate.

In the Tree Outline, hold down Ctrl and select air, insulation, and copper. Right click one of them and select form new part. This merges the three sketches into one part.

Under Parts, select air, and in the Details view, change Fluid/Solid to Fluid.

Close DesignModeler, and when you return to Workbench save your progress. There should now be a green checkmark next to Geometry.

3. Mesh Generation
In the Project Schematic, double-click Mesh. It may take a minute or two to load.

Select Mesh from the outline window.

In the Details view, click the plus sign to expand the sizing option. Change the Relevance Center to Medium.

Right-click Mesh, and select Update. The computer will now generate the mesh automatically. This may take a minute. The mesh should now look similar to the following:

Close the Meshing window and save the project.

4. FLUENT
Double click the Setup icon, and when the FLUENT Launcher appears click OK.

When FLUENT launches, the screen should look similar to the image below.

On the left side of the screen, the General item should be selected under Problem Setup. If it is not currently selected click it.

Under General, click Units. Select Length from the Quantities list, and set the Units to mm. Close the Set Units window.

Check Gravity, and set Y to -9.81. Now under Mesh in the General window, click Check.

In the messaging window, scroll up through the items and check for errors and the extent of the domain.

Select Models under Program Setup, click Energy, Edit, and check Energy Equation. Click OK.

Check that Viscous is set to Laminar, then click Radiation/Edit. Set the Model to Discrete Ordinates. Click OK. A window may appear stating information about changes to materials, if this happens click OK.

Select Materials, and double-click air. Change density to Boussinesq and enter a value of 1.16. Scroll down, and set the thermal expansion coefficient to 0.00333. Click Change/Create, then close.

Double-click aluminum, and click FLUENT Database. Change Material Type to Solid, select Copper from the list, click Copy then Close. This creates the copper material for the wire.

Double click aluminum, change both the Name and the Chemical Formula to pvc. Check that the material type is Solid, set Density = 1480 Kg/m^3, Cp=1050 J/Kg-K, and Thermal Conductivity = 0.16 W/m-K. Click Change/Create, Yes to Overwrite, then Close the active window.

Select Cell Zone Conditions under Problem Setup.

Set part-air to Fluid, click Edit, and make sure Participates In Radiation is selected. Click OK.

With part-air still selected, click Operation Conditions. Set Operation Temperature to 300 (K). Click OK.

Select part-copper, and change type to Solid.

Check the Source Terms box, and open the Source Terms tab.

Next to Energy click Edit, set the number of sources to 1 using the up arrow, and change none to constant.

Set the value to be 3244772 (which is 13 Amp with a 18 Gage stranded wire) and click OK, and click OK again to return to the main screen.

With copper still selected, click Operating Conditions, and make sure the temperature is set to 300.

Select part-insulation, and change the type to Solid. Change the Material Name to pvc and click OK.

Select Boundary Conditions under Problem Setup.

Select part-part-air, and change Type to pressure-outlet. Click yes to make the change, then click OK to return to Boundary Conditions.

Select part-part-air-part-insulation, and click Edit.

Click the Thermal Tab, and set Thermal Conditions to Coupled. Click OK.

Select part-part-air-part-insulation-shadow, and click Edit. Open the Thermal tab, and change the Internal Emissivity to 0. Click OK.

Under Solution, select Solution Methods.

Change Momentum and Energy both to Second Order Upwind.

Select Solution Initialization, and click Initialize.

Select Run Calculation, and set the Number of Iterations to 1000.

Click Calculate

Under Results, select Graphics and Animations.

Under Graphics, select Contours, and click Set Up.

Check Filled under Options.

Select Temperature under Contours of.

The message window needs to be printed for the final report. To do this, select Reports from the file menu then input summary. Select all, and save to an appropriately named file. The file output will be in plain text (.TXT format).

S-ar putea să vă placă și