INTRODUCTION to Application Builder Introduction to Application Builder

INTRODUCTION to Application Builder Introduction to Application Builder

INTRODUCTION TO Application Builder Introduction to Application Builder © 1998–2020 COMSOL Protected by patents listed on www.comsol.com/patents, and U.S. Patents 7,519,518; 7,596,474; 7,623,991; 8,457,932; 8,954,302; 9,098,106; 9,146,652; 9,323,503; 9,372,673; 9,454,625; 10,019,544; 10,650,177; and 10,776,541. Patents pending. This Documentation and the Programs described herein are furnished under the COMSOL Software License Agreement (www.comsol.com/comsol-license-agreement) and may be used or copied only under the terms of the license agreement. COMSOL, the COMSOL logo, COMSOL Multiphysics, COMSOL Desktop, COMSOL Compiler, COMSOL Server, and LiveLink are either registered trademarks or trademarks of COMSOL AB. All other trademarks are the property of their respective owners, and COMSOL AB 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/ trademarks. Version: COMSOL 5.6 Contact Information Visit the Contact COMSOL 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 Worldwide 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 • Product Download: www.comsol.com/product-download • Product Updates: www.comsol.com/support/updates •COMSOL Blog: www.comsol.com/blogs • Discussion Forum: www.comsol.com/community •Events: www.comsol.com/events • COMSOL Video Gallery: www.comsol.com/video • Support Knowledge Base: www.comsol.com/support/knowledgebase Part number: CM020011 Contents Preface. 9 Introduction . 10 The Application Builder Desktop Environment . 12 The Application Builder and the Model Builder. 20 Parameters, Variables, and Scope . 21 Running Applications . 23 Running Applications in COMSOL Multiphysics . 23 Running Applications with COMSOL Server . 31 Compiling and Running Standalone Applications . 36 Publishing COMSOL Applications . 42 Getting Started with the Application Builder . 44 Themes . 50 The Form Editor . 51 The Individual Form Settings Windows . 51 Local Forms . 53 Form Editor Preferences . 55 Form Objects . 55 Editor Tools in the Form Editor . 61 Button. 63 Graphics . 75 Input Field . 93 Unit. .100 Text Label . .100 Data Display . .101 | 3 Data Access in the Form Editor . 104 Sketch and Grid Layout . 110 Copying Between Applications . 126 Using Forms in the Model Builder . 127 Inputs. 129 The Main Window . 133 Menu Bar and Toolbar. 135 Ribbon . 138 Events . 139 Events at Startup and Shutdown. 140 Global Events . 140 Form and Form Object Events . 144 Using Local Methods . 145 Declarations . 146 Scalar . 150 Array 1D . 153 Array 2D . 154 Choice List. 156 File . 158 Unit Set . 159 Shortcuts . 164 Graphics Data . 166 The Method Editor . 170 Converting a Command Sequence to a Method . 170 Language Elements Window. 175 Editor Tools in the Method Editor . 176 Data Access in the Method Editor . 178 4 | Recording Code . .180 Checking Syntax . .183 Find and Replace. .184 Model Expressions Window . .185 Use Shortcut . .185 Syntax Highlighting, Code Folding, and Indentation . .187 Method Editor Preferences . .189 Ctrl+Space and Tab for Code Completion. .190 Creating Local Variables. .192 Local Methods. .193 Methods with Input and Output Arguments. .195 Debugging . .197 Stopping a Method . .199 The Model Object . .199 Language Element Examples . .199 Running Methods in the Model Builder . .203 Creating Add-Ins . .211 Add-In Libraries. .214 Workflow when Creating and Editing Add-Ins . .216 Libraries. .217 Images. .218 Sounds . .218 Files . .220 Appendix A — Form Objects . .221 List of All Form Objects. .221 Toggle Button . .222 Check Box . .225 Combo Box. .229 | 5 Equation. 249 Line. 250 Web Page . 251 Image . 252 Video . 253 Progress Bar. 254 Log . 257 Message Log . 258 Results Table . 259 Form. 261 Form Collection . 263 Card Stack . 265 File Import . 270 Information Card Stack . 273 Array Input. ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    408 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us