Download - COMSOL SOFT

Transcript
  • VERSION 4.3b

    Installation Guide

    Comsol Multiphysics

  • C o n t a c t I n f o r m a t i o nVisit the Contact Us page at www.comsol.com/contact to submit general inquiries, contact

    Technical Support, or search for an address and phone number. You can also visit the Wordwide

    Sales Offices page at www.comsol.com/contact/offices for address and contact information.

    If you need to contact Support, an online request form is located at the COMSOL Access page at

    www.comsol.com/support/case.

    Other useful links include:

    Support Center: www.comsol.com/support

    Download COMSOL: www.comsol.com/support/download

    Product Updates: www.comsol.com/support/updates

    COMSOL Community: www.comsol.com/community

    Events: www.comsol.com/events

    COMSOL Video Center: www.comsol.com/video

    Support Knowledge Base: www.comsol.com/support/knowledgebase

    Part No. CM010004

    C O M S O L I n s t a l l a t i o n G u i d e 19982013 COMSOL

    Protected by U.S. Patents 7,519,518; 7,596,474; and 7,623,991. Patents pending.

    This Documentation and the Programs described herein are furnished under the COMSOL Software License Agreement (www.comsol.com/sla) and may be used or copied only under the terms of the license agreement.

    COMSOL, COMSOL Multiphysics, Capture the Concept, COMSOL Desktop, and LiveLink are either registered trademarks or trademarks of COMSOL AB. All other trademarks are the property of their respective owners, and COMSOLAB and its subsidiaries and products are not affiliated with, endorsed by, sponsored by, or supported by those trademark owners. For a list of such trademark owners, see www.comsol.com/tm.

    Version: May 2013 COMSOL 4.3b

  • Contents

    Before you Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    Installation Media Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    Prev

    Soft

    Lice

    Lice

    CO

    Installing

    Insta

    Insta

    Insta

    Insta

    Run

    Rem

    Insta

    Aut

    Prod

    Live

    Live

    Live

    Live | i

    ious Installations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    ware License Agreement . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    nse Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

    nse Management Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

    MSOL Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    llation Over the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    llation from Downloaded DVD Image. . . . . . . . . . . . . . 13

    llation from a DVD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

    llation from a USB Flash Drive . . . . . . . . . . . . . . . . . . . . 15

    ning the COMSOL Installer . . . . . . . . . . . . . . . . . . . . . . . 16

    oving (Uninstalling) the COMSOL Installation . . . . . . . 25

    lling Software Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

    omated Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

    uct Updates and Model Library Update . . . . . . . . . . . . 28

    Link fo r Exce l Installations . . . . . . . . . . . . . . . . . . . . . 29

    Link fo r So l idWor ks: Add-In for SolidWorks . . . . . 30

    Link fo r Inventor: Add-in for Autodesk Inventor . . 30

    Link fo r AutoC AD Installations. . . . . . . . . . . . . . . . . 31

  • ii |

    LiveLink fo r Pro/ENGINEER: Changing the Installation Path 31

    LiveLink fo r Creo Par ametr ic : Changing the Installation Path 32

    LiveLink fo r So l id Edge: Add-in for Solid Edge. . . . . . . 33

    LiveLink fo r SpaceCla im: Add-in for SpaceClaim. . . . . 33

    Cluster Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

    License

    Wh

    Syst

    Flex

    Flex

    The

    Insta

    Star

    Veri

    Star

    Cha

    Trou

    Running

    The

    Run

    Star

    Crea

    Run

    RunManager Installation on Windows . . . . . . . . . . . . . . . . . 35

    at is the FlexNet License Manager?. . . . . . . . . . . . . . . . 35

    em Requirements for the FlexNet License Manager . 36

    Net License Manager Software Components. . . . . . . 36

    Net License Manager Documentation . . . . . . . . . . . . . 36

    License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

    lling the License Manager. . . . . . . . . . . . . . . . . . . . . . . . . 40

    ting the License Manager . . . . . . . . . . . . . . . . . . . . . . . . . 42

    fying that the License Manager is Running . . . . . . . . . . . 43

    ting COMSOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

    nging the License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

    bleshooting License Errors . . . . . . . . . . . . . . . . . . . . . . . 45

    COMSOL on Windows . . . . . . . . . . . . . . . . . . . . . . . . . 46

    COMSOL Folder on The Windows Start Menu . . . . . 46

    ning COMSOL on Windows 8 . . . . . . . . . . . . . . . . . . . 47

    ting COMSOL for a Classkit License. . . . . . . . . . . . . . . . 48

    ting Desktop Shortcuts Manually . . . . . . . . . . . . . . . . . . 48

    ning COMSOL in Client-Server Mode . . . . . . . . . . . . . . 49

    ning COMSOL in Batch Mode . . . . . . . . . . . . . . . . . . . . 51

  • Running COMSOL on Multicore Computers. . . . . . . . . . . . 51

    Running COMSOL on Clusters . . . . . . . . . . . . . . . . . . . . . . . 52

    Running COMSOL on the Cloud. . . . . . . . . . . . . . . . . . . . . . 53

    Running COMSOL with MATLAB. . . . . . . . . . . . . . . . . . . . . 54

    Installing on Mac OS X. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

    Insta

    Insta

    Star

    Insta

    Run

    Rem

    Aut

    Prod

    Cha

    License

    Flex

    Flex

    The

    Insta

    Star

    Veri

    Star

    Cha

    Trou | iii

    llation Over the Internet . . . . . . . . . . . . . . . . . . . . . . . . . 55

    llation from Downloaded DVD Image. . . . . . . . . . . . . . 60

    ting the Installer from DVD or DVD Image . . . . . . . . . . 61

    llation from USB Flash Drive . . . . . . . . . . . . . . . . . . . . . . 62

    ning The COMSOL Installer. . . . . . . . . . . . . . . . . . . . . . . 62

    oving (Uninstalling) the COMSOL Installation . . . . . . . 63

    omated Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

    uct Updates and Model Library Update . . . . . . . . . . . . 63

    nging the Path to the MATLAB Installation . . . . . . . . . 64

    Manager Installation on Mac OS X . . . . . . . . . . . . . . . . . 65

    Net License Manager Software Components . . . . . . . . 65

    Net License Manager Documentation . . . . . . . . . . . . . . 65

    License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

    lling the License Manager. . . . . . . . . . . . . . . . . . . . . . . . . 66

    ting the License Manager . . . . . . . . . . . . . . . . . . . . . . . . . 66

    fying that the License Manager is Running . . . . . . . . . . . 68

    ting COMSOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

    nging the License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

    bleshooting License Errors . . . . . . . . . . . . . . . . . . . . . . . 69

  • iv |

    Running COMSOL on Mac OS X . . . . . . . . . . . . . . . . . . . . . . . . 70

    The COMSOL Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 70

    Running COMSOL from a Terminal Window . . . . . . . . . . . 71

    Running COMSOL in Client-Server Mode . . . . . . . . . . . . . . 71

    Running COMSOL in Batch Mode . . . . . . . . . . . . . . . . . . . . 72

    Run

    Run

    Run

    Installing

    Insta

    Star

    Insta

    Insta

    Run

    We

    Rem

    Auto

    Prod

    Cha

    Clus

    License

    Flex

    Flex

    Thening COMSOL on Multicore Computers. . . . . . . . . . . . 73

    ning COMSOL on Clusters . . . . . . . . . . . . . . . . . . . . . . . 74

    ning COMSOL on the Cloud . . . . . . . . . . . . . . . . . . . . . 74

    on Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

    llation from Downloaded DVD Image . . . . . . . . . . . . . 79

    ting the Installer from Downloaded DVD Image. . . . . . 79

    llation from DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

    llation from USB Flash Drive . . . . . . . . . . . . . . . . . . . . . . 80

    ning The COMSOL Installer . . . . . . . . . . . . . . . . . . . . . . 81

    b Browser for Viewing the Documentation . . . . . . . . . . 82

    oving (Uninstalling) the COMSOL Installation . . . . . . . 82

    mated Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

    uct Updates and Model Library Update . . . . . . . . . . . . 83

    nging the Path to the MATLAB Installation . . . . . . . . . 83

    ter Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

    Manager Installation on Linux . . . . . . . . . . . . . . . . . . . . . 85

    Net License Manager Software Components . . . . . . . . 85

    Net License Manager Documentation . . . . . . . . . . . . . . 85

    License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

  • Installing the License Manager. . . . . . . . . . . . . . . . . . . . . . . . . 86

    Starting the License Manager . . . . . . . . . . . . . . . . . . . . . . . . . 87

    Verifying that the License Manager is Running . . . . . . . . . . . 88

    Starting COMSOL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

    Changing the License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

    Trou

    Running

    Run

    Run

    Run

    Run

    Run

    Run

    Run

    Run

    Trouble

    Index . | v

    bleshooting License Errors . . . . . . . . . . . . . . . . . . . . . . . 89

    COMSOL on Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

    ning COMSOL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

    ning COMSOL on Multicore Computers. . . . . . . . . . . . 90

    ning COMSOL in Batch Mode. . . . . . . . . . . . . . . . . . . . . 91

    ning COMSOL in Client-Server Mode . . . . . . . . . . . . . . 91

    ning a Classkit License . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

    ning COMSOL on Clusters . . . . . . . . . . . . . . . . . . . . . . . 93

    ning COMSOL on the Cloud. . . . . . . . . . . . . . . . . . . . . . 94

    ning COMSOL with MATLAB. . . . . . . . . . . . . . . . . . . . . 95

    shooting License Errors . . . . . . . . . . . . . . . . . . . . . . . . . . 96

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i

  • vi |

  • Before you Begin

    Welcome to the COMSOL Installation Guide, which provides instructions on how to install COMSOL Multiphysics and its add-on products. In addition to this manual, several on-line resources are available which are relevant for installation: System Requirements: www.comsol.com/products/requirements Support Knowledge Base: www.comsol.com/support/knowledgebase Support C Download Product U Tutorials:

    Instal lati

    There are fou1 Installation

    - This optbe instal

    2 Installation- This opt

    DVD im

    3 Installation- This opt

    will be i

    4 Installation

    - This optinstalled

    Installation u | 1

    enter: www.comsol.com/support COMSOL: www.comsol.com/support/downloadpdates: www.comsol.com/support/updateswww.comsol.com/video

    on Media Options

    r installation media options for COMSOL 4.3b: over the Internet:ion requires Internet access from the computer that COMSOL will led on. from downloaded DVD image:ion requires Internet access from any computer for downloading the age file with a .iso file extension.

    from a DVD given to you by a COMSOL representative:ion requires access to a DVD reader on the computer that COMSOL nstalled on.

    from a USB Flash Drive given to you by a COMSOL representative:

    ion requires a USB port on the computer that COMSOL will be on.

    sing any of these four options is explained later in this document.

  • 2 |

    System Requirements

    COMSOL is a cross-platform software that runs on the Windows, Mac, and Linux operating systems. A variety of hardware platforms are supported including graphics cards. Before installing, make sure your computer meets the current system requirements listed at: www.comsol.com/products/requirements.There you will also find a current list of compatible software versions for: External function C compiler COMSOL LiveLink LiveLink CAD Imp LiveLink LiveLink LiveLink LiveLink LiveLink LiveLink LiveLink File Impo

    Previous

    Previous instCOMSOL 4in the latest icontinue to uinstallation.

    In thMult API for use with Java

    for MATLAB

    for Excel

    ort Module for SolidWorks

    for SpaceClaim

    for Inventor

    for AutoCAD

    for Creo Parametric for Pro/ENGINEER

    for Solid Edge

    rt for CATIA V5

    Instal lations

    allations of COMSOL on your computer is not affected by your new .3b installation except that double-clicking a Model MPH-file opens nstallation (unless otherwise specified during installation). You can se other versions or uninstall them independently of the latest

    is guide, the term COMSOL 4.3b refers not only to COMSOL iphysics 4.3b but also to any of the add-on products.

  • Software License Agreement

    For the complete software license agreement with details on the license conditions, please refer to the COMSOL Software License Agreement. The PDF can be downloaded from this link: www.comsol.com/sla. The license agreement is also available in your installation folder. On Windows, it is located at:

    C:\Program Files\COMSOL\COMSOL43b\ doc\pdf\comsol\COMSOL_SoftwareLicenseAgreement.pdf

    and can also COMSOL 4.3b

    On Mac, it is/Applicati

    On Linux, it/usr/local

    License T

    There is a vadiffer dependusage to justWindows, Mopened on anknow which

    All Cshareis onthe COptio | 3

    be accessed from the Windows Start menu, under >Documentation. located at:ons/COMSOL43b/doc/pdf/comsol/COMSOL_SoftwareLicenseAgreement.pdf

    is located in the installation directory, for example:/comsol43b/doc/pdf/comsol/COMSOL_SoftwareLicenseAgreement.pdf

    ypes

    riety of license options and the steps involved when installing may ing on which license type you have acquired. No license type restricts one operating system but you are able to choose to install on either ac, or Linux. A COMSOL model file saved on one platform can be other. Certain license types come with restrictions; make sure you

    license type you have before proceeding with the installation.OMSOL licenses allow for multicore/multiprocessor d-memory computing. How many cores or processors you can utilize ly limited by your hardware configuration and operating system. In OMSOL Desktop you control the number of processors from the ns menu, under Preferences>Memory and processors.

  • 4 |

    The picture below summarizes the license types and their usage:

    All of the liceFor aCOMThe f

    Named SingThis license trun a session or permanenas the user ataccessed over

    CPU-LockedThis license tusers can takCPU-Lockedwith tools su

    Floating NetThis license tYou can instaand these comPC, another As a user of a On your l On a remonse types may not be available in your region. full description and definition of the different license types, see the SOL Software License Agreement.ollowing summary gives an overview of the different license types:

    le User License (NSL)ype permits one physical person designated to COMSOL by name to of the software. This designated user may be replaced on a temporary t basis provided that only one individual is designated to COMSOL any given time. A Named Single User License may not be used or a network with tools such as Windows Remote Desktop or similar.

    Single User License (CPU)ype permits you to install the software on one computer and different e turns using COMSOL on that computer, one session at a time. A Single User License may not be used or accessed over a network ch as Windows Remote Desktop or similar.

    work License (FNL)ype is intended for multiple users and is licensed per concurrent user. ll the software on as many computers on your network as you want puters can have different operating systems (one being a Windows

    running Mac, a third running Linux, and so on). Floating Network License, you can run COMSOL in several ways:

    ocal computerte computer accessed over a network

  • In Client-Server mode where you run only the COMSOL Client locally and the COMSOL Server elsewhere on the network, usually on a more powerful computer. The COMSOL Client is essentially the COMSOL Desktop environment whereas the COMSOL Server is the COMSOL computational engine needed for solving.

    On a cluster or cloud with no restrictions on the number of compute nodes.In any of the Floating Network License usage scenarios above, the FlexNet license manager software (shipped with COMSOL) needs to be installed and run on a computer somewhere on the network.

    Class Kit LicThe Class Kitto two teachrequires a cen

    Trial LicenseThis license twith the intenon-commer

    License M

    The FlexNetDepending omay require before runninCOMSOL inthat you receeditor or worSERVER, thLicense, the number of coexceed the lioperating sysSingle User Lto lock the CLicense MaThe COMSO | 5

    ense License may be installed and used by up to 30 students including up

    ing assistants. This type of license is for classroom use only and tral license administrator person.

    ype can be either a Single User License or Floating Network License ntion to test the software without any payment obligation for cial or non-production use.

    anagement Tools

    License Manager Softwaren your region and operating system, any of the above license types that the FlexNet license manager software is installed and started g COMSOL. The FlexNet license manager comes bundled with any stallation. You can view the contents of the license file (license.dat) ived from your COMSOL representative by opening it with a text d processing software. If the file contains a line starting with the word en the FlexNet license manager is required. For a Floating Network purpose of the FlexNet license manager software is to count the ncurrent users and to give an error message if the number of users

    censed number of concurrent users. Depending on your region and tem, the FlexNet license manager software may also be needed for a icense. In that case, the purpose of the license manager software is OMSOL session to a by COMSOL authorized computer. See nager Installation on Windows on page 35 for more information. L software products and the license manager can be installed in any

  • 6 |

    order, except if you are installing based on a port number and host name. In that case, the license manager software needs to be installed and started before installing COMSOL.

    Dongle Hardware LockDepending on your region and operating system, any of the above license types may require a dongle (hardware lock). If you have received a dongle to use with COMSOL, please refer to instructions given to you by your COMSOL representative.

    COMSOL

    COMSOL Aadditional co Download Update pr Edit conta Access to t

    customers Contact te Manage ev Manage ab Access to Participate

    Registering winstallation. Access

    ccess is a service provided by COMSOL that gives you access to ntent on www.comsol.com and allows you to: productsoducts (restricted to customers with an active subscription)ct and license informationhe Knowledge Base (unabridged access to all parts is restricted to with an active subscription)chnical supportent registrationsstract submissions to the COMSOL Conference

    the COMSOL Exchange on-line model sharing in the Community Discussion Forum

    ith COMSOL Access is required for product download and

  • Installing on Windows

    Instal lation Over the Internet

    INSTALLATIO

    A trial licenseany paymentmay not be aInstallation oA passcode hFFFFFFFF

    This is usuallyour passcod1 Click the l

    email fromwww.coms | 7

    N OF A TRIAL LICENSE OVER THE INTERNET may be given to you with the intention to test the software without

    obligation for non-commercial and non-production use. This option vailable in all regions.f a Single User Trial License on Windows requires a license passcode. as a form similar to:-TYUS-123456-1234567-123456789

    y sent to you by a COMSOL representative by email. Once you locate e, follow these steps to prepare for download and installation:ink for downloading the software as given in the software download your COMSOL representative. This link is identical or similar to: ol.com/support/download/trial.

  • 8 |

    2 If you havent already created a COMSOL Access account, you are now prompted to create it. While creating the account, enter your trial passcode to associate it with your account information.

    If you alrewww.comscan enter t

    3 Click Down

    4 Continue wInstaller oady have created a COMSOL Access account, then the link ol.com/support/download/trial directs you to a page where you he passcode:

    load.

    ith the instructions in the section Downloading the COMSOL n page 13.

  • INSTALLATION OF A PAID-FOR LICENSE OVER THE INTERNETInstallation of any paid-for license on Windows requires a license file that is sent to you by your COMSOL representative by email. To be able to generate the license file, information about your hardware is needed in the form of a hostid (host ID). The hostid is used to lock the license to your hardware and needs to be sent by you to a COMSOL representative prior to the license file being generated.

    Obtaining the HostidFollow these steps to obtain a hostid:1 First open

    If you donPut the ins

    2 Type in ipdisplayed i

    3 The hostidEthernet a

    To place thcommand Return. Agetmac /FO

    which also4 Now press

    a COMSO | 9

    the command window by pressing the keyboard Window button+R. t have a Window button, click the Start button and then Click Run. ertion point in the text field, type cmd and press OK or Return.config /all at the command prompt and press Return. The nformation will look similar to this:

    you are looking for is here called Physical Address, also known as ddress or MAC address.

    e number on the Windows clipboard, right-click the text in the window and select Mark in the menu, mark with the mouse, and press lternatively, you can type the command: LIST /V | clip

    places the information on the Windows clipboard. Ctrl+V to paste the hostid to the text body of an email to be sent to L representative.

  • 10 |

    Obtaining the Host NameIf you have been informed by your COMSOL representative that you need to run the FlexNet license manager for your installation, then you also need the Host Name. The Host Name is encircled in the screen shot above. If your network administrator prefer to use a fixed IP address for this particular computer, this IP Address could be optionally used in place of the Host Name. For more information on license manager installation see License Manager Installation on Windows on page 35.

    Hostid for PIf you plan tophysical addrrepresentativvol at the W

    Volume Ser

    Obtaining thSend the hosyour COMSOlicense file (lneed to referan example oWindows. ThCOMSOL MLiveLink f

    #----------# COMSOL 4.# Visit www#----------FEATURE SER V TFEATURE COM 0 SFEATURE PAR H iFEATURE SUB H iFEATURE LLE 0 SFEATURE COM H iCs with Wireless Adapters install on a computer with a wireless network adapter, you need the ess of both the wireless and the Ethernet adapter. If the COMSOL e asks you for the hard disk serial number instead of the hostid, type indows command line prompt. The output will look likeial Number is 2C9F-5930

    e License File from a COMSOL Representativetid information, as well as Host Name, if applicable, in an email to

    L representative, who will respond with an email with an attached icense.dat). Save this file to any location on your computer. You will ence it during installation. The license file is a text file and below is f the contents of a license.dat file for a Single User License on is example license file shows that the licensed products are ultiphysics, Particle Tracing Module, Subsurface Flow Module, and

    or Excel.--------------------------------------------------------3b NSL License No: 1234567 Windows/Mac.comsol.com/install for latest installation instructions--------------------------------------------------------IAL LMCOMSOL 4.32 permanent uncounted \ENDOR_STRING=C,18000100200 HOSTID=ANY sort=100 SN=1234567 \S_OK SIGN=8045890A6FE4SOL LMCOMSOL 4.32 permanent uncounted HOSTID="70f2b12f4dfd \116b8cc761a" PLATFORMS="i86_n x64_n i86_mac x64_mac" \N=2076312 SIGN=E607EB680852TICLETRACING LMCOMSOL 4.32 permanent uncounted \OSTID="70f1a12f4dfc 0026b9cc760a" PLATFORMS="i86_n x64_n \86_mac x64_mac" SN=2076312 SIGN=3835733C6290SURFACEFLOW LMCOMSOL 4.32 permanent uncounted \OSTID="70f1a12f4dfc 0026b9cc760a" PLATFORMS="i86_n x64_n \86_mac x64_mac" SN=2076312 SIGN=3A9BA162C9E4XCEL LMCOMSOL 4.32 permanent uncounted HOSTID="70f1a12f4dfc \026b9cc760a" PLATFORMS="i86_n x64_n i86_mac x64_mac" \N=2076312 SIGN=EE9C11E44356SOLGUI LMCOMSOL 4.32 permanent uncounted \OSTID="70f1a12f4dfc 0026b9cc760a" PLATFORMS="i86_n x64_n \86_mac x64_mac" SN=2076312 SIGN=0D0A83382550

  • A Single User License file can normally not be edited or changed in any way by the user but has to be identical to the one sent to you by a COMSOL representative. If you were sent a license file that requires a license manager, then minor edits may be required. For information on the type of license file required for installations using a license manager, see The License File on page 37.

    Registering with COMSOL AccessOnce you have saved your license file, follow these steps to register or login to COMSOL Access and to start the installation:1 Click the l

    email fromto: www.co | 11

    ink for downloading the software as given in the software download your COMSOL representative. This link will be identical or similar msol.com/support/download.

  • 12 |

    2 If you havent already created a COMSOL Access account, you are now prompted to create it. While creating the account, point to your license file (license.dat) to associate it with your account information.

    If you alrelicense fileaccess/lice

    3 Continue wady created a COMSOL Access account, then you can associate the with your account under Manage Licenses at www.comsol.com/nses

    ith the instructions in the next section.

  • DOWNLOADING THE COMSOL INSTALLER1 You are now given the option of Installing COMSOL over the Internet. (For the

    DVD option see Installation from Downloaded DVD Image on page 13.) In addition, there are two further options of Compact Install or Full Install:a Compact Install: Includes the on-line documentation. The Model Library

    tutorials are stripped of solutions, which reduces download time. The size of this download ranges from 600 MB to 1.6 GB depending on your license.

    b Full Install: Includes the full documentation and the complete Model Library with medownloa

    If youConnewwwprobsuppo

    2 For Installibuttons fo

    Clicking oneFor Windowinstallation a

    STARTING TThe COMSOinstallation pdownloaded correspondinInstaller windsection Run

    Instal lati

    Installation ffor off-line indescribed in 1 Once you

    Installing C | 13

    shes and solutions for your licensed products. The size of this d ranges from 1.0 GB to 4.6 GB depending on your license.

    have problems downloading (such as Error downloading file. ction refused: connect), please review this knowledge base entry:

    .comsol.com/support/knowledgebase/1149. If you still have lems, please contact your local COMSOL representative or technical rt from the Support Center page at www.comsol.com/support.

    ng COMSOL over the Internet, in the Windows section, click one of the r Compact Install or Full Install. of the install buttons starts the download of the COMSOL Installer. s, the file to download is called COMSOL43b_win.exe for the full nd COMSOL43b_compact_win.exe for the compact installation.

    HE INSTALLER FOR INSTALLATION OVER THE INTERNETL Installer is a user interface tool that guides you through the

    rocess. Start the COMSOL Installer by running one of the files COMSOL43b_win.exe or COMSOL43b_compact_win.exe, g to the full and compact version, respectively. The COMSOL 4.3b ow should now appear. Now continue with the instructions in the ning the COMSOL Installer on page 16.

    on from Downloaded DVD Image

    rom a DVD where the DVD image is downloaded from COMSOL stallation requires you to first create a COMSOL Access account as the section Installation Over the Internet on page 7.are logged in to COMSOL Access, you are now given the options of OMSOL over the Internet or to Download the DVD Image for Offline

  • 14 |

    Installation. This section covers the DVD Image option. In addition, there are two further options of Compact Install or Full Install:a Compact Install: Includes the on-line documentation. The Model Library

    tutorials are stripped of solutions, which reduces download time. The size of this download ranges from 600 MB to 1.6 GB depending on your license.

    b Full Install: Includes the full documentation and the complete Model Library with meshes and solutions for your licensed products. The size of this download ranges from 1.0 GB to 4.6 GB depending on your license.

    If youConnewwwproblsuppo

    2 In the sectInstall or Fthe COMSCOMSOL43b

    3 When you be able to on the DVFor earlieruse this opmounting Mount andversions, yoburning to

    STARTING TThe COMSOinstallation pdrive (or moautomaticallyCOMSOL 4instructions i have problems downloading (such as Error downloading file. ction refused: connect), please review this knowledge base entry:

    .comsol.com/support/knowledgebase/1149. If you still have ems, please contact your local COMSOL representative or technical rt from the Support Center page at www.comsol.com/support.

    ion for the DVD Image option, click one of the buttons for Compact ull Install. Clicking one of the install buttons starts the download of OL DVD Image. The file to download is called _dvd.iso.

    have downloaded the DVD image, burn the DVD image to a disc to install. In Windows 7 and Windows 8 you can burn by right-clicking D image and selecting Open with and then Windows Disc Image Burner. Windows versions you need a dedicated DVD burning software to tion. In Windows 8 you have the additional option of directly the DVD image by right-clicking on the DVD image and selecting then continuing directly with the installation. For earlier Windows u can use a dedicated DVD image mounting software to circumvent

    DVD.

    HE INSTALLER FROM A DVD OR MOUNTED DVD IMAGEL Installer is a user interface tool that guides you through the

    rocess. Once you have inserted the COMSOL DVD into the DVD unted the image), the COMSOL Installer window should appear ; if not, run the file setup.exe on the installation DVD. The .3b Installer window should now appear. Now continue with the n the section Running the COMSOL Installer on page 16.

  • Instal lation from a DVD

    This section applies if you have received a DVD from a COMSOL representative.

    STARTING THE INSTALLER FROM A DVDThe COMSOL Installer is a user interface tool that guides you through the installation process. Insert the COMSOL DVD into the DVD drive on your computer. The COMSOL Installer window should appear automatically; if not, run the file swindow shouRunning th

    Instal lati

    This section representativ

    STARTING TThe COMSOinstallation pcomputer. Trun the file swindow shouRunning th | 15

    etup.exe on the installation DVD. The COMSOL 4.3b Installer ld now appear. Now continue with the instructions in the section e COMSOL Installer on page 16.

    on from a USB Flash Drive

    applies if you have received a USB Flash Drive from a COMSOL e.

    HE INSTALLER FROM A USB FLASH DRIVEL Installer is a user interface tool that guides you through the

    rocess. Insert the USB Flash Drive into a USB port on your he COMSOL Installer window should appear automatically; if not, etup.exe on the USB Flash Drive. The COMSOL 4.3b Installer ld now appear. Now continue with the instructions in the section e COMSOL Installer on page 16.

  • 16 |

    Running the COMSOL Instal ler

    The steps for running the COMSOL Installer are independent of the installation media option you used. If you have followed the above instructions, the COMSOL Installer should now appear.

    1 In the CO- Click Ne

    installati- Click Ad

    or repairwhen adadding o

    - Click Chlicense oand younot licenproceduMSOL Installer, select one of the following options:w Installation and proceed to Step 2 (License Page) to make a new on.d/Remove Features and proceed to Step 4 (Platform Page) to change an existing installation. For example, use Add/Remove Features ding or removing documentation files for products installed or when r removing a product that your license includes.ange License and proceed to Step 2 (License Page) to update the f an existing installation. Use this option when COMSOL is installed get a new license file. The installer then removes features/products sed any more and lets you go through the Add/Remove Features re to add or remove features for the new license. If your trial license

  • has expired you can use the Change License option to re-enable a paid-for license.

    - Click Uninstall COMSOL 4.3b to remove an existing installation. For instructions on this option, proceed to Removing (Uninstalling) the COMSOL Installation on page 25.

    You can change the path to the existing installation by pressing the F1 key.

    LICENSE PAG2 After selec

    After readiagreement formats, d- Passcode

    passcodeto FFFFis case se

    - License fEnter th | 17

    E

    ting one of the four options, the following is displayed:

    ng the license agreement, click the I accept the terms of the license button and specify the license. Use one of the following license epending on which license you have:: Use this option for a Single-User Trial License. Enter your , which is a series of characters and numbers that has a form similar

    FFFF-TYUS-123456-1234567-123456789. Note that the passcode nsitive.ile: Use this option for any type of regular paid-for license installation. e path to an existing license file or click Browse to select the file

  • 18 |

    license.dat. This license file is sent to you by a COMSOL representative, typically by email.

    - Port number and Host Name: Use this option if your license administrator has given you a port number and Host Name for a license manager for COMSOL that is running somewhere on your organizations network. Enter the Host Name of the computer or server running the license manager and its license manager port number.

    - Three-server redundancy: Use this option if your license administrator has given you three port numbers and Host Names for the three-server redundaport num

    Change LiceIf Change LiceInstaller lets choose to spe

    Click Next anproducts. Ot3 Click Nextncy license manager option. Enter the Host Names and license server bers of the three-server redundant configuration.

    nsense was selected in Step 1, a menu in the upper-left area of the

    you choose to use an existing paid license, trial license, or you can cify a new license.

    d proceed to Step 4 if you want to change to a license with different herwise, proceed to Step 9..

  • PLATFORMS PAGE4 On the Platforms page, you can typically accept the default settings. COMSOL

    auto-detects the type of operating system, which, for installation on Windows, can be Windows 32-bit or Windows 64-bit. On the 64-bit version of Windows you can choose to install both versions.

    5 Click Next | 19

    .

  • 20 |

    FEATURES PAGE6 Select the features to install and specify the path to the COMSOL installation

    folder.

    Feature sym

    If Chaan alrboxeinstalthe secompsoftw

    no

    no

    cu

    cu

    cubols:

    nge License was selected earlier and you are changing the license of eady existing installation, you need to pay attention to which check s are selected. If you are adding products not previously part of your lation, but added with the new license file, then you need to verify lection of the check boxes for the corresponding installation onents. (If you dont, the license information is still correct but the are components needed to run the products will be missing.)

    t currently installed, will be installed

    t currently installed, will not be installed

    rrently installed, will not be updated

    rrently installed, will be updated

    rrently installed, will be removed

  • Add/Remove FeaturesIf Add/Remove Features or Change License was selected in Step 1, the Features page includes a Repair all selected features check box. If this check box is selected, then the selected set of features determines which software components, documentation, and models to be added or removed. Features that are selected are added if not previously installed and features that are not selected are removed if previously installed. The selected set only affects those products that you have licensed.7 Click Next. | 21

  • 22 |

    OPTIONS PAGE

    8 Set the ins- Create C- Create C- Associat

    If this chdouble-c

    - Install MClear thexperienby COMthen youOnce installation options:OMSOL shortcuts on Windows DesktopOMSOL folder in the Windows Start Menu

    e the .mph file type with this COMSOL installationeck box is selected, you can open COMSOL models by licking them.icrosoft DirectX runtime binaries

    e Install DirectX runtime binaries check box if you previously ced problems using DirectX on your computer. DirectX can be used SOL for accelerated graphics rendering. If you clear this check box, still have two graphics options: OpenGL or software rendering. tallation is complete, you can change the graphics rendering method

  • from the Preferences dialog box on the Options menu in the COMSOL Desktop.

    - Check for updates after installation. This option is selected by default. The installer then checks and applies all available updates that are available for the version that you install.

    - Enable automatic updates after installation. Select this check box if you want COMSOL to automatically check for and apply available software updates.

    - Install LiveLink for Excel for all users. If you select this check box, the installati

    no matteto the cu

    - If you inname anrequiredis the deappear i

    - For the Parametr

    9 Click Next | 23

    on of LiveLink for Excel is global to the machine and is available r which user is logged on. Otherwise, the installation is only available rrent user (this is the only supported option for Excel 2007).stall over the Internet using a proxy server, you can specify the host d port number, and also, optionally, a username and password if . If you do not enter a port number, COMSOL uses port 443, which fault port setting for the HTTPS protocol. These settings do not f you do not use an installation via the Internet.LiveLink products for MATLAB, Pro/ENGINEER, and Creo ic, specify the path to their respective installation folders..

  • 24 |

    INSTALL PAGE

    10 When youinstallationproducts tyStep 11 ap click Install the utility now installs or updates COMSOL. The process might take several minutes. A full installation including all pically takes more than 15 minutes to complete. The Finish page in pears automatically when the installation process is finished.

  • FINISH PAGE11 This window appears when the installation is finished.

    If warningthe installaencounterwith your

    12 Click FinishFor informatCOMSOL oCOMSOL oRunning CO

    Removing

    To remove a COMSOL InCOMSOL fiinstaller. Add | 25

    or errors were detected, click View Log to open a window that shows tion log. Do not hesitate to contact technical support if you ed any errors and remember to send the installation log file along technical support inquiry. to quit the installer.

    ion on how to run COMSOL after installation, see Running n Windows on page 46. If you are installing on a Mac, see Running n Mac OS X on page 70. If you are installing on Linux, see

    MSOL on Linux on page 90.

    (Uninstal l ing) the COMSOL Instal lation

    COMSOL installation from your system, you can uninstall using the stallers uninstallation option. The uninstaller deletes all old version

    les and directories on the system that were installed by the COMSOL itional files and folders created after installation are not removed.

  • 26 |

    If COMSOL is run with MATLAB, close MATLAB before starting the uninstaller. If MATLAB is active, the utility cannot remove certain files.You can start the COMSOL Uninstaller in a few different ways: From the Windows Start Menu, open the Control Panel and select Uninstall a

    program. Find COMSOL 4.3b in the list and select Uninstall. From the Windows Start Menu under COMSOL 4.3b, select Uninstall

    COMSOL Multiphysics 4.3b. By inserting the COMSOL DVD and starting the COMSOL Uninstaller.

    Click Uninto quit the

    On Windofolder. In

    Instal l ing

    COMSOL prfound. To chmenu. If an uDownload to stall COMSOL 4.3b to start removing the installation. Click Finish installer when the uninstallation is complete.ws 8, go to the All apps page and click the COMSOL Launchers that folder you will find the Unistaller.

    Software Updates

    ovides software updates that improve the software and correct issues eck if an update is available, choose Check For Updates from the Help pdate is available, an Update dialog box appears where you click

    download the update directly or click Browse Update to open the

  • COMSOL website where you can read about and download the update. To check for updates automatically each time that you start COMSOL, select the Check for updates at launch check box under Product updates on the Updates page in the Preferences dialog box. When the update installation starts (you may first have to close any running instance of COMSOL) you see the following installation window:

    You can use adownload viaand, if requir

    Automat

    You can instauser interactianswer file thfile is a text fCOMSOL in

    \setup.exe -s

  • 28 |

    where is the path to your answer file. A template answer file, setupconfig.ini, with detailed usage information is available on the DVD.

    AUTOMATED REMOVAL (UNINSTALLATION) OF COMSOLYou can uninstall COMSOL using an answer file:

    \setup\setuplauncher.exe -s

    where is the path to your answer file.

    Product U

    COMSOL pcorrections tostartup. You Preferences WUpdate.The Model LCOMSOL Dcan get the laCOMSOL Mpdates and Model Library Update

    eriodically releases product updates with improvements and reported problems. By default, COMSOL checks for updates at

    can turn this feature on and off from the COMSOL Desktop indow. Here you can also configure settings for the Model Library

    ibrary is updated on a regular basis by COMSOL. From the esktop, by choosing the menu option View>Model Library Update you test updates to the model library. This connects you to the odel Update website where you can access the latest models and

  • model updates. This includes models that have been added or improved since the latest product release.

    Using the Upserver settingLibrary Updinformation

    LiveLink

    If you have lCOMSOL taExcel workshcan also chanthe model.Whenever yois displayed. the backgrou | 29

    dates section in the Preferences dialog box you can configure proxy s as well as model and documentation directories for the Model

    ate. See the COMSOL Multiphysics Reference Manual for more including command-line options for the Model Library.

    for Excel Instal lations

    icensed LiveLink for Excel, several tools are accessible from a b in the Excel ribbon for working with a COMSOL model from an eet. You can for example extract model definitions and results. You ge model definitions in the worksheet, then update and re-compute

    u open a COMSOL model from Excel, a COMSOL Model window This window represents a COMSOL Server application running in nd. The data transfer between Excel and the COMSOL Server

  • 30 |

    application is performed using a TCP/IP communication protocol, which accepts only local connections.

    LiveLink for Sol idWorks: Add-In for SolidWorks

    If you have licensed LiveLink for SolidWorks, the COMSOL Installer registers an add-in calthe SolidWorTools menu.The add-in pwith COMSOup dimensionsynchronizedThe add-in edesign. In onside-by-side acan work withthe One-Winactive at a timthe latest verCOMSOL>OneSolidWorks aIf COMSOLfollow the inhttp://www

    LiveLink

    If you have liAutodesk Invappear in theof the Tools led the LiveLink for COMSOL (4.3b). This add-in should appear in ks user interface, listed in the Add-Ins dialog box, accessible from the

    rovides tools for preparing your SolidWorks design for simulation L. For example you can create selections on the geometry and set al parameters. Both the selections and the parameters are together with the geometry with the COMSOL model.nables to modes of setting up simulations based on the SolidWorks e mode you can run SolidWorks and the COMSOL Desktop nd synchronize the geometry between the two. In another mode you COMSOL simulations inside SolidWorks. This latter mode is called

    dow interface. Only one version of the One-Window interface can be e. If you have several COMSOL versions installed, make sure that

    sion of LiveLink for COMSOL is selected from the -Window Version menu inside SolidWorks. You may need to restart fter changing the One-Window interface version. cannot connect to SolidWorks, you can re-install COMSOL, or structions from the following link:.comsol.com/support/knowledgebase/1122.

    for Inventor: Add-in for Autodesk Inventor

    censed LiveLink for Inventor, the installer registers an add-in for entor called the LiveLink for COMSOL (4.3b). This add-in should Add-In Manager dialog box that is accessible from the Options tab panel in the Autodesk Inventor user interface.

  • The add-in provides tools for preparing your Inventor design for simulation with COMSOL. For example you can set up dimensional parameters to be synchronized together with the geometry with the COMSOL model.The add-in enables to modes of setting up simulations based on the Inventor design. In one mode you can run Inventor and the COMSOL Desktop side-by-side and synchronize the geometry between the two. In another mode you can work with COMSOL simulations inside Inventor. This latter mode is called the One-Window interface.If COMSOL cannot connect to Inventor, you can re-install COMSOL, or follow the instructiohttp://www

    LiveLink

    If you have lwith AutoCAstart-up of Abetween Aut

    LiveLink

    Path

    If you have linstallation pprocess. Thefor COMSOdialog box thinterface. Ththat can be sAfter the instENGINEERfrom the Opproducts sectto the root d | 31

    ns from the following link:.comsol.com/support/knowledgebase/1163.

    for AutoCAD Instal lations

    icensed LiveLink for AutoCAD, the installer registers an add-in D called LiveLink for COMSOL (4.3b). This add-in is loaded on

    utoCAD and provides functionality for synchronizing the geometry oCAD and COMSOL.

    for Pro/ENGINEER: Changing the Instal lation

    icensed LiveLink for Pro/ENGINEER, you need to provide the ath for Pro/ENGINEER or Creo Elements/Pro during the install installer registers an add-in with Pro/ENGINEER called LiveLink L (4.3b). The add-in should be listed in the Auxiliary Applications at is accessible from the Tools menu in the Pro/ENGINEER user e add-in provides functionality for selecting dimensional parameters ynchronized with COMSOL.allation you can configure the interface to work with a different Pro/ installation. Go to the Preferences window, which you can access tions menu inside the COMSOL Desktop. There find the LiveLink ion and edit the Pro/ENGINEER installation folder. It should point irectory of the Pro/ENGINEER installation, typically

  • 32 |

    C:\Program Files\proeWildfire 5.0

    orC:\Program Files\PTC\Creo Elements\Pro5.0

    for an installation of Creo Elements/Pro.If you have installed both LiveLink for Pro/ENGINEER and LiveLink for Creo Parametric, you can use only one of those during a COMSOL Multiphysics modeling session. The default is to connect to Creo Parametric. To connect to Pro/ENGINEER select LiveLink for Pro/ENGINEER from the Use list.Restart COMNote that chdoes not re-ryou can re-inhttp://wwwIf COMSOLinstructions fhttp://www

    LiveLink

    Instal lati

    If you have licto the comminstallation pwith a differewhich you caThere find thfiles folder. Iinstallation, t

    C:\Program

    Restart COMNote that chdoes not re-ryou can re-inhttp://wwwSOL for the changes to take effect.anging the Pro/ENGINEER installation folder in the Preferences egister the add-in with that Pro/ENGINEER installation. To do this stall COMSOL, or follow the instructions from the following links:.comsol.com/support/knowledgebase/1159 cannot connect to Pro/ENGINEER Wildfire 4.0, follow the rom the following link:.comsol.com/support/knowledgebase/1162

    for Creo Parametric: Changing the on Path

    ensed LiveLink for Creo Parametric, you need to provide the path on files folder in the Creo Parametric installation during the rocess. After the installation you can configure the interface to work nt Creo Parametric installation. Go to the Preferences window, n access from the Options menu inside the COMSOL Desktop. e LiveLink products section and edit the Creo Parametric common

    t should point to the common files directory of the Creo Parametric ypically Files\PTC\Creo 2.0\Common Files\M040

    SOL for the changes to take effect.anging the Creo Parametric common files folder in the Preferences egister the add-in with that Creo Parametric installation. To do this stall COMSOL, or follow the instructions from the following link:.comsol.com/support/knowledgebase/1158.

  • LiveLink for Sol id Edge: Add-in for Solid Edge

    If you have licensed LiveLink for Solid Edge, the installer creates an add-in to Solid Edge called LiveLink for COMSOL (4.3b). This add-in should appear in the Add-In Manager dialog box that is accessible in the Solid Edge user interface if you click the Applications button, then select Add-Ins from the menu.When the add-in is active a COMSOL Multiphysics tab appears in Solid Edge. Use the Parameter Selection tool from the tab to select dimensional parameters that are synchronIf COMSOLfollow the inhttp://www

    LiveLink

    If you have lwith SpaceClin the Add-Inthe SpaceClaWhen the addimensions tIf COMSOLfollow the inhttp://www

    Cluster I

    COMSOL suparallel operasupport. ThiCOMSOL camodel. One | 33

    ized together with the geometry between Solid Edge and COMSOL. cannot connect to Solid Edge, you can re-install COMSOL, or structions from the following link:.comsol.com/support/knowledgebase/1160

    for SpaceClaim: Add-in for SpaceClaim

    icensed LiveLink for SpaceClaim, the installer registers an add-in aim called LiveLink for COMSOL (4.3b). This add-in should appear s section of the SpaceClaim Options dialog box that is accessible in

    im user interface if you click the button for the Applications menu.d-in is active you synchronize the geometry and any driving hat are defined on the geometry between SpaceClaim and COMSOL. cannot connect to SpaceClaim, you can re-install COMSOL, or structions from the following link:.comsol.com/support/knowledgebase/1164

    nstal lation

    pports two mutual modes of parallel operation: shared-memory tions and distributed-memory parallel operations, including cluster

    s section is dedicated to distributed-memory parallel installation.n distribute computations on compute clusters using the MPI

    large problem can be distributed across many compute nodes. Also,

  • 34 |

    parametric sweeps can be distributed with individual parameter cases distributed to each cluster node.

    LICENSE MANAGERCOMSOL requires a Floating Network License for running on clusters. Please check the license file for the CLUSTERNODE feature which needs to be present to enable the cluster computing functionality. The license manager needs to be accessible from all nodes in the cluster. Therefore it is often a good idea to have it run on the head node.

    INSTALLATIO

    The COMSOand the head

    FEATURES

    During insta

    ACCESS TO CIf you work oneed to instawith the Winfrom your PCFor more infRunning COReference MN FOLDERL installation folder should be shared between all compute nodes

    node.

    llation, make sure the Cluster Components feature is selected.

    LUSTER (WINDOWS HPC SERVER ONLY)n a desktop PC, install COMSOL on that PC. Before you start, you ll Windows HPC Pack on the PC. This software is free and shipped dows Server operating system and enables you to access the cluster .

    ormation on installing and running COMSOL on clusters, see MSOL on Clusters on page 52 and the COMSOL Multiphysics

    anual.

  • License Manager Installation on Windows

    Depending on your region and operating system, you may be required to install and run the FlexNet license manager software before being able to run COMSOL.

    What is the FlexNet License Manager?

    COMSOL uInc. for licenThe license mCOMSOL soorder, exceptcase, the liceinstalling COInstallation o(license.datcan view the processing sothen the Flexpurpose of thusers and to number of colicense manacase, the purpa computer tThe FlexNetLinux, and Msoftware can computer whcomputer thacomputer canor a centrallylocal PC or ocomputer canmanager andEven thoughfull test of th | 35

    ses the FlexNet license manager version 11 from Flexera Software, se management. (FlexNet was formerly called FLEXlm.)anager comes bundled with any COMSOL installation. The ftware products and the license manager can be installed in any if you are installing based on a port number and Host Name. In that nse manager software needs to be installed and started before MSOL.f any paid-for license on Windows requires a license file ), which is sent to you by a COMSOL representative by email. You contents of the license file by opening it with a text editor or word ftware. If the file contains a line starting with the word SERVER, Net license manager is required. For a Floating Network License, the e license manager software is to count the number of concurrent

    give an error message if the number of users exceeds the licensed ncurrent users. Depending on your region and operating system, the ger software may also be needed for Single User Licenses. In that ose of the license manager software is to lock a COMSOL session to

    hat is authorized by COMSOL. license manager supports a heterogeneous network of Windows, ac OS X computers. Both the license manager and the COMSOL

    run on either Windows, Linux, or Mac platforms. In this context, the ere the license manager is installed is called the license server and any t has the COMSOL products installed is called a client. Any type of function as a license server, such as a laptop, desktop, workstation

    located server. COMSOL can be installed anywhere, typically on a n a file server where users access the program over a network. A single function as both license server and client, holding both the license

    COMSOL. the license manager and COMSOL can be installed in any order, a e installation cannot be done until both are installed.

  • 36 |

    System Requirements for the FlexNet License Manager

    Before starting the installation process, check that your system meets all necessary requirements as listed at: www.comsol.com/products/requirements. For COMSOL, all requirements need to be met. If you are running the license manager on a license server where you did not intend to run COMSOL, the system requirements are less stringent. The license server only needs to meet the listed hardware and operating system requirements. For the license manager, memory and graphics requirements do not need to be met. The license manager is a much les

    FlexNet

    The license m License m Vendor da FlexNet u FlexNet C

    The two daema user starts Cthrough the ndaemon (lmg(LMCOMSOL.exlicense.dat used for hand

    FlexNet

    For detailed Help>Documbottom of thGuide for Fleyour hard drs CPU and memory demanding application than COMSOL.

    License Manager Software Components

    anager consists of four software components:anager daemon (lmgrd.exe)emon (LMCOMSOL.exe)tility program (lmutil.exe)ontrol Panel (lmtools.exe)

    ons (lmgrd.exe and LMCOMSOL.exe) run on the license server. When OMSOL on a client computer, communication is established etwork from the client to the license server and the license manager rd.exe). That daemon in turn makes a request to the vendor daemon e), which releases licenses according to information in the file. The FlexNet utility program and FlexNet Control Panel are ling license server management tasks.

    License Manager Documentation

    information on the FlexNet license manager software, select entation from the COMSOL Desktop main menu, and scroll to the

    e page to locate a PDF copy of the FlexNet License Administration xNet Publisher. You can also find the FlexNet documentation on

    ive. The default folder location is:

  • C:\Program Files\COMSOL\COMSOL43b\doc\pdf\comsol\flexnet

    The License Fi le

    The license file has the same structure on all platforms: Windows, Mac OS X, and Linux. In this section, the most important parts of the license file are explained. Below is an e

    #----------# COMSOL 4.# Visit www#----------SERVER apolUSE_SERVERVENDOR LMCOFEATURE SER VENDOR_ SIGN=0CINCREMENT C ISSUED=INCREMENT C ISSUED=INCREMENT H DUP_GRO SIGN=12INCREMENT C DUP_GRO SIGN=12INCREMENT C ISSUED=INCREMENT C DUP_GRO SIGN=12INCREMENT H DUP_GRO SIGN=12

    THE COMMEComment linsymbol #. Th | 37

    xample of the contents of a license.dat file:--------------------------------------------------------3b FNL License No: 1234567.comsol.com/install for latest installation instructions--------------------------------------------------------lo.thecompany.com 0050569e1b87 1718

    MSOL port=1719IAL LMCOMSOL 4.32 permanent uncounted \STRING=C,5701108 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \3A8BF6722EOMSOL LMCOMSOL 4.32 permanent 4 SUPERSEDE DUP_GROUP=UHD \6-JUN-2012 BORROW=720 SN=1234567 SIGN=123456789ABCOMSOLGUI LMCOMSOL 4.32 permanent 4 SUPERSEDE DUP_GROUP=UHD \6-JUN-2012 BORROW=720 SN=1234567 SIGN=123456789ABCEATTRANSFER LMCOMSOL 4.32 permanent 2 SUPERSEDE \UP=UHD ISSUED=6-JUN-2012 BORROW=720 SN=1234567 \3456789ABCLIENTSERVER LMCOMSOL 4.32 permanent 4 SUPERSEDE \UP=UHD ISSUED=6-JUN-2012 BORROW=720 SN=1234567 \3456789ABCLUSTERNODE LMCOMSOL 4.32 permanent 4 SUPERSEDE DUP_GROUP=U \6-JUN-2012 BORROW=720 SN=1234567 SIGN=123456789ABCOMSOLBATCH LMCOMSOL 4.32 permanent 2 SUPERSEDE \UP=UHD ISSUED=6-JUN-2012 BORROW=720 SN=1234567 \3456789ABCEATTRANSFERBATCH LMCOMSOL 4.32 permanent 2 SUPERSEDE \UP=UHD ISSUED=6-JUN-2012 BORROW=720 SN=1234567 \3456789ABC

    NT LINESes can be included in the license file by starting them with the hash ese lines have no effect on the license server or client.

  • 38 |

    THE SERVER LINEIn the license.dat file, the contents on the line starting with SERVER should contain: The Host Name of the license server. In the example above, the Host Name

    is apollo.thecompany.com. This name can be edited by the user. The hostid of the license server. In the example above, the hostid is

    0050569e1b87. This number cannot be edited by the user. A port number. In the example above, the port number is 1718.This

    number ca

    Confirm that(the computeotherwise, chchanged in thnumber (youstarting the lchange it to

    THE USE_SERThe USE_SEbut has impliUSE_SERVESERVER linemeans that ifmanager on athe SERVER

    THE VENDORThe VENDOname cannottogether withmanager is stnumber. In tIf the licenseCOMSOL clopened up inthe license mUsing the export numbermodified then be edited by the user.

    the license server Host Name is the actual name of your license server r that you intend to run the FlexNet license manager software on); ange it by editing the file. The default port number (1718) can be e unlikely event that another program is already using that port then get an error message indicating that this is the problem when icense manager). If the default port number 1718 is being used, any other number between 1025 and 64,000.

    VER LINERVER line, with no arguments, does not impact the license manager cations for the client. When a COMSOL client sees the R line, it ignores everything in the license file except the preceding s and transfers checkout validation to the vendor daemon. This

    you are running COMSOL on one computer, and the license different computer, then your license file may only contain two lines: line and the USE_SERVER line.

    LINER line defines the name of the LMCOMSOL vendor daemon. This

    be changed. The vendor daemon is a process that has to be running the license manager and it is automatically started when the license arted. The LMCOMSOL vendor daemon requires its own port he example above, the default port number 1719 is shown. manager is running on a computer with an active firewall and the ient is outside of that firewall, at least two port numbers must be the license servers firewall to allow client computers to connect to anager and the vendor daemon.ample license file above, configure the firewall to allow access to the s 1718 and 1719. If you have chosen other port numbers and license.dat file accordingly, configure the firewall to allow access

  • to your chosen port numbers. If you are unsure about which port numbers are free or how to enable firewall port access, contact your system administrator.You cannot modify anything in the license.dat file except license server name and (if necessary) port numbers or the license may not work.

    THE SERIAL LINEThe SERIAL line contains information on the license type, license number, and the products included in the license.

    THE INCREMThe INCREexpiration dashows that thNetwork Lictwo concurreat the end ofbroken by a

    The FeatureThe followinCOMSOL 4

    PRODUCT/FEATU

    COMSOL Mul

    COMSOL Mul

    COMSOL Mul

    AC/DC Modul

    Acoustics Mod

    Batteries & Fue

    CAD Import M

    CFD Module

    Chemical Reac

    Corrosion Mod

    ECAD Import

    Electrochemist

    Electrodepositi

    Fatigue Module | 39

    ENT AND FEATURE LINESMENT or FEATURE lines contain a product name, version, te, and the number of available licenses. The example file above e user has a perpetual (permanent) COMSOL 4.3b Floating

    ense allowing four concurrent users of COMSOL Multiphysics and nt users of the Heat Transfer Module. The number after SIGN= each INCREMENT line contains a license key. Long lines can be continuation character (\).

    Namesg table contains the FEATURE names for all products in the .3b product suite:

    RE FEATURE NAME

    tiphysics COMSOL

    tiphysics GUI COMSOLGUI

    tiphysics Floating Network License CLIENTSERVER, CLUSTERNODE

    e ACDC

    ule ACOUSTICS

    l Cells Module BATTERIESANDFUELCELLS

    odule CADIMPORT, CADREADER

    CFD

    tion Engineering Module CHEM

    ule CORROSION

    Module ECADIMPORT

    ry Module ELECTROCHEMISTRY

    on Module ELECTRODEPOSITION

    FATIGUE

  • 40 |

    Instal l ing

    The FlexNetunless otherwFeatures Pa

    File Import for CATIA V5 CATIA5

    Geomechanics Module GEOMECHANICS

    Heat Transfer Module HEATTRANSFER

    LiveLink for AutoCAD LLAUTOCAD

    LiveLink for Creo Parametric LLCREOPARAMETRIC

    LiveLink for Excel LLEXCEL

    LiveLink for In

    LiveLink for M

    LiveLink for P

    LiveLink for S

    LiveLink for S

    LiveLink for S

    MEMS Module

    Molecular Flow

    Multibody Dyn

    Nonlinear Stru

    Optimization M

    Particle Tracing

    Pipe Flow Mod

    Plasma Module

    RF Module

    Semiconductor

    Structural Mec

    Subsurface Flow

    Wave Optics M

    PRODUCT/FEATURE FEATURE NAME the License Manager

    license manager is automatically installed when installing COMSOL ise specified on the Features page of the COMSOL Installer; see

    ge on page 20. The check box for the license manager components

    ventor LLINVENTOR

    ATLAB LLMATLAB

    ro/ENGINEER LLPROENGINEER

    olid Edge LLSOLIDEDGE

    olidWorks LLSOLIDWORKS

    paceClaim LLSPACECLAIM

    MEMS

    Module MOLECULARFLOW

    amics Module MULTIBODYDYNAMICS

    ctural Materials Module NONLINEARSTRUCTMATERIALS

    odule OPTIMIZATION

    Module PARTICLETRACING

    ule PIPEFLOW

    PLASMA

    RF

    Module SEMICONDUCTOR

    hanics Module STRUCTURALMECHANICS

    Module SUBSURFACEFLOW

    odule WAVEOPTICS

  • can be found last in the list of software components, as seen in the picture below:

    If you do nowhich you arinstallation. Tdisk space (aIf you want toperform a comcomponents.Starting theTo install onCOMSOL eaexcept the on

    AUTOMATED

    Alternativelyprocess with Set licmanag | 41

    t intend to run the license manager software on the computer for e installing COMSOL, you can clear this check box during he license manager components requires a moderate amount of hard

    bout 26MB). install COMSOL on the same computer as the license manager, first plete COMSOL installation including the license manager software

    When finished, skip the remainder of this section and continue with License Manager on page 42.ly the license manager, follow the installation instructions for rlier in this document and on the Features page, clear all check boxes e for the license manager.

    LICENSE MANAGER INSTALLATION, the license manager can be installed using an automated installation minimal user interaction, see Automated Installation on page 27. er = 1 in the answer file to install the license manager.

  • 42 |

    Starting the License Manager

    The license manager can be started manually, or it can be configured to run automatically as a service each time the license server is restarted.

    STARTING THE MANAGER AUTOMATICALLY AS A SERVICETo set up the license manager as a service from the FlexNet Control Panel (LMTOOLS):1 Locate the

    COMSOL43b\

    AlternativeCOMSOL

    2 On the Ser3 Click the C4 Make an e

    Manager.5 Specify the

    on your haFiles\COMS

    C:\Program

    log file, yoconveniencFiles\COMS

    Makefolde COMSOL43b\license\win32 (Windows 32-bit) or license\win64 (Windows 64-bit) folder and run lmtools.exe. ly, run LMTOOLS from the Windows Start menu, available under 4.3b>License Tools>LMTOOLS.vice/License File page choose Configuration using Services.onfigure Services tab.ntry in the Service Name field, for example, COMSOL License

    full path to lmgrd.exe, license.dat by browsing to their location rd drive. The default location for lmgrd.exe is at: C:\Program OL\COMSOL43b\license\win64\lmgrd.exe, and for the license file at: Files\COMSOL\COMSOL43b\license\license.dat. For the debug

    u can use any name of your choice, for example, comsol43b.log. For e you can place this next to your license file at: C:\Program OL\COMSOL43b\license\comsol43b.log.

    sure your Windows user account has read/write permission for the r of the debug log file otherwise the debug log file is not created.

  • 6 Select the Use Services check box (this might not be possible on all platforms, but it is recommended when available) and then the Start Server at Power Up check box.

    7 Click Save the licenseclick Start

    STARTING TTo start the l32-bit) or licwindow ente

    lmgrd -c .

    The license mdebug inform

    Verifying

    Once you stamanager servServices page | 43

    Service. The license manager now starts at boot. If you wish to start manager right away without restarting the license server computer, Server on the Start/Stop/Reread page of the FlexNet Control Panel.

    HE LICENSE MANAGER MANUALLYicense manager manually, browse to the license\win32 (Windows ense\win64 (Windows 64-bit) folder. Now, in a Windows command r.\license.dat -l ..\comsol43b.log

    anager is now ready to distribute licenses over the network. It writes ation to the log file COMSOL43b\license\comsol43b.log.

    that the License Manager is Running

    rted the license manager, it is good practice to verify that the license ice is running. Start the Windows Task Manager and go to the . Check that the COMSOL License Manager service is running.

  • 44 |

    Starting COMSOL

    After the installation is complete and the license manager daemons are running on the license server, you can start using COMSOL. For more information on how to run COMSOL, see Running COMSOL on Windows on page 46.

    Changing

    If you have rproducts to aDouble-checlicense includ

    Whenother

    RESTARTING

    To restart th1 In the Win2 In the Flex

    File, and St

    OBTAINING If you need tObtaining ton the licenscommand

    COMSOL43b/

    orCOMSOL43b/

    for WindowsThe hostid isnetwork cardhexadecimal Alternatively the License

    eceived a new license filefor example, when adding COMSOL n existing licensereplace the current license file with the new one. k the contents of this file to make sure it lists the products that the es. See also The Feature Names on page 39. the license file has changed, you must restart the license manager; wise, it continues to use the old license file still in memory.

    THE LICENSE MANAGERe license manager, follow these steps:dows Start menu, choose COMSOL4.3b>License Tools>LMTOOLS.Net Control Panel, click, in this order, Stop Server, Reread License art Server.

    A HOSTIDo verify the hostid of the license server, you can follow the steps for he Hostid on page 9. Alternatively, if COMSOL is already installed e server, you can determine the hostid by executing the lmhostid

    license/win32/lmutil lmhostid

    license/win64/lmutil lmhostid

    32-bit and Windows 64-bit, respectively. typically the Ethernet address (also called a MAC address) of the of your computer. An Ethernet address has six bytes, each with two digits. Thus, the full hostid has twelve hexadecimal digits. , the hostid can be the volume serial number of your C hard drive.

  • The volume serial number has 4 bytes, each with two hexadecimal digits. In this case, the full hostid has eight hexadecimal digits.

    Troubleshooting License Errors

    If you have questions or problems with your installation, see Troubleshooting License Erro | 45

    rs on page 96.

  • 46 |

    Running COMSOL on Windows

    After the installation is finished there is a COMSOL Multiphysics 4.3b shortcut icon on the Windows desktop:

    as well as a CCOMSOL, dfrom the WinCOMSOL o

    The COM

    The COMSOthe followingcomponents COMSOL Model An

    animation Uninstall

    For more Installation

    32-bit: CO Client Ser

    - COMSOconnect

    - COMSOCOMSO

    For more iRunning

    COMSOLfor MATLa COMSOOMSOL 4.3b folder on the Windows Start menu. To start ouble-click the desktop icon or select COMSOL Multiphysics 4.3b dows Start menu. For Windows 8 instructions, see Running

    n Windows 8 on page 47.

    SOL Folder on The Windows Start Menu

    L 4.3b folder on the Start menu contains a selection of the items in list depending on which COMSOL products and software you have licensed and installed: Multiphysics 4.3b: Starts the COMSOL Desktop.imations: Launches a web browser with a selection of model s at: www.comsol.com/showroom/animationsCOMSOL Multiphysics 4.3b: Starts the COMSOL Uninstaller. information, see Removing (Uninstalling) the COMSOL on page 25.MSOL 32-bit executables

    verL Multiphysics 4.3b Client: Starts a COMSOL Client that can be

    ed to a COMSOL Server.L Multiphysics 4.3b Server: Starts a COMSOL Server that a L Client can connect to.

    nformation on running COMSOL in client-server mode, see COMSOL in Client-Server Mode on page 49. with MATLAB: This is available if you have licensed the LiveLink AB. It starts MATLAB and sets up all necessary paths. Also starts L Server connected to MATLAB. See also Running COMSOL

  • with MATLAB on page 54. Documentation: A folder that contains COMSOL documentation

    shortcuts. License Tools: Starts the FlexNet license manager control panel

    (LMTOOLS). For more information, see License Manager Installation on Windows on page 35.

    Running

    On Windows The COM

    There are and COM

    The WindCOMSOL | 47

    COMSOL on Windows 8

    8, COMSOL can be started from three different locations:SOL Multiphysics tile on the Windows Start Screen:

    two icons on the Window Desktop for COMSOL Multiphysics SOL Help Desk:

    ows All apps page has three tiles for COMSOL Help Desk, Launchers, and COMSOL Multiphysics:

  • 48 |

    Starting COMSOL for a Classkit License

    If you have a Classkit License, you start it by double clicking its dedicated Windows desktop icon:

    For Window

    Creating

    Sometimes itwhen COMS1 Locate the

    C:\Program

    orC:\Program

    for Windows2 Right-click

    comsol.exe

    move it th

    CREATING DIf you manuato the steps aoptions. Rightext string in

    "C:\Progra"C:\Progra

    (The compleor"C:\Program

    "C:\Program s 8, corresponding tiles and desktop icons are added.

    Desktop Shortcuts Manually

    is necessary to create the COMSOL shortcuts manually, for example OL is installed on a shared network drive. COMSOL executable. Its default location is Files\COMSOL\COMSOL43b\bin\win64\comsol.exe

    Files\COMSOL\COMSOL43b\bin\win32\comsol.exe

    64-bit and Windows 32-bit, respectively comsol.exe and select Create shortcut. Now a shortcut named - Shortcut. If this shortcut is not created on the Desktop, then

    ere by drag-and-drop.

    ESKTOP SHORTCUTS MANUALLY FOR A CLASSKIT LICENSElly create a desktop shortcut for a Classkit License, then, in addition bove, the shortcuts Target needs to be modified with additional t-click the COMSOL shortcut icon and select Properties. Change the

    the Target field tom Files\COMSOL\COMSOL43b\bin\win64\comsol.exe" --launcher.ini m Files\COMSOL\COMSOL43b\bin\win64\comsolclasskit.ini"te text string must be written on a single row.)

    Files\COMSOL\COMSOL43b\bin\win32\comsol.exe" --launcher.ini

    Files\COMSOL\COMSOL43b\bin\win32\comsolclasskit.ini"

  • for Windows 64-bit and Windows 32-bit, respectively.Here, C:\Program Files\COMSOL\COMSOL43b represents the default COMSOL installation directory and this may be changed in the Target field text string if your installation is placed in a different folder.

    Running COMSOL in Client-Server Mode

    When you staicon, COMSthe COMSOHowever, theServerthe Cexample, theto a COMSO

    The lmanaCOM

    You need a FCOMSOL Csufficient forThe Client arun the COMLinux or Macomputer frographical usethe COMSOprocessing powith the CO

    STARTING AThe COMSOuser, one sesMultiphysicsWindows StaCOMSOL LStart menu, a | 49

    rt COMSOL by, for example, double-clicking the Windows desktop OL is run as a single application including the functionality of both L Client and COMSOL Server, as explained later in this section. COMSOL Client/Server architecture lets you access the COMSOL OMSOL computational engineas a separate process. For

    COMSOL Desktop can act as a COMSOL Client when connected L Server.

    icense server is not the same as a COMSOL Server. The license ger can run on a computer different from both the ones used by SOL Desktop and COMSOL Server.loating Network License to run the COMSOL Server and the lient on separate computers. However, any COMSOL license is running the Client and the Server on the same computer.nd Server need not run on the same platform. For example, you can

    SOL Desktop on Windows connecting to a COMSOL Server on a c computer. This enables offloading your personal laptop or desktop m heavy-duty computations and to run just the COMSOL Desktop r interface on your personal computer. A typical use would be to run L Server on a computer with large amounts of memory (RAM) and wer and to use your personal computer for pre- and postprocessing

    MSOL Desktop.

    COMSOL SERVERL server is single user server allowing multiple session of the same

    sion at a time. To start the COMSOL Server, click COMSOL Server in the Client Server folder under your COMSOL folder on the rt menu. (On Windows 8 you find this on the All apps page under aunchers.) When you start the COMSOL Server from the Windows command window appears asking you for a user name and password.

  • 50 |

    You can use any user name and password of your choice, it is only used in the context of connecting a COMSOL Client with a COMSOL Server.

    When the COthe port liste

    CONNECTIN

    You can startClient in theStart menu. (Launchers.) YDesktop by sDesktop. Whprompting yorunning, Por

    Once you hacommand wiFor more infCOMSOL MMSOL Server starts, it listens for a COMSOL Client connection on d in the command window. In the example above it is port 2036.

    G A COMSOL CLIENT TO A COMSOL SERVER a COMSOL Client session by clicking COMSOL Multiphysics Client Server folder below your COMSOL folder on the Windows On Windows 8 you find this on the All apps page under COMSOL ou can also connect to a COMSOL server from the COMSOL

    electing Connect to Server from the File menu in the COMSOL en you start the Client, a Connect to Server window appears u for: computer name (Server) where the COMSOL Server is

    t number, Username, and Password.

    ve filled out this information and clicked OK, the COMSOL Server ndow displays information that a COMSOL Client has connected. ormation on running COMSOL in Client/Server mode, see the ultiphysics Reference Manual.

  • Running COMSOL in Batch Mode

    You can submit COMSOL batch jobs from the COMSOL Desktop and the command line. To run a COMSOL batch job, you need to make the Batch feature visible: in the Model Builder tree, click the Show button ( ) and select Advanced Study Options. In the Model Builder, right-click on a Study node and select Batch to create batch jobs. From the Windows command window, you can start batch jobs using the comsolbatch command. This is an example of how such a command could look like:

    comsolbatc

    To run a specis the tag of tBuilder Node

    The COMSOrunning COMCOMSOL co

    Running

    COMSOL suoperations anThis section important fofrequently us Core: The

    computati Speedup is

    on a specithe hardw

    On Windowstotal numbermachine, 4 cHere is how (applicable foand AMD c | 51

    h -inputfile in.mph -outputfile out.mph

    ific study add the command line option -study where he study to run, for instance, std1. To see the tag, select View>Model Label>Show Name and Tag in the COMSOL Desktop.L Multiphysics Reference Manual has a dedicated section on SOL from the Windows command window, including a list of

    mmands, and associated syntax.

    COMSOL on Multicore Computers

    pports two modes of parallel operation: shared-memory parallel d distributed-memory parallel operations, including cluster support. covers shared-memory processing, or multithreading, which is r the performance of COMSOL computations. Some terms that are ed in when describing multithreading are: core is a processor core used in shared-memory parallelism by a onal node with multiple processors. how many times faster a job runs on N cores compared to 1 core, fic compute node. The speedup depends on the simulation type, are used, and hardware drivers used., the default number of processor cores used by COMSOL is the of available physical cores. For example, if you have a 2 x dual core ores are used in parallel by a COMSOL process.to find out how many processor cores your Windows machine has r computers that do not have Intel Hyper-Threading Technology omputers that are not based on Bulldozer):

  • 52 |

    1 In the Windows file browser, right-click Computer or My Computer, select Properties.

    2 Click Advanced system settings. Go to the Advanced tab.3 Click the Environment Variables button and look in the System variables list.

    Look for NUMBER_OF_PROCESSORS and check its value. This is actually the number of cores. If you have two processors with 2 cores each, this number is 4. Alternatively, start a Windows command window and type

    echo %NUMBER_OF_PROCESSORS%

    If you want Cnumber of coMemory andand then entYou can also variable COMSMultiphysics

    Running

    You can launcommand linfeatures visibAdvanced Stuand select Clcomputing reThe followincomputing a Compute

    occurs. Eacommunicinterface).

    Host: Theunique nereferred to

    Core: ThecomputatiOMSOL to leave out one or more processor cores you can set the res used for a computational job in the Preferences dialog box under processors (by first selecting the Number of processors check box ering the number of processor cores to use).change the default behavior of COMSOL by setting the environment OL_NUM_THREADS to the desired number of cores. See the COMSOL Reference Manual for more information.

    COMSOL on Clusters

    ch COMSOL cluster jobs from the COMSOL Desktop and the e. To run COMSOL on a cluster, you need to make the cluster le: in the Model Builder tree, click the Show button ( ) and select dy Options. Then in the Model Builder, right-click a Study node

    uster Computing or Cluster Sweep to create cluster jobs. Cluster quires a Floating Network License. g terms occur frequently when describing the hardware for cluster nd shared memory parallel computing:node: The compute nodes are where the distributed computing ch distributed COMSOL process resides in a compute node and ates with other compute nodes using MPI (message-passing

    host is a physical machine (hardware) with a network adapter and twork address. The host is part of the cluster. It is sometimes as a physical node. core is a processor core used in shared-memory parallelism by a onal node with multiple processors.

  • The number of used hosts and the number of computational nodes are usually the same. For some special problem types, like very small problems with many parameters, it might be beneficial to use more than one computational node on one host.A tutorial model for cluster testing is included in the Model Library under COMSOL Multiphysics>Tutorial models>micromixer_cluster

    QUICK TROUBLESHOOTING Your first

    that you hproduct u

    For WindoCOMSOL

    If you getrunning,or other sExternal P

    For more infclusters, see tClusters, see

    Running

    COMSOL suCompute Cloon the Amaz | 53

    stop is to make sure you have the latest release installed. Check ave COMSOL 4.3b or later also make sure to install the latest pdates.ws HPCS, log in to each node with remote desktop and start the Desktop GUI. No error messages should be displayed. the error message Process status indicates that process is then cancel any running jobs in the Windows HPCS Job manager cheduler that you use. In the COMSOL Desktop, locate the rocess page at the bottom right. Click the Clear Status button.

    ormation about how to run COMSOL in parallel on Windows he COMSOL Multiphysics Reference Manual. For installation on Cluster Installation on page 33.

    COMSOL on the Cloud

    pports cloud computing using Linux through Amazon Elastic ud (Amazon EC2). See the PDF version of Running COMSOL

    on Cloud for further information: www.comsol.com/ec2_manual.

  • 54 |

    Running COMSOL with MATLAB

    Running COMSOL with MATLAB requires a LiveLink for MATLAB license. To run COMSOL with MATLAB, double-click the COMSOL 4.3b with MATLAB icon on the desktop.

    For WindowAlternativelyPrograms, thMATLAB. Instart screen tRunning CODesktop. TheMATLAB insof the COMSMATLAB d

    STARTING CTo display thwith MATLAto the COMs 8, corresponding tiles and desktop icons are added., start COMSOL with MATLAB from the Start menu by pointing to en to COMSOL 4.3b, and then select COMSOL 4.3b with Windows 8, you can click COMSOL 4.3b with MATLAB on the

    o launch COMSOL.MSOL with MATLAB starts a COMSOL Server and a MATLAB COMSOL Desktop is not involved. You can change the path to the tallation in the Preferences window accessed from the Options menu OL Desktop. For more information, see the LiveLink for ocumentation.

    OMSOL WITH MATLAB USING THE GRAPHICS MODEe plot in a COMSOL graphics window you need to run COMSOL B using the graphics mode. To do so, append the flag -graphics

    SOL with MATLAB target path.

  • Installing on Mac OS X

    Instal lation Over the Internet

    INSTALLATIO

    A trial licenseany paymentmay not be aInstallation opasscode hasFFFFFFFF

    This is usualllocate your p1 Click the l

    email fromto: www.co | 55

    N OF A TRIAL LICENSE OVER THE INTERNET may be given to you with the intention to test the software without obligation for non-commercial or non-production use. This option vailable in all regions.f a Single User Trial License on Mac requires a license passcode. A a form similar to:-TYUS-123456-1234567-123456789

    y sent to you by your COMSOL representative by email. Once you asscode, follow these steps to prepare for download and installation:ink for downloading the software as given in the software download your COMSOL representative. This link will be identical or similar msol.com/support/download/trial.

  • 56 |

    2 If you havent already created a COMSOL Access account, you are now prompted to create it. While creating the account, enter your trial passcode to associate it with your account information.

    If you alrewww.comscan enter t

    3 Click Down

    4 Continue wInstaller oady have created a COMSOL Access account, then the link ol.com/support/download/trial directs you to a page where you he passcode:

    load.

    ith the instructions in the section Downloading the COMSOL n page 60.

  • INSTALLATION OF A PAID-FOR LICENSE OVER THE INTERNETInstallation of any paid-for license on Mac requires a license file which is sent to you by your COMSOL representative by email. To be able to generate the license file, information about your hardware is needed in the form of a hostid (host ID). The hostid is used to lock the li


Top Related