comsol tutorial - problem 2

Upload: kevidread

Post on 08-Feb-2018

241 views

Category:

Documents


2 download

TRANSCRIPT

  • 7/22/2019 Comsol Tutorial - Problem 2

    1/18

  • 7/22/2019 Comsol Tutorial - Problem 2

    2/18

    Start Comsol Multiphysics

    In the model navigator, select the Incompressible Navier-Stokesapplication mode and click the

    Multiphysics button

  • 7/22/2019 Comsol Tutorial - Problem 2

    3/18

    In the Multiphysicswindow click the Add button

    Select the Convection and Conductionapplication mode then click the Addbutton again.

    Select OK.

  • 7/22/2019 Comsol Tutorial - Problem 2

    4/18

    Go to the Optionsmenu and select Constants

    Define the following constants

  • 7/22/2019 Comsol Tutorial - Problem 2

    5/18

    Hold down the shift key and click the Rectangle/Square button

    Define the rectangle as shown below

    At the top of the screen, select the Zoom Extentsbutton

    The rectangle R1 appears

  • 7/22/2019 Comsol Tutorial - Problem 2

    6/18

    In the Multiphysicsmenu select Incompressible Navier-Stokes (chns)

    In the Physics menu select Subdomain Settings

    Under Subdomain selectionselect 1, enter the following Fluid properties and click OK.

  • 7/22/2019 Comsol Tutorial - Problem 2

    7/18

    In the Physics menu select BoundarySettings

    Select each boundary and enter the corresponding boundary conditions

    Select OK.

  • 7/22/2019 Comsol Tutorial - Problem 2

    8/18

    In the Multiphysicsmenu select Convection and Conduction (chcc)

    In the Physics menu select Subdomain Settings

    Under Subdomain selectionselect 1and enter the following Thermal properties.

  • 7/22/2019 Comsol Tutorial - Problem 2

    9/18

    On the Inittab enter the following initial value

    Click OK.

    In the Physics menu select BoundarySettings

    Select each boundary and enter the corresponding boundary conditions

  • 7/22/2019 Comsol Tutorial - Problem 2

    10/18

    Click OK.

    Under the Meshmenu select Free Mesh Parameters

    Under the Global tab select Extra finefor the Predefined mesh sizesand select OK.

  • 7/22/2019 Comsol Tutorial - Problem 2

    11/18

    At the top of the screen click the Initialize Mesh button

    Then click the Refine Mesh button twice

    At the bottom of the screen you should see

    Click the solve button

    For a larger image, Go to the Optionsmenu and select Axes/Grid Settings

  • 7/22/2019 Comsol Tutorial - Problem 2

    12/18

    On the Axistab

    Clear the tick for Axis equaland set y minand y maxas shown then Click OK.

    Note the maximum velocity

  • 7/22/2019 Comsol Tutorial - Problem 2

    13/18

    In the Postprocessing menu, select Plot Parameters

    Click the Surfacetab

    Under the Predefined quantitiesdrop down menu, select Convection and Conduction (chcc)then select

    Temperature

    Click OK.

  • 7/22/2019 Comsol Tutorial - Problem 2

    14/18

    In the Postprocessingmenu, select Cross-Section Plot Parameters

  • 7/22/2019 Comsol Tutorial - Problem 2

    15/18

    Click the Line/Extrusiontab.

    Under the Predefined quantitiesdrop down menu, select Convection and Conduction (chcc)then select

    Temperature

    On the x-axis datadrop down menu select x.

    Enter the Cross-section line dataas shown below.

    Set the Line resolutionto 11.

    Click Apply thenclick OK.

  • 7/22/2019 Comsol Tutorial - Problem 2

    16/18

    On Figure 1, click the Export Current Plotbutton and savethe file as shown below

  • 7/22/2019 Comsol Tutorial - Problem 2

    17/18

    Open Microsoft Excel 2007 and select the office icon then Open

    Select Text Filesfrom the drop down menu.

    Browse to the location that you saved the file and click on it then select Open.

  • 7/22/2019 Comsol Tutorial - Problem 2

    18/18

    Select Fixed widththen select Finish.