实例介绍
comsol和matlab软件的接口程序,适合初学者,简单易懂
CONTENTS hapter l: Introduction to MATLAB About this uide Where Do I Access the Documentation and Model Library? 8 Typographical Conventions Getting Started with MATLAB Creating a Model in COMSOL Multiphysics ith a model obi Loading and Saving a Model Importing and Exporting a Model Converting COMSOL 3.5a Models Calling External MATLAB Functions in the COMSOL Desktop Generating a user-Defined Interface 8 Running COMSOL with MATLAB in Batch Mode 8 Chapter 2: Building mode The model。bi 20 Model object methods Model object Information A Simple Model Example 23 Utility functi Using the On-Line d Using MATLAB Functions in COMSOL Multiphysics Defining a matlab fi apter 3: Creating Geometri Geometry Sequences 34 The Geometry Sequence Syntax Working with Geometry Sequences Exchanging Geometries with the COMSOL Desktop Importing and Exporting Geometries and CAD Models from File Retrieving Geometry Information Modeling with a Parameterized Geometry Images and Interpolation Data Chapter 4: Modeling physics Physics Interfaces 50 The Physics Interface Syntax Using Physics Interfaces The Material Syntax.· Using materials Modifying the Equations 52 Adding Global Equations Getting the Extended Mesh Information Chapter 5: Creating meshes Meshing Sequences The Meshing Sequence Syntax Importing External Meshes and Mesh Objects Mesh Informati 74 Getting and setting mesh data Chapter 6: Creating studies The stud The Study sy Using the stud The Solver Configura CaNTENTS Using Solver Configurations Evaluating System Matrices 2 Chapter 1: Analyzing res e Plot gr。upS Using Plot Groups The Data Set syntax Eval Evaluating global d: Integrating Expressions Generating Reports Chapter 8: COMSoL 3.5a Compatibility g M-Fil M-File conversion M-File Conversion, Including a For Lo Unsupported Functions in COMSOL Multiphysics 4.1 CONTENTS Chapter 9: Command reference umar commands 26 Commands Grouped by functi 27 INDEX 63 63 6CaNTENTS Introduction t matlaB his guide introduces you to the Live Link product for MATLAB, which extends your COMSOL modeling environment with an interface between COMSOL Multiphysics and MATLAB. The COMSOL API REference Guide provides dditional docume of the api In this section About this guide Getting Started with MAtLAB About this guide Where Do I Access the Documentation and Model library? There are several sources to find more information about the live link interface fo MATLAB including accessing the on-linc documentation with the command mphdoc The section Command Reference also describes additional utilities available for use with the live l ink intertace for matlaB Note: If you are working directly from a PDF on your computer, the blue links do not work to open a model or documentation referenced in a diffcrent user guide However, if you are using the online help desk in Comsol Multiphysics, these links work to other modules, modcl cxamples, and documentation sets A number of Internet resources provide more infornation about COMSOL Multiphysics, including licensing and technical information the electron documentation, DynaInic Help, and the Model Library are all accessed through the COMSOL DeSktop THE DOCUMENTATION The COMsOL Multiphysics Users Guide and Comsol Multiphysics referenco Guide describe all the inter faces included with the basic comsol license. These guides also have instructions about how to use ComSOL Multiphysics, and how to access the documentation electronically through the COMSOL Multiphysics hel To locate and search all the documentation, in COMSOL, select Help> Documentation from the main menu and either enter a search term or look under a specific module in the documentation tree THE MODEL LIBRARY Each model comes with a theoretical background and step-by-step instructions to create the model. The models are available in ComSol as mph-files that you can open for further investigation. Use both the step-by-step instructions and the actual models as a template for your own modeling and applications. SI units are used to 8 CHAPTER I: INTRODUCTION TO MATLAB describe the relevant properties, parameters, and dimensions in most examples, but other unit systems are available To open any model in COMSOL, select File>Open Model Library from the main menu and then search either by name or browse by module name. If you also want to review the documentation explaining how to build a model, select the model and click Model PDF or Dynamic Help to reach the PDF or HTMl, version, respectively. Alternatively select Help Documentation in COMSOL and again, search by name or browse b module under Model Library in the documentation tree If you have feedback or suggestions for additional models for the library(including thosedevelopedbyyou),feelfreetocontactusatinfo@comsol.com COMSOL WEB SITES Maincorporatewehsitehttp://www.comsol.com Worldwidecontactinformationhttp://www.comsol.com/contact/ Onlinetechnicalsupportnainpage:http://www.consol.com/support/ COMSOL Support Knowledge Base, your first stop for troubleshooting assistance, where you can search for answers to ally COmsoL questions http://www.comsol.com/support/knowledgebase/ Productupdateshttp://www.comsol.com/support/updates/ CONTACTING COMSOL BY EMAIL For general product informatiOIl, contact COMSOL at info@consol.coIm To receive technical support from COMSOL for the Comsol products contact your local ComSOL representative or send your questions to support@comsol.com.Youwillreceiveanautomaticnotificationandacasenumberby email COMSOL COMMUNITY Onthecomsolwebsiteyoufindausercommunityathttp://www.comsol.com community/. The user community includes a discussion forum, a modcl cxchange news postings, and a searchable database of papers and presentations ABOUT THIS GUIDE 9 Typographical Conventions All COMSOL manuals use a set of consistent typographical conventions that should make it easy for you to follow the discussion, realize what you can expect to see on the screen, and know which data you Inust enter into various data-entry fields. In particular, you should be aware of these conventions a boldface font of the shown size and style indicates that the given word(s)appear exactly that way on the Comsol Desktop(or, for toolbar buttons, in the corresponding tooltip). For instance, we oftel refer to the Model Builder windo which is the window that contains the model tree. As another example, the instructions night say to click the Zoom Extents button, and the boldface font indicates that you can expect to see a button with that exact label on the COmSOL estop Click text highlighted in blue to go to other information in the PDF. when you are using the online help desk in Comsol multiphysics, these links also work to other modules, model examples, and documentation sets The names of other items on the COmsOl Desktop that do not have direct labels contain a leading uppercase letter. For instance, we often refer to the main toolbar this horizontal bar containing many icons appears on top of the user interface However, nowhere on the screen will you see the term"Main?"referring to this The symbol indicates a menu item. For example, Options> Results is equivalent to From the Options menu, choose Results A Code(monospace) font indicates keyboard entries in the user interface. You might see an instruction such as"Type 1. 25 in the Current density edit field. The monospace font also indicates code. This font also indicates variable names. An italic (monospace)font indicates user inputs and parts of names that can vary or be defined by the user All italic font indicates the introduction of inportant terminology. Expect to find an explanation in the same paragraph or in the glossary. The names of books in the COMSOL documentation set also appear using anl italic font 10 CHAPTER I: INTRODUCTION TO MATLAB 【实例截图】
【核心代码】
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论