<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>COMSOL Blog &#187; Amelia Halliday</title>
	<atom:link href="http://www.comsol.no/blogs/author/amelia-halliday/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.comsol.no/blogs</link>
	<description></description>
	<lastBuildDate>Thu, 22 Nov 2018 09:33:42 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>	<item>
		<title>Defining a Multiphysics Model, Part 1: The Automatic Approach</title>
		<link>https://www.comsol.no/blogs/defining-a-multiphysics-model-part-1-the-automatic-approach/</link>
		<comments>https://www.comsol.no/blogs/defining-a-multiphysics-model-part-1-the-automatic-approach/#comments</comments>
		<pubDate>Tue, 06 Nov 2018 09:27:11 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Modeling Tools]]></category>
		<category><![CDATA[Studies & Solvers]]></category>
		<category><![CDATA[Technical Content]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=286041</guid>
		<description><![CDATA[To help understand the complicated universe we live in, we have compartmentalized physics phenomena into distinct disciplinary specializations. However, natural and engineering problems often cross these utilitarian borders. A major strength of the COMSOL Multiphysics® software is the ease with which such cross-disciplinary interactions, which we refer to as multiphysics interactions, can be accounted for. The COMSOL® software provides a plethora of built-in multiphysics couplings and even enables users to implement their own physics couplings. Multiple Physics, Multiple Approaches When [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>To help understand the complicated universe we live in, we have compartmentalized physics phenomena into distinct disciplinary specializations. However, natural and engineering problems often cross these utilitarian borders. A major strength of the COMSOL Multiphysics® software is the ease with which such cross-disciplinary interactions, which we refer to as <em>multiphysics</em> interactions, can be accounted for. The COMSOL® software provides a plethora of built-in multiphysics couplings and even enables users to implement their own physics couplings.</p>
<p><span id="more-286041"></span></p>
<h3>Multiple Physics, Multiple Approaches</h3>
<p>When adding the physics for a multiphysics model, there are a number of ways in which you can handle the physics setup. In COMSOL Multiphysics, there are three different approaches:</p>
<ol>
<li>Fully automatic</li>
<li>Manual with predefined couplings</li>
<li>Manual with user-defined couplings</li>
</ol>
<p>Each approach is advantageous for different modeling scenarios and varies in terms of ease of implementation and amount of effort required from the user. The manual approach involves selecting the individual physics interface and then adding the multiphysics couplings. This is typically done in a sequential order and by conducting multiple standalone analyses to incrementally build up to the multiphysics problem. The user-defined couplings involve including user-defined expressions, equations, or functions to combine the physics in your model when there are no predefined multiphysics couplings available. In this post, we will focus on the fully automatic approach and address the two others in subsequent blog posts.</p>
<h3>The Automatic Approach for Defining a Multiphysics Model</h3>
<p>The fully automatic approach is a highly recommended way to add physics for a multiphysics model. By <em>automatic</em>, we mean to use the predefined multiphysics interfaces that are built in and readily available in COMSOL Multiphysics, as well as automatically preconfigured for the multiphysics interaction being simulated. These interfaces are available for several disciplines of engineering and type of application area, including electromagnetics, structural mechanics, acoustics, fluid flow, heat transfer, and chemical engineering.</p>
<p>Multiphysics interfaces make the modeling process simple. Their use automatically adds all of the necessary physics and couplings to your model at once. Additionally, they automatically include the <a href="/blogs/keeping-track-of-element-order-in-multiphysics-models/">optimal element discretization settings</a> for the combination of physics in a model. In these ways and more, the automatic approach lets you more quickly dive into defining the physics for a multiphysics model without having to get bogged down with the small details or do all of the work from scratch.</p>
<p>For a complete list of the multiphysics interfaces available to you for any COMSOL products you hold a license for, you can view the <a href="/products/specifications/">Specification Chart</a>. There are a number of ways you can browse the chart, as noted in a <a href="/blogs/specification-chart-uncovers-solutions-to-your-engineering-problems/">previous blog post</a>. Simply select the application area your module(s) fall under or the modules themselves (or both) and scroll down to the <em>Predefined Multiphysics Interfaces</em> section to see the list of built-in interfaces.</p>
<p><a href="https://cdn.comsol.com/wordpress/2018/11/specification-chart-comsol-products.png" target="blank"><img src="https://cdn.comsol.com/wordpress/2018/11/specification-chart-comsol-products.png" title="Specification chart" alt="An image of the Specification Chart showing the available features for COMSOL products." class="alignnone size-full wp-image-286051" /></a><br />
<em>The Specification Chart with the Acoustics application area selected.</em></p>
<p>Below, we highlight one example of the numerous multiphysics interfaces included in the software, as well as what it can be used for.</p>
<h4>Multiphysics Modeling: A Plasma Example</h4>
<p>Perhaps you work in the plasma sciences and need to build a multiphysics model observing several effects, such as in plasma arc welding applications. Modeling this complex process requires including and coupling electricity, magnetism, heat transfer, and fluid flow. In COMSOL Multiphysics, you can use the <em>Combined Inductive/DC Discharge</em> multiphysics interface to automate the entire physics setup, thus enabling you to define the multiphysics phenomena present in plasmas in a significantly easier way.</p>
<p><img src="https://cdn.comsol.com/wordpress/2018/11/plasma-multiphysics-interface-settings.png" title="" alt="A screenshot of a multiphysics interface for plasma modeling in COMSOL Multiphysics." class="alignnone size-full wp-image-286061" /><br />
<em>The</em> Combined Inductive/DC Discharge <em>multiphysics interface selected and added under the</em> Plasma <em>branch of the Physics Wizard, with the branch containing the multiphysics couplings expanded.</em></p>
<h3>Modeling Resistive Heating and Thermal Expansion Using the Automatic Approach</h3>
<p>Let&#8217;s use the thermal-electrical-mechanical (&#8220;tem&#8221;) version of the <a href="/model/thermal-actuator-8493">thermal microactuator tutorial model</a> found in the Application Gallery on the COMSOL website, to demonstrate the automatic approach for adding the physics for a multiphysics model.</p>
<blockquote><p>Note: For the sake of brevity, assume that all steps in the modeling workflow, apart from defining the physics, are complete. Thus, the geometry, materials, mesh, and study are already set up. Additionally, we will narrow our focus to defining the multiphysics aspects of the model and not go into detail regarding how to add and define specific boundary conditions for the constituent physics interfaces.</p></blockquote>
<p>First, we define the physics for Joule heating and thermal expansion. A voltage is supplied to the bottom of the anchor on the middle arm. The conducted current is resisted as it flows through the actuator, resulting in electric heating, which raises the temperature of the device and causes it to deform. The base of all of the anchors are fixed, but the dimples enable the arms to translate in the <em>xy</em>-plane. </p>
<p><img src="https://cdn.comsol.com/wordpress/2018/11/thermal-microactuator-geometry-comsol.png" title="" alt="A schematic of a thermal actuator model." class="alignnone size-full wp-image-286071" /><br />
<em>The thermal microactuator geometry with the parts labeled. The device is made of polysilicon.</em></p>
<p>To study the electrical-thermal-structural interaction that occurs, we can use the predefined <em>Joule Heating and Thermal Expansion</em> multiphysics interface. To include this interface in the simulation:</p>
<ol>
<li>Open the <em>Add Physics</em> window</li>
<li>Expand the <em>Structural Mechanics</em> branch</li>
<li>Select and add the <em>Joule Heating and Thermal Expansion</em> interface to the model component</li>
</ol>
<p><img src="https://cdn.comsol.com/wordpress/2018/11/joule-heating-multiphysics-interface.png" title="" alt="A screenshot showing a multiphysics interface added to a model component." class="alignnone size-full wp-image-286081" /><br />
<em>The</em> Joule Heating and Thermal Expansion <em>multiphysics interface being added to a model component.</em></p>
<p>Upon adding Joule heating and thermal expansion to a model, notice that several physics nodes have also been added to the model tree. These include the <em>Electric Currents</em> interface; <em>Heat Transfer in Solids</em> interface; <em>Solid Mechanics</em> interface; and a multiphysics node containing the couplings for electromagnetic heating, the temperature field, and thermal expansion. </p>
<p><img src="https://cdn.comsol.com/wordpress/2018/11/physics-setup-multiphysics-model.png" title="" alt="A screenshot of the GUI for a multiphysics model using the built-in approach." class="alignnone size-full wp-image-286091" /><br />
<em>A screenshot of the physics setup that is automatically added when using the automatic approach.</em></p>
<p>The electromagnetic heating multiphysics coupling passes the resistive heating induced from the electrical problem (the current conducted through the actuator) to the heat transfer problem. The temperature multiphysics coupling passes the temperature field from the thermal problem (the heating of the actuator) to the structural problem. Depending on the materials assigned to the geometry, it also passes the temperature back to the electrical problem so as to modify any material properties that are temperature dependent, such as the electrical conductivity. Lastly, the thermal expansion multiphysics coupling combines the thermal problem with the structural problem (the structural stresses and strains induced due to thermal changes) by including the temperature field as a thermal load. </p>
<p>This is why we always recommend using the automatic approach whenever possible. By adding the multiphysics effect you want to analyze, it instantly adds all of the appropriate individual physics interfaces, automatically couples them, and includes the modified settings that are optimal for computing the combination of physics included in your simulation. You don&#8217;t have to worry about recalling if you&#8217;ve included the correct multiphysics nodes or applied the appropriate settings from one physics interface to another, since it is all automated.</p>
<p>From this point forward, we can focus on defining the physics for each individual physics interface, such as adding any necessary boundary conditions or constraints and editing the settings.</p>
<p>To see how to build the complete model using this approach, see the <a href="/model/thermal-actuator-8493">thermal microactuator tutorial model</a> in the Application Gallery.</p>
<h3>Speed Up the Model Building Process</h3>
<p>Take advantage of the multiphysics interfaces and options available for different physics disciplines that are available in the COMSOL® software, which, in tandem with the multiple setting modifications performed automatically, provide several distinct benefits.</p>
<p>Watch the related tutorial video to see a demonstration of the fully automatic approach. The video uses the <a href="/model/bracket-transient-analysis-10314">Bracket &#8211; Thermal Analysis tutorial model</a> as an example, so between this blog post and the video, you get to see two different multiphysics examples!</p>
<div class="flex-center">
<a href="/video/assigning-multiphysics-to-a-model-geometry-in-comsol-multiphysics" class="btn-solid btn-md btn-green">Watch the Video</a>
</div>
<p>Stay tuned for future blog posts that will discuss the other two manual approaches, using predefined couplings or user-defined couplings, for setting up a multiphysics model&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/defining-a-multiphysics-model-part-1-the-automatic-approach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Use the Parameter Estimation Study Step for Inverse Modeling</title>
		<link>https://www.comsol.no/blogs/how-to-use-the-parameter-estimation-study-step-for-inverse-modeling/</link>
		<comments>https://www.comsol.no/blogs/how-to-use-the-parameter-estimation-study-step-for-inverse-modeling/#comments</comments>
		<pubDate>Thu, 29 Mar 2018 15:15:32 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Parameters, Variables, & Functions]]></category>
		<category><![CDATA[Optimization Module]]></category>
		<category><![CDATA[Technical Content]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=254841</guid>
		<description><![CDATA[When creating a simulation, you usually start by building the forward model, supplying various inputs, and then looking at the results. However, what if you have a set of results and want to find the input values that provide the same outcome? Here, we show how to use the Parameter Estimation study step, which helps you build an inverse model and solve for the optimal values of your model inputs. Tutorial Video: Performing a Parameter Estimation Study in COMSOL Multiphysics® [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>When creating a simulation, you usually start by building the forward model, supplying various inputs, and then looking at the results. However, what if you have a set of results and want to find the input values that provide the same outcome? Here, we show how to use the <em>Parameter Estimation</em> study step, which helps you build an inverse model and solve for the optimal values of your model inputs.</p>
<p><span id="more-254841"></span></p>
<p id="video">
<h3>Tutorial Video: Performing a Parameter Estimation Study in COMSOL Multiphysics®</h3>
</p>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_gcolgitc5u seo=false videoFoam=true wmode=transparent" style="height:100%;position:relative;width:100%">&nbsp;</div>
</div>
</div>
<h3>Using the Parameter Estimation Study Step for Inverse Modeling</h3>
<p>Suppose that you have a set of external data (either from experimental measurements or a collection of reference data) that you want to model your simulation after. In this situation, you can use <em>inverse modeling</em>. As the name implies, inverse modeling is when you take a reverse modeling approach to your problem: Instead of solving for the outcome, you solve for the inputs. </p>
<p>To get the desired simulation results, there are several model inputs that you might want to investigate or experiment with, such as material properties. When solving for the values of these inputs, you are looking for the optimal values that provide you with the closest match between a set of external data and the simulation results. A natural approach is to minimize the sum of the squares of the differences between the data sets. As such, an efficient modeling strategy is to formulate the problem as a <a href="/blogs/multiparameter-optimization-with-a-least-squares-objective/">least-squares optimization problem</a>. To streamline the process of setting up and solving the problem, you can use the <em>Parameter Estimation</em> study step in the COMSOL Multiphysics® software. </p>
<blockquote><p>To use the <em>Parameter Estimation</em> study step, the study must be time dependent and a license for the Optimization Module is required. In addition, a set of reference data needs to be included through either an interpolation function or user-defined reference expression. Note that the reference data must either be time dependent or a function of a single argument.</p></blockquote>
<p><img src="https://cdn.comsol.com/wordpress/2018/03/parameter-estimation-settings-window-.png" title="" alt="A screenshot of the Parameter Estimation Settings window in COMSOL Multiphysics®." width="440" height="700" class="alignnone size-full wp-image-254881" /><br />
<em>The Settings window for the</em> Parameter Estimation <em>study step.</em></p>
<p>The <em>Parameter Estimation</em> study step is useful for a variety of inverse modeling problems &mdash; mainly parameter estimation. The objective is to estimate values for the desired model inputs (i.e., parameters), which provides insight into the ways that the values (and hence the properties themselves) affect the objective function.</p>
<p>Perhaps one of the most typical uses of this functionality is curve fitting or similar data-fitting applications. This process involves fitting a function to a series of data points. The fitting of the function is done by estimating the values for the coefficients used in the function, essentially fitting a parameterized analytic function to a collection of data. By fitting a curve to a set of data points, we can interpolate values from the function to areas where data isn&#8217;t explicitly available.</p>
<p>In the tutorial video at the <a href="#video">top of this blog post</a>, we demonstrate a parameter estimation via a modified version of the <a href="/model/various-analyses-of-an-elbow-bracket-4131">elbow bracket tutorial model</a>. Before computing this study, we need to properly define the problem&#8230;</p>
<h3>Performing a Parameter Estimation Study in COMSOL Multiphysics®</h3>
<p>Performing a parameter estimation study generally involves three major steps:</p>
<ol>
<li>Prestudy: preparing the definitions, such as the parameters, variables, and functions</li>
<li>Study setup: customizing various aspects of the study and computing it</li>
<li>Poststudy: postprocessing to visualize and compare the simulation and experimental results, as well as extracting the optimal values for the estimated model inputs</li>
</ol>
<p>Let’s look at how to complete these steps and the important factors to consider when setting up the <em>Parameter Estimation</em> study step in a model.</p>
<h4>Step 1: Preparing Definitions for a Parameter Estimation</h4>
<p>Before we perform a parameter estimation study, we must create the definitions needed to formulate the problem. This typically involves creating a combination of parameters, functions, and variables. First, we define the parameters of the model inputs for which we want an estimated value. Next, we include the external data by defining either a reference function or expression. Lastly, we define a variable that pulls and evaluates the output quantity from the simulation results, which are compared to the measured output data.</p>
<p>In the video above, we perform a time-dependent heat transfer analysis on the elbow bracket. The model data from the heat transfer simulation is then compared to the experimental data, which is used to estimate the value for the thermal conductivity of the material.</p>
<p>In the <em>Heat Transfer in Solids</em> node, the thermal conductivity is represented by <em>k</em>. Hence, we create a parameter named <em>k</em>, enter a rough estimate of its value, and use it in the appropriate node to define the thermal conductivity. </p>
<div class="row">
<div class="col-sm-6">
<a href="https://cdn.comsol.com/wordpress/2018/03/parameter-estimation-study-comsol-multiphysics.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2018/03/parameter-estimation-study-comsol-multiphysics.png" title="Parameters" alt="A screenshot of a table of parameters used in a parameter estimation study." class="alignnone size-full wp-image-254891" /></a>
</div>
<div class="col-sm-6">
<a href="https://cdn.comsol.com/wordpress/2018/03/heat-transfer-in-solids-node.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2018/03/heat-transfer-in-solids-node.png" title="Solid 1 node" alt="A screenshot of the Heat Transfer in Solids node in which the estimated material property is defined." class="alignnone size-full wp-image-254901" /></a>
</div>
</div>
<p><em>Left: The parameters used in the parameter estimation study, including the parameter</em> k <em>for estimating the thermal conductivity. Right: The node (named</em> Solid 1<em>) in which we use the parameter k to define the material property to be estimated.</em></p>
<p>Next, we create a definition so that we can implement the data from our external file into the COMSOL® software. In this case, the reference data is a collection of time-dependent temperature measurements contained in a comma-separated values (CSV) file. This data can be quickly and easily entered into COMSOL Multiphysics by adding an <em>Interpolation</em> function to our model component and then using the <em>Load from File</em> button. The data is automatically imported in a tabular format, with the first column containing the times and the second column containing the temperature measurements.</p>
<p><a href="https://cdn.comsol.com/wordpress/2018/03/Interpolation-function-comsol-software.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2018/03/Interpolation-function-comsol-software.png" title="Interpolation function and Load from File button" alt="A screenshot of the COMSOL Multiphysics® GUI with a plot of the imported reference data." width="1500" height="844" class="alignnone size-full wp-image-254911" /></a><br />
<em>The</em> Interpolation <em>function incorporates the reference data into the simulation. The</em> Load from File <em>button is used to import the external file into the function.</em></p>
<p>Under the <em>Units</em> section, we simply enter the respective units for the argument (time) and function (temperature). We do not need to be concerned with the options selected for the <em>Interpolation and Extrapolation</em> settings of the function, since the study only computes the differences at the times explicitly stated in the argument or <em>t</em> column of the function. Thus, the smoothing between data points and the behavior of the function outside of the range of the data is not relevant. </p>
<p>We now need to define an expression to extract the temperature quantity from the simulation results. (This quantity is later compared to the temperature measurements in the interpolation function.) The quantity we want to extract and use for comparison is the average temperature of the surface on the top-right end of the bracket.</p>
<p>Since we want to obtain the average of a quantity (temperature), we first add an <em>Average</em> component coupling under the <em>Definitions</em> node. We then select the geometry we want to obtain the average temperature for (i.e., the boundary on the top-right end of the elbow bracket). Note the tag in parentheses to the right of the <em>Average</em> component coupling, <em>aveop1</em>, as this will be used in the expression for defining our variable. </p>
<p><img src="https://cdn.comsol.com/wordpress/2018/03/elbow-bracket-geometry-comsol-ui.png" title="" alt="An image of the elbow bracket geometry with the Average component coupling highlighted." width="741" height="700" class="alignnone size-full wp-image-254921" /><br />
<em>The</em> Average <em>component coupling (highlighted in blue) helps us obtain the average value of a quantity on the selected geometry.</em> </p>
<p>To compare the computational and experimental results, we must define a variable to extract the quantity, and thus its value when computed, from the simulation results. Since we are looking at a specific part of the geometry, we define a local variable under the <em>Definitions</em> node or the <em>Definitions</em> ribbon tab. (A global variable is not suitable for our study, as the <em>Global Definitions</em> node is global in scope and defines, applies, or evaluates an expression over the entire model geometry.)</p>
<p>When defining the variable, we name it <em>Tave</em>, since we are looking to obtain the average (ave) temperature (T). For the expression, we can call out to the <em>Average</em> component coupling created earlier by entering <em>aveop1</em>. We then specify the quantity that we want the average of by entering the variable <em>T</em> (for temperature) in parentheses.</p>
<p><img src="https://cdn.comsol.com/wordpress/2018/03/variables-1-screenshot.png" title="" alt="A screenshot of the Settings window for the defined variable used for parameter estimation." width="956" height="525" class="alignnone size-full wp-image-254931" /><br />
<em>The defined variable, which is later used in the</em> Parameter Estimation <em>study step.</em> </p>
<h4>Step 2: Setting Up and Computing the Study</h4>
<p>Now we can add and set up the <em>Parameter Estimation</em> study step, for which several settings have already been handled. The reference data and study step selections are automatically linked to the interpolation function that contains the external data and the time-dependent study.</p>
<p>The expression entered in the <em>Model expression</em> field is evaluated and then compared to the external data at each time step specified in the reference function; i.e., each time in the argument column of the interpolation function. As such, this field is where we enter our local variable, <em>Tave</em>. </p>
<p>Notice that in the syntax of the <em>Model expression</em> field in the images below, we specify the location of our local variable, component 1, by including it before the variable name. The reason is that the scope of the <em>Parameter Estimation</em> study step is global. As a result, the study step does not &#8220;see&#8221; variables defined locally within a component unless we indicate their scope in the expression. For a global variable, we simply enter its name in the <em>Model expression</em> field. To enter the variable with its scope specified automatically, you can use the <em>Auto Completion</em> feature to select and enter the variable from the list of definitions.</p>
<div class="row">
<div class="col-sm-6">
<a href="https://cdn.comsol.com/wordpress/2018/03/comsol-multiphysics-auto-completion-feature-.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2018/03/comsol-multiphysics-auto-completion-feature-.png" title="Auto Completion feature" alt="A screenshot highlighting the use of the Auto Completion feature in COMSOL Multiphysics®." class="alignnone size-full wp-image-254941" /></a>
</div>
<div class="col-sm-6">
<a href="https://cdn.comsol.com/wordpress/2018/03/completed-parameter-estimation-study-step.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2018/03/completed-parameter-estimation-study-step.png" title="Parameter Estimation study step" alt="A screenshot of the completed Parameter Estimation study step settings." class="alignnone size-full wp-image-254951" /></a>
</div>
</div>
<p><em>Left: Using the</em> Auto Completion <em>feature to select the local variable defined earlier. Right: A screenshot of the completed setup for the</em> Parameter Estimation <em>study step.</em></p>
<p>Now we just need to identify the parameters we want to estimate and select the optimization method. We provide a rough estimate for the parameter under the <em>Initial value</em> column, add an upper and lower bound for the values that the parameter can take, and set the <em>Scale</em> value. Applying the appropriate scale is important, as it can significantly slow down the convergence of the optimization solver or stop it from converging altogether. Using the default value works for the elbow bracket example, but it might not always be suitable. (For more information, read the chapter on parameter estimation in the <em>Optimization Module User&#8217;s Guide</em>.)</p>
<p>Next, we want to select the appropriate optimization algorithm and compute it. The different methods apply to certain use cases, which are discussed in further detail in the video. Since the parameter we want to estimate controls the value of a material property &mdash; and we want to impose an upper and lower bound on the value &mdash; we use the SNOPT method.</p>
<h4>Step 3: Comparing Results and Extracting Input Values</h4>
<p>Once the model finishes solving, we need to perform some additional postprocessing. We can visualize and compare the two sets of data by plotting the results, and then we can extract the optimal values for the estimated model inputs. To see and compare both sets of data on a single plot, we add a new <em>1D Plot Group</em> and include two <em>Global</em> plots under it. One <em>Global</em> plot displays the simulation results, while the other displays the reference data. </p>
<p>Since our interpolation function is a collection of data points, we want it to appear as a point graph. To do so, we change the time selection of the data points so that they are only plotted at the times specified by the argument column of the function. Additionally, we adjust several of the settings in the <em>Coloring and Style</em> section to further distinguish the two sets of data.</p>
<p><a href="https://cdn.comsol.com/wordpress/2018/03/comsol-simulation-results-vs-experimental.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2018/03/comsol-simulation-results-vs-experimental.png" title="Comparing simulation and experimental results" alt="A screenshot of the Model Builder with the Graphics window showing simulation results compared to experimental data." width="1500" height="680" class="alignnone size-full wp-image-254961" /></a><br />
<em>Comparison of the simulation and experimental results. The highlighted sections in the Settings window need to be adjusted to display the experimental data as a point graph.</em> </p>
<p>This plot shows that the model results closely match the experimental data. We can now extract the optimal value for the thermal conductivity of the elbow bracket material. To do so, we add a <em>Global Evaluation</em> node under the <em>Results</em> tab (or under the <em>Derived Values</em> node). In the Settings window, all we need to do is update the <em>Time selection</em> option to <em>Last</em> so that we can evaluate the value in the last time step, since the thermal conductivity is independent of time.</p>
<p><img src="https://cdn.comsol.com/wordpress/2018/03/settings-window-global-evaluation-node.png" title="" alt="A screenshot of the Global Evaluation node Settings window." width="538" height="429" class="alignnone size-full wp-image-254971" /><br />
<em>The Settings window for the</em> Global Evaluation <em>node.</em> </p>
<p>After entering the parameter <em>k</em> in the <em>Expression</em> field, we click <em>Evaluate</em> and are provided with the optimal value for that parameter.</p>
<p><img src="https://cdn.comsol.com/wordpress/2018/03/thermal-conductivity-optimal-value-screenshot.png" title="" alt="A screenshot of a table with the optimal value for thermal conductivity in the elbow bracket." width="954" height="194" class="alignnone size-full wp-image-254981" /><br />
<em>The optimal value for the thermal conductivity.</em> </p>
<p>As shown above, a thermal conductivity of ~0.27 W/(m*K) provides the simulation temperature results that best match measurements from experimental data.</p>
<h3>Modeling in Reverse via the Parameter Estimation Study Step</h3>
<p>In COMSOL Multiphysics, the <em>Parameter Estimation</em> study step helps estimate the optimal values for the inputs of a simulation. By estimating the values that define various aspects of a model, you can investigate the parts of the problem that either hinder or help in best matching the computed results with a data set from an external file.</p>
<p>This functionality also enables you to solve other types of inverse modeling problems by streamlining and expediting the process of defining, setting up, and solving a least-squares optimization problem. For more details about this useful study step, <a href="#video">watch the tutorial video at the top of this post</a>, which provides guidance on how to use this functionality with a simple example.</p>
<h3>Additional Resources</h3>
<p>To learn more about parameter estimation in COMSOL Multiphysics, its use cases, and the various study step settings, read the chapters on parameter estimation in both the <em>Introduction to the Optimization Module</em> and <em>Optimization Module User&#8217;s Guide</em> documentation. </p>
<p>An <a href="/video/using-the-optimization-module-for-parameter-estimation">archived webinar on parameter estimation</a> is also available. (Note that the archived webinar uses the <em>Optimization</em> interface instead of the <em>Parameter Estimation</em> study step.)</p>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/how-to-use-the-parameter-estimation-study-step-for-inverse-modeling/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating a Model Geometry in COMSOL Multiphysics®</title>
		<link>https://www.comsol.no/blogs/creating-a-model-geometry-in-comsol-multiphysics/</link>
		<comments>https://www.comsol.no/blogs/creating-a-model-geometry-in-comsol-multiphysics/#comments</comments>
		<pubDate>Thu, 29 Jun 2017 08:13:37 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Geometry]]></category>
		<category><![CDATA[Technical Content]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=225391</guid>
		<description><![CDATA[Creating the geometry for your model is one of the first steps of setting up a simulation. In the COMSOL Multiphysics® software, there are many geometry operations, tools, and functionality that enable you to do this. These include geometric primitives; Boolean, partition, and transformation operations; work plane operations; and other CAD tools. Here, we highlight all of this functionality and, near the end, link to a video tutorial series that shows how to use them while building your model geometry. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Creating the geometry for your model is one of the first steps of setting up a simulation. In the COMSOL Multiphysics® software, there are many geometry operations, tools, and functionality that enable you to do this. These include geometric primitives; Boolean, partition, and transformation operations; work plane operations; and other CAD tools. Here, we highlight all of this functionality and, near the end, link to a video tutorial series that shows how to use them while building your model geometry.</p>
<p><span id="more-225391"></span></p>
<h3>Geometry Creation in COMSOL Multiphysics®</h3>
<p>There are four main ways you can generate the geometry for your simulation in COMSOL Multiphysics:</p>
<ol>
<li>Draw the geometry within the COMSOL® software</li>
<li>Import an external CAD file</li>
<li>Use one of the LiveLink™ products</li>
<li>Import mesh data from an external file</li>
</ol>
<p>Each of these means of geometry creation provides different opportunities and advantages. The first method enables you to generate your geometry using only the COMSOL Multiphysics modeling environment. This method is the focus of today&#8217;s blog post, as we will discuss its associated workflow.</p>
<p>The general steps for creating a geometry include:</p>
<ol>
<li>Building geometry primitives corresponding to the model&#8217;s spatial dimension</li>
<li>Using geometry operations (such as Boolean, partition, and transformation operations) to manipulate existing geometries to a new one</li>
<li>Indicating how the software should deal with overlapping objects using <em>Form Union</em> or <em>Form Assembly</em></li>
</ol>
<p>Sometimes, it can be more efficient to create geometry primitives in lower dimensions using work planes and then extend them into the dimension that was not initially considered. Work planes can also be used to define cross sections from a higher dimensional entity to a lower dimensional workspace.</p>
<p>Let&#8217;s now dive further into the details of using geometry primitives, geometry operations, and work plane operations. Note that these operations can be used for geometries native to COMSOL Multiphysics as well as those created through another CAD program. </p>
<h3>Using Geometric Primitives</h3>
<p>COMSOL Multiphysics contains a number of ways in which you can generate the objects for your geometry. One option is to choose an object from the selection of built-in geometric shapes in the software, select and add the primitive object to your geometry sequence, and then edit the template provided through the Settings window. This enables you to specify the exact position, angle, and dimensions of the object as well as to quickly make changes to any of those settings, if needed. Once in the sequence, the object can then be combined and manipulated with other primitive objects to form your final geometry.</p>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_embed wistia_async_sdgt43w1w3 seo=false videoFoam=false wmode=transparent" style="height:281px;position:relative;width:500px">&nbsp;</div>
<p><em>Creating and modifying a rectangle using the Settings window in COMSOL Multiphysics.</em></p>
<p>The types of objects available for you to choose from depend on the spatial dimension of your component. This includes geometric primitives for conventional shapes as well as other less traditional shapes. For 3D models, you can add objects like blocks or spheres as well as torus or helix objects. Similarly, for 2D models, primitives such as rectangles, circles, Bézier polygons, and parametric curves are available.</p>
<p>Another option for generating objects in your geometry sequence, available for 2D and 1D models, is to sketch geometric primitive objects with the mouse.</p>
<p>This is done by:</p>
<ol>
<li>Clicking on the respective button for the object you want to build</li>
<li>Using the mouse in the <em>Graphics</em> window to click and define the center or corner of the object</li>
<li>Dragging the mouse to generate the desired size and then clicking again</li>
</ol>
<p>Immediately afterward, the object you have outlined appears and is added to your geometry sequence.</p>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_embed wistia_async_ym9f3zy5o9 seo=false videoFoam=false wmode=transparent" style="height:281px;position:relative;width:500px">&nbsp;</div>
<p><em>Creating and modifying a rectangle using the geometry drawing tools.</em></p>
<p>For 3D models, although you cannot sketch a geometry primitive with the mouse, you can draw a cross section of it in a work plane, which can then be expanded into a 3D object. We demonstrate both options mentioned above in dedicated chapters within the <a href="/video/creating-2d-geometries-in-comsol-multiphysics">building 2D geometries</a> part of the video series. Additionally, we discuss the advantages of using parameters during this process and demonstrate how they aid in streamlining your geometry setup.</p>
<h3>Boolean, Transformation, and Partition Operations</h3>
<p>After generating a few objects in your geometry sequence, you can start to combine them in meaningful ways using geometry operations. In the video chapters on building 2D geometries and 3D geometries in our series, we build a rectangular plate containing slots and a grille, respectively. This was done by using a combination of several Boolean and transformation operations.</p>
<div class="row">
<div class="col-sm-6">
<img src="https://cdn.comsol.com/wordpress/2017/06/rectangular-plate-with-slots-2D-COMSOL-geometry.png" title="" alt="A 2D COMSOL geometry of a plate with slots." class="alignnone size-full wp-image-225421" />
</div>
<div class="col-sm-6">
<img src="https://cdn.comsol.com/wordpress/2017/06/3D-COMSOL-Multiphysics-geometry-plate-with-a-grille.png" title="" alt="A 3D COMSOL geometry of a plate with a grille." class="alignnone size-full wp-image-225431" />
</div>
</div>
<p><em>The rectangular plate with slots (left) and with a grille (right).</em></p>
<p>The Boolean operations used to create the geometries pictured above include the <em>Union</em>, <em>Intersection</em>, and <em>Difference</em> operations, which enable you to combine objects, create a new object from the intersection of other objects, and subtract objects from one another, respectively. Likewise, the transformation operations used include the <em>Move</em>, <em>Copy</em>, <em>Mirror</em>, and <em>Array</em> operations, which enable you to change the position of objects; create duplicate objects; reflect objects over a plane, line, or point; and create an arrangement of duplicates of another object.</p>
<p>Aside from some of the more conventional geometry features used above, there are also specialized geometry tools used to help create certain types of geometries. Partition operations enable you to split geometric entities such as objects, domains, boundaries, and edges so that you can separate, remove, or simplify the geometry in your model. When we discuss using partition operations for geometries in the video, we demonstrate how to perform this on a helix object as well as the geometry for the <a href="/model/shell-and-tube-heat-exchanger-12685">shell and tube heat exchanger tutorial model</a>.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/06/partitioned-helix-model-geometry.png" title="" alt="A partitioned helix model geometry, created with COMSOL Multiphysics." width="938" height="592" class="alignnone size-full wp-image-225441" /><br />
<em>A helix geometry split down the middle, from our video chapter on partitioning geometries.</em></p>
<p>As you continue to build upon your geometry (adding more of these operations and other primitives to your sequence), you&#8217;ll notice that your sequence can become quite complex and that making any changes thereafter can become cumbersome. Changing the size of one object in the geometry may require other objects to be resized to accommodate that change. For these and other reasons, we encourage the use of parameters in the geometry operations you use in your sequence. We discuss the reasons for this and demonstrate how with a few of the example geometries built throughout the video series.</p>
<h3>Work Plane Operations</h3>
<p>COMSOL Multiphysics contains several tools known as work plane operations, which can be used to convert a 2D geometry in a work plane into a 3D object. In the video series, we show and demonstrate the <em>Extrude</em>, <em>Revolve</em>, and <em>Sweep</em> operations.</p>
<p>The <em>Extrude</em> operation enables you to extrude objects from a work plane or planar face to create 3D objects.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/06/COMSOL-Multiphysics-Extrude-operation-example.png" title="" alt="A demonstration of using the Extrude operation in COMSOL Multiphysics." width="938" height="503" class="alignnone size-full wp-image-225451" /><br />
<em>The</em> Extrude <em>operation, converting a rectangular plate with holes into a 3D block containing slots. The blue arrow in the center represents the direction in which the shape is extended, which is perpendicular to the work plane.</em></p>
<p>With the <em>Revolve</em> operation, you can revolve objects from a work plane or planar face about an axis to create 3D objects.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/06/Revolve-operation-COMSOL-Multiphysics.png" title="" alt="An example of using the Revolve operation in COMSOL Multiphysics." width="938" height="565" class="alignnone size-full wp-image-225461" /><br />
<em>The</em> Revolve <em>operation, converting a circle into a torus. The blue arrows represent the axis about which the shape is revolved.</em></p>
<p>Finally, there&#8217;s the <em>Sweep</em> operation, which enables you to sweep objects from a work plane or planar face along a path to create a 3D object.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/06/Sweep-operation-in-COMSOL-model-geometry-example.png" title="" alt="An illustration of using the Sweep operation in COMSOL Multiphysics." width="938" height="592" class="alignnone size-full wp-image-225471" /><br />
<em>The</em> Sweep <em>operation, converting a circle and 2D line path into a pipeline. Two work planes that are perpendicular to each other are used to define the shape and line path separately.</em></p>
<p>Using these work plane operations (starting from a 2D model and then expanding it into 3D) can be a significantly quicker alternative for building your 3D geometry, as opposed to building it entirely of 3D objects.</p>
<h4><em>Cross Section</em> Geometry Operation</h4>
<p>The COMSOL Multiphysics software also contains a tool for converting a 3D geometry into a 2D geometry. This is done through using a work plane along with the <em>Cross Section</em> geometry operation. The functionality can be used to simplify your model, among other things, which we discuss in the video series.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/06/axisymmetric-light-bulb-cross-section-model-geometry.png" title="" alt="A light bulb model geometry that takes advantage of axisymmetry." width="938" height="616" class="alignnone size-full wp-image-225481" /><br />
<em>The axisymmetric cross section of a light bulb, built in the video chapter on creating 2D models from 3D geometries.</em></p>
<p>The geometry generated through the <em>Cross Section</em> operation is based on the intersection of your 3D geometry with a work plane. Thus, the 2D geometry you obtain is the result of wherever the work plane cuts through the 3D solids in your model. Within the operation, you can choose for the work plane to intersect (and thus include) all objects or a selection of objects that you specify.</p>
<p>To obtain the appropriate cross section for your analysis, using this functionality may require performing some additional preparation on the original 3D geometry. Sometimes, this means separating and then removing certain parts of your geometry, wherein partition operations can be helpful. We elaborate on this further and demonstrate it in a dedicated chapter within the video series.</p>
<h3>Next Step: Watch the Introductory Video Series on Using Geometry Tools</h3>
<p>Whether you are building a geometry entirely within COMSOL Multiphysics or working off of an external file, you can use the geometry functionality discussed in this blog post to completely customize the composition of your geometry objects. If you are interested in seeing these tools in action, watch our introductory geometry video series:</p>
<div class="flex-center">
<a href="/video/introductory-video-series-on-how-to-build-geometries-in-comsol" class="btn-solid btn-md btn-green">Watch the Geometry Video Series</a>
</div>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/creating-a-model-geometry-in-comsol-multiphysics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Use the Find and Auto Completion Tools for Faster Model Setup</title>
		<link>https://www.comsol.no/blogs/how-to-use-the-find-and-auto-completion-tools-for-faster-model-setup/</link>
		<comments>https://www.comsol.no/blogs/how-to-use-the-find-and-auto-completion-tools-for-faster-model-setup/#comments</comments>
		<pubDate>Mon, 08 May 2017 19:46:31 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[Application Builder]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Modeling Tools]]></category>
		<category><![CDATA[Technical Content]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=214691</guid>
		<description><![CDATA[When making improvements to a model in the COMSOL Multiphysics® software, you are likely to add more parameters and variables. As the complexity of your model grows, it can become difficult to keep track of where these parameters are being used and defined, as well as to recall them for use in the settings of other nodes. In this blog post, we show you how to use the Auto Completion and Find tools for efficient model setup. Tutorial Video: Using [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>When making improvements to a model in the COMSOL Multiphysics® software, you are likely to add more parameters and variables. As the complexity of your model grows, it can become difficult to keep track of where these parameters are being used and defined, as well as to recall them for use in the settings of other nodes. In this blog post, we show you how to use the Auto Completion and Find tools for efficient model setup.</p>
<p><span id="more-214691"></span></p>
<h3>Tutorial Video: Using the Find and Auto Completion Tools in COMSOL Multiphysics®</h3>
<p id="findtoolautocompletionvideo">
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_5i8kjo94og seo=false videoFoam=true wmode=transparent" style="height:100%;position:relative;width:100%">&nbsp;</div>
</div>
</div>
<h3>Searching Within a Model Using the Find Tool</h3>
<p>With the Find tool, we can search within a model for a parameter, variable, or even general text. To open this tool, we either click the respective <em>Find</em> button on the <em>Quick Access Toolbar</em> (or the <em>Main Toolbar</em> for the Linux® operating system and macOS) or use the <em>Ctrl+F</em> keys.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/04/COMSOL-Multiphysics-Ctrl+F-Tool.png" title="" alt="A screenshot showing the Find tool in COMSOL Multiphysics." width="609" height="171" class="alignnone size-full wp-image-214731" /><br />
<em>The</em> Find <em>button in the Windows® operating system version of the COMSOL Desktop®.</em></p>
<p>The Find tool searches the entire model for every instance that a search entry is used throughout the nodes of the model tree. We can search for all components and their sequence of operations, node names, identifiers, tags, and labels by using the Find tool.</p>
<p>After opening the Find tool, we have several options with which we can conduct our search. Using the <em>All</em> tab enables us to search the model itself, while using the <em>Methods</em> tab lets us search within the Method Editor of the built-in Application Builder tool. There are also check boxes that we can use to obtain specific results, including:</p>
<ul>
<li>Exact matches</li>
<li>A text string within a model, using the regular expression syntax</li>
<li>Case-sensitive searches</li>
</ul>
<p>In the tutorial video at the beginning of this blog post, you can get a detailed demonstration of how to search with the <em>All</em> tab. For more information on the other option for the Find tool &mdash; in the <em>Methods</em> section of the Application Builder &mdash; see the &#8220;Find and Replace&#8221; section of the <a href="https://cdn.comsol.com/documentation/5.2.1.262/IntroductionToApplicationBuilder.pdf" target="_blank"><em>Introduction to Application Builder</em> documentation</a>. </p>
<p><img src="https://cdn.comsol.com/wordpress/2017/04/Find-Tool-Window-in-COMSOL-Multiphysics.png" title="" alt="A screenshot demonstrating how to use the Find tool in COMSOL Multiphysics." width="354" height="435" class="alignnone size-full wp-image-214741" /><br />
<em>The Find tool.</em></p>
<p>After performing a search, a new tab appears in the <em>Messages/Progress/Log</em> window. This new <em>Find Results</em> tab is where we can find our search results in table form. The table lists every instance that the term or terms that we searched are used throughout the model. We can double-click any row within the table to automatically be redirected to the node and section in which the parameter or variable is being used.</p>
<p>In the tutorial video, we show how the Settings window and node selected in the Model Builder update as we toggle between several of the rows in the search results table. Additionally, each column within the table lists properties such as the node it is being used under, the context of how it is being used within the node, and the text with which it appears through the <em>Node</em>, <em>Type</em>, and <em>Text</em> columns, respectively. In the <em>Text</em> column, if we search some terms used in an expression, for example, the software provides the other text and characters that are a part of that same expression. If we search text that appears in the description for a parameter, the remaining text part of that description column also appears.</p>
<p>Every time we complete a new search, a new <em>Find Results</em> tab opens. This means that we can always refer back to previous search results in the designated tabs. Additionally, as we continue to work on and adjust a model, we can refresh the table to repopulate the search results. </p>
<h3>How to Use the Auto Completion Tool</h3>
<p>When you want to quickly recall and use parameters, variables, functions, and other definitions that you have created in your simulation, you can do so by using the Auto Completion tool.</p>
<p>To open this tool, we hold down the <em>Control</em> key and press the space bar while in the <em>Expression</em> field of any window.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/04/Autocompletion-tool.png" title="" alt="A screenshot demonstrating how to use the Auto Completion tool in COMSOL Multiphysics." width="788" height="697" class="alignnone size-full wp-image-214751" /><br />
<em>The Auto Completion tool, used to define a Heat Flux boundary condition.</em></p>
<blockquote><p>When using a second input language, an alternative shortcut is to hold down the <em>Control</em> key and press the <em>Forward Slash</em> key.</p></blockquote>
<p>When we create a model and progress through each step of the modeling workflow, it can become cumbersome to have to return to the node and window section where a definition such as a parameter, variable, or function is originally defined. This is especially the case when working with large or complex models that use numerous definitions.</p>
<p>The Auto Completion tool enables us to quickly and easily formulate expressions and fill in the settings for almost any node in the model tree, such as when defining a physics boundary condition. Almost anywhere we enter an expression in the software, we are able to use this functionality.</p>
<p>In the tutorial video, we demonstrate how to use the Auto Completion tool to define a parameter, review several categories of definitions and operators available when defining a variable, and show how to define a boundary condition in a model.</p>
<p>After prompting the Auto Completion window to open, we can access not only the parameters, variables, and functions that we&#8217;ve defined, but also several other categories &mdash; including math operators, physical constants, and other operators. Keep in mind that the categories available for selection will vary depending on the node under which we work. Different options will be available when we enter an expression within a geometry node versus a mesh or physics node. For example, if we use the Auto Completion tool to define a parameter, we can use other parameters defined previously in the Parameters table. If we used the Auto Completion tool to define a variable, we are able to implement other variables as well as parameters in our expression.</p>
<h3>Streamline Your Modeling Workflow with the Find and Auto Completion Tools</h3>
<p>No matter the simplicity or complexity of your simulation, the Find and Auto Completion tools are useful for your modeling workflow. Whether you are dealing with 5 or 50 parameters, being able to quickly and easily locate where a definition is used and access it to define other aspects of your simulation makes the process of setting up your model more efficient. To learn how to take further advantage of these features in COMSOL Multiphysics, <a href="#findtoolautocompletionvideo">watch the video at the top of this post</a>.</p>
<h3>Additional Resources</h3>
<ul>
<li>Learn about other modeling tools and resources on the COMSOL Blog:
<ul>
<li><a href="/blogs/how-and-when-to-open-recovery-files-in-comsol-multiphysics/">How and When to Open Recovery Files in COMSOL Multiphysics®</a></li>
<li><a href="/blogs/using-the-help-tools-in-comsol-multiphysics-for-modeling-guidance/">Using the Help Tools in COMSOL Multiphysics® for Modeling Guidance</a></li>
<li><a href="/blogs/using-the-comsol-website-resources-for-modeling-and-software-help/">Using the COMSOL Website Resources for Modeling and Software Help</a></li>
</ul>
</li>
<li>Browse more tutorials on the core functionality and tools available in COMSOL Multiphysics in the <a href="/videos">Video Gallery</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/how-to-use-the-find-and-auto-completion-tools-for-faster-model-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the COMSOL Website Resources for Modeling and Software Help</title>
		<link>https://www.comsol.no/blogs/using-the-comsol-website-resources-for-modeling-and-software-help/</link>
		<comments>https://www.comsol.no/blogs/using-the-comsol-website-resources-for-modeling-and-software-help/#comments</comments>
		<pubDate>Fri, 27 Jan 2017 17:46:30 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[COMSOL Now]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=202091</guid>
		<description><![CDATA[In a previous post, we introduced the help tools included in the COMSOL Multiphysics® software. You can access additional resources on the COMSOL website, including the COMSOL Blog, Video Gallery, Application Gallery, Discussion Forum, Model Exchange, and Support Knowledge Base. In this blog post, we discuss these resources and point you to a video that shows how to use these tools for software and modeling guidance. The COMSOL Blog If you are reading this post, you most likely already know [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In a previous post, we introduced <a href="https://www.comsol.com/blogs/using-the-help-tools-in-comsol-multiphysics-for-modeling-guidance/">the help tools included in the COMSOL Multiphysics® software</a>. You can access additional resources on the COMSOL website, including the COMSOL Blog, Video Gallery, Application Gallery, Discussion Forum, Model Exchange, and Support Knowledge Base. In this blog post, we discuss these resources and point you to a video that shows how to use these tools for software and modeling guidance.</p>
<p><span id="more-202091"></span></p>
<h3>The COMSOL Blog</h3>
<p>If you are reading this post, you most likely already know how useful of a resource <a href="https://www.comsol.com/blogs/">the COMSOL Blog</a> can be. If this happens to be your first visit and you are a new reader, welcome to the blog! Whether you are a new user of COMSOL Multiphysics, are familiar with the software, or are looking for more information on multiphysics modeling and simulation, the COMSOL Blog contains a plethora of content that caters to your needs.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/01/COMSOL-Blog-feed.png" title="" alt="A screenshot of the COMSOL Blog feed." width="868" height="887" class="alignnone size-full wp-image-202131" /><br />
<em>The COMSOL Blog (how meta!)</em></p>
<p>We publish new blog posts here multiple times per week. These posts cover a wide variety of topics, from the COMSOL® software to interesting news in the science and engineering community. We have covered frequently asked questions from COMSOL Multiphysics users, modeling strategies for different types of physics, how industry leaders use multiphysics simulation for innovative product development, and even the science and physics behind effects observed in the real world.</p>
<p>On the top-right corner of this (and any other) blog post, you can click on the <em>Get New Posts by Email</em> button to subscribe to the blog. This enables you to stay up to date with every new post.</p>
<p>We encourage you to discuss the information you find on the blog with colleagues and peers by using the <em>Comment</em> section found at the bottom of every post. Note that you will need a COMSOL Access account to post a comment.</p>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_embed wistia_async_k5c0ghhl2o playerPreference=html5 seo=false wmode=transparent" style="height:281px;position:relative;width:500px">&nbsp;</div>
<p><em>Post a comment sharing your thoughts about the blog post.</em></p>
<h3>The COMSOL Video Gallery</h3>
<p>Another valuable resource on our website is <a href="https://www.comsol.com/videos">the COMSOL Video Gallery</a>, which includes over 200 videos. Similar to the blog, this space is also updated with new content on a regular basis. These videos are especially helpful if you happen to be a visual learner.</p>
<blockquote><p>Many of the videos in the Video Gallery can also be viewed on <a href="https://www.youtube.com/comsol">the COMSOL YouTube channel</a>.</p></blockquote>
<p>There are several types of videos in the Video Gallery that serve different purposes, the most prominent being instruction. These videos include tutorials, model demonstrations, and archived webinars. Our tutorials, both individual videos and tutorial series, cover core functionality topics and modeling processes &mdash; many of which are applicable regardless of your field.</p>
<p>Each tutorial video includes:</p>
<ul>
<li>An introduction to the topic</li>
<li>An overview of what you will learn</li>
<li>Applications and use cases</li>
<li>A step-by-step, detailed demonstration of the topic</li>
<li>A summary of the key facts and points to remember</li>
<li>Next steps you can take</li>
</ul>
<p>Model demonstration videos offer a broader overview of simulation for certain application areas and show how easy it is in the COMSOL® software. Archived webinar videos feature recordings of previously aired online seminars conducted by COMSOL staff and include a software demonstration.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/01/Featured-Videos-COMSOL.png" title="" alt="A screen capture showing the COMSOL Video Gallery, with tutorial videos on postprocessing in COMSOL Multiphysics®." width="956" height="511" class="alignnone size-full wp-image-202141" /><br />
<em>A small portion of the Video Gallery, featuring some of our postprocessing tutorial videos.</em></p>
<p>Product overview videos, also available to watch in the Video Gallery, teach you about the products we offer and special features of the add-on modules. While product overview videos inform you of the potential of what you can do in the software, the user perspective videos show you how other people use it. These videos highlight the breadth and depth with which COMSOL® software users combine their knowledge and expertise with the power of multiphysics simulation to further innovate technology and product development.</p>
<h3>The Application Gallery</h3>
<p>Just as the COMSOL Blog is a great place to learn by reading and the Video Gallery is a great place to learn by watching, the <a href="https://www.comsol.com/models">Application Gallery</a> enables you to learn through practice. This part of the website contains over 800 models, spanning every engineering discipline and industry. Whether you are developing an electrical, mechanical, fluid flow, heat transfer, or chemical application, you can search the gallery and find relevant tutorial models.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/01/COMSOL-Application-Gallery-page.png" title="" alt="An image showing part of the Application Gallery, one of the many COMSOL website resources." width="861" height="796" class="alignnone size-full wp-image-202151" /><br />
<em>Examples of tutorial models included in the Application Gallery.</em></p>
<p>Besides downloading these models, you can also access accompanying documentation that provides detailed background context and insight. By logging into your COMSOL Access account, you can download model files and documentation from the Application Gallery.</p>
<p>Many of the tutorials and demo apps in the Application Gallery can also be found directly in the product via the Application Library.</p>
<h3>The Discussion Forum</h3>
<p>As a follow-up to how the Application Gallery fosters learning through practice, <a href="https://www.comsol.com/community/forums/">the Discussion Forum</a> provides a space where you can connect with other COMSOL Multiphysics users and get their insight on various topics. The forum is a place to communicate with other software users in the multiphysics simulation community regarding topics of interest, formulating problems, new and alternative modeling approaches, modeling challenges, and other modeling and simulation topics.</p>
<p>Whatever the case or question may be, this platform serves as a great place for you to discuss ideas with peers. Although you are free to view and read through forum threads and posts, in order to take part in the conversation, you need to log into your COMSOL Access account.</p>
<h3>The Model Exchange</h3>
<p>The <a href="https://www.comsol.com/community/exchange/">Model Exchange</a> is another community-oriented outlet where COMSOL Multiphysics users can share and exchange ideas. Through this platform, you can share models and papers as well as access those created by other users. Similar to the blog, each entry can be discussed through the <em>Comment</em> section on the page. Again, if you are logged into your COMSOL Access account, you can download entries or post comments.</p>
<h3>The Support Knowledge Base</h3>
<p>Another resource available online through the COMSOL website is the <a href="https://www.comsol.com/support/knowledgebase/">Support Knowledge Base</a>. This space contains solutions, background information, and examples for FAQs about the software. These topics include, for instance, issues when installing a COMSOL® product, how to reference the simulation software in research papers and publications, and error messages while working in the software.</p>
<h3>Next Step: Watch a Video on Using the COMSOL Website Resources</h3>
<p>Whatever your preferred learning style &mdash; whether it&#8217;s reading, watching, practicing, or discussing &mdash; we try to provide you with resources that cater to your needs. Next, watch a tutorial video to see how to access each resource on the COMSOL website and learn how they can be useful to you.</p>
<div class="flex-center">
<a href="/video/using-the-software-and-modeling-help-resources-from-comsol" class="btn-solid btn-md btn-green">See How to Access the COMSOL Resources</a>
</div>
<p>As we mentioned earlier, although you are free to search and view all of the above resources, we encourage you to create a COMSOL Access account. This will enable you to take full advantage of all that they have to offer. To create an account, you can go to the <a href="https://www.comsol.com/access/">COMSOL Access page</a>. Then, join the discussion below! What is <em>your</em> favorite COMSOL resource to use?</p>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/using-the-comsol-website-resources-for-modeling-and-software-help/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using the Help Tools in COMSOL Multiphysics® for Modeling Guidance</title>
		<link>https://www.comsol.no/blogs/using-the-help-tools-in-comsol-multiphysics-for-modeling-guidance/</link>
		<comments>https://www.comsol.no/blogs/using-the-help-tools-in-comsol-multiphysics-for-modeling-guidance/#comments</comments>
		<pubDate>Tue, 10 Jan 2017 20:30:42 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Modeling Tools]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=200011</guid>
		<description><![CDATA[The COMSOL Multiphysics® software helps you find solutions to your engineering questions, but you may also have questions on using the simulation software itself. Therefore, we&#8217;ve created resources to guide your modeling process. In this blog post, we discuss three help tools that you can access in COMSOL Multiphysics: the Help window, Documentation window, and Application Library. We also link to a video that shows you how to access and use these tools at the end of this post. The [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The COMSOL Multiphysics® software helps you find solutions to your engineering questions, but you may also have questions on using the simulation software itself. Therefore, we&#8217;ve created resources to guide your modeling process. In this blog post, we discuss three help tools that you can access in COMSOL Multiphysics: the Help window, Documentation window, and Application Library. We also link to a video that shows you how to access and use these tools at the end of this post.</p>
<p><span id="more-200011"></span></p>
<h3>The Help Window</h3>
<p>When setting up a simulation in COMSOL Multiphysics, you may want to seek out more information on the software as you go. Whether it&#8217;s learning about a node in the model tree, the settings for an operation you&#8217;re currently working in, or the differences between a set of options you are choosing from and what they will mean for your model, it&#8217;s helpful to have guidance available at your fingertips. This is the convenience that the Help window in COMSOL Multiphysics provides.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/01/The-Help-window.png" title="" alt="An image showing the Help window, one of the many help tools in COMSOL Multiphysics®." width="1000" height="563" class="alignnone size-full wp-image-200031" /><br />
<em>The Help window, displaying topic-based content for the Electric Potential boundary condition.</em> </p>
<p>The Help window, accessed by clicking the Help button in the top right-hand corner of the software (the blue question mark) or the F1 key on your keyboard, enables you to promptly access information pertaining to the model tree node or window in which you are currently working. The text that displays updates automatically as you select items in the software or add settings to your model. This enables you to instantly get help right when you need it.</p>
<p>Since this window appears in the COMSOL Desktop® when opened, you can access the information you need without having to compete for screen space with your simulation. Instead of having to fit multiple windows on your monitor, you are able to view the help content and Model Builder together.</p>
<p>Additionally, you can search and navigate the text in the Help window using the respective buttons.</p>
<h3>The Documentation Window</h3>
<p>In addition to receiving topic-based help, there may be times when you want to more easily access, navigate, and search all of the comprehensive COMSOL Multiphysics documentation. This includes the user guides and manuals for any modules for which you have a license. You can find this documentation in the Documentation window, which you can access either from within COMSOL Multiphysics, by going to File &gt; Help, or externally from your computer in your COMSOL Multiphysics installation folder.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/01/Documentation-window.png" title="" alt="A screenshot showing the Documentation window." width="1000" height="665" class="alignnone size-full wp-image-200051" /><br />
<em>The Documentation window, with the</em> AC/DC Module User&#8217;s Guide <em>opened.</em></p>
<p>The Documentation window enables you to quickly and easily access your entire library of COMSOL Multiphysics documentation, all within a single window. When open, you can choose between the PDF or HTML version of any guide, manual, or handbook. Additionally, the sections of each individual document are hyperlinked and bookmarked. The sections are displayed on the left side of the window, as shown above. This enables you to quickly jump between different chapters and documents.</p>
<p>This resource also provides more options when it comes to searching through the software documentation. This includes the ability to search through the entire library, only within a specified set of documents you have preselected, or exclusively through the Application Library Manual for all licensed products. Searching the Application Library Manual, in particular, enables you to find models and applications that demonstrate use of some specific physics, software features, and functionality.</p>
<p>Whereas the Help window provides quick access to documentation while modeling, the Documentation window serves as a more comprehensive resource when you need further clarification and more powerful search tools.</p>
<h3>The Application Libraries Window</h3>
<p>Now you know that you can access information about what you are working on. The ability to access modeling examples relevant to your work is equally as important. These examples enable you to learn how to use the software, examine COMSOL Multiphysics models, and access guidance that you can apply to your own simulations. In the COMSOL® software, the modeling examples can be found in another valuable resource, the Application Libraries window.</p>
<p><img src="https://cdn.comsol.com/wordpress/2017/01/Application-Libraries-window.png" title="" alt="A graphic of the Application Libraries window, showing the Thermal Actuator tutorial model." width="1000" height="682" class="alignnone size-full wp-image-200061" /><br />
<em>The Application Libraries window, with the Thermal Actuator tutorial model selected and displayed.</em></p>
<p>The Application Libraries window, accessed by going to File &gt; Application Libraries, contains hundreds of models and simulation applications, spanning every module and engineering discipline. Using the Search field, you can find applications and models that cover some specific physics or feature that you want to see how you can use. Each entry includes a brief summary of the model; the COMSOL Multiphysics model file; and a PDF document that provides a comprehensive introduction and detailed, step-by-step overview of the model-building process. This provides you with the logic behind how the model is built, why and how boundary conditions are applied, and other useful information that you can use as insight into the models you create.</p>
<p>By following along with any of the tutorial models available, you can experience building a model firsthand. In addition, relevant examples from the Application Libraries can be experimented with and expanded upon, serving as a starting point for your own designs.</p>
<blockquote><p>Tip: The tutorial models and demo applications featured in the Application Libraries are also available online in the <a href="https://www.comsol.com/models">Application Gallery</a>.</p></blockquote>
<h3>Next Step: Watch a Video on Using the Resources and Help Tools in COMSOL Multiphysics®</h3>
<p>Now that we&#8217;ve introduced the help tools available in the COMSOL® software and the advantages they provide, watch our video tutorial covering it all. In the video, we demonstrate how to access and use each of the resources discussed above.</p>
<div class="flex-center">
<a href="/video/using-the-help-tools-and-resources-in-comsol-multiphysics" class="btn-solid btn-md btn-green">Learn About the COMSOL® Software Help Tools</a>
</div>
<p>After you&#8217;ve finished watching the video, you&#8217;ll be ready to use all of the help tools and resources available to you in COMSOL Multiphysics.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/using-the-help-tools-in-comsol-multiphysics-for-modeling-guidance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Efficiently Assign Materials in Your COMSOL Multiphysics® Model</title>
		<link>https://www.comsol.no/blogs/efficiently-assign-materials-in-your-comsol-multiphysics-model/</link>
		<comments>https://www.comsol.no/blogs/efficiently-assign-materials-in-your-comsol-multiphysics-model/#comments</comments>
		<pubDate>Tue, 20 Sep 2016 21:01:10 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Geometry]]></category>
		<category><![CDATA[Materials]]></category>
		<category><![CDATA[Technical Content]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=183381</guid>
		<description><![CDATA[To optimize your modeling processes, there are a number of built-in materials available for you to use in the COMSOL Multiphysics® software. Along with these materials are features and functionality that allow you to efficiently assign materials to geometric entities in your model. These tools help expedite the process of assigning materials, specifying material properties, and even comparing the impact of different materials on your simulation results. Here, we&#8217;ll highlight three tutorial videos that showcase how to use such tools. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>To optimize your modeling processes, there are a number of built-in materials available for you to use in the COMSOL Multiphysics® software. Along with these materials are features and functionality that allow you to efficiently assign materials to geometric entities in your model. These tools help expedite the process of assigning materials, specifying material properties, and even comparing the impact of different materials on your simulation results. Here, we&#8217;ll highlight three tutorial videos that showcase how to use such tools.</p>
<p><span id="more-183381"></span></p>
<h3>Conduct Material Sweeps to Automate Comparing Materials</h3>
<p>When assigning materials to your model geometry, you may want to experiment with a few options and see how different materials affect your simulation results. In COMSOL Multiphysics, you can automate this process via the <em>Material Sweep</em> parametric study and <em>Material Switch</em> feature. As such, you do not need to add several materials one at a time and compute for the corresponding solution. In addition to saving you time during model set up, this facilitates the comparison of results during postprocessing.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/09/Switching-between-results-in-material-sweep.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/09/Switching-between-results-in-material-sweep.png" title="Switch functionality" alt="Switching between different simulation results based on the material." width="1000" height="463" class="alignnone size-full wp-image-183431" /></a><br />
<em>Screenshot from the material sweeps video, showcasing the ability to switch between different results based on the material.</em></p>
<p>The Material Switch node houses the materials that you want to sweep over and provides functionality to automatically switch materials while your model is solving.</p>
<p>In the five-minute tutorial video below, we outline the procedure for performing a material sweep in your model and then walk you through the steps for doing so. This includes adding a Material Switch node; specifying parts of the geometry that the material sweep will be applied to; selecting the materials to switch between; adding the Material Sweep parametric study; and finally postprocessing the sweep&#8217;s results. We also briefly discuss how you can customize the materials being swept over as well as how to easily toggle between different sets of results obtained from your material sweep.</p>
<h4>Video Tutorial: How to Sweep and Compare Materials in COMSOL Multiphysics</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_jubpqwditn seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/jubpqwditn/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Easily Define Material Properties Using Material Functions</h3>
<p>As mentioned earlier, COMSOL Multiphysics features a large collection of built-in materials that are available regardless of which modules you hold a license for. Upon adding any of these materials to your model, you will notice that the material properties are provided with certain default values. </p>
<p>In some cases, material properties are constant. In other cases, they may vary in space or be dependent on a physics variable such as temperature. If you want to make a constant material property variable, or if the built-in variation is not what you want to use, you can define your own function. In COMSOL Multiphysics, there are three types of functions that you can use to define a material property: <em>Interpolation</em>, <em>Analytic</em>, and <em>Piecewise</em> functions.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/09/Interpolation-function-data-table-and-plot.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/09/Interpolation-function-data-table-and-plot.png" title="Interpolation function" alt="Screenshot showing a data table and plot for an Interpolation function in COMSOL Multiphysics." width="991" height="574" class="alignnone size-full wp-image-183441" /></a><br />
<em>Data table and plot for an Interpolation function.</em></p>
<p>Interpolation functions are used to define a material property through reading in data from a table or file that contains values of the function at discrete points. You can enter this data manually or import it from an external file. This is useful when you have material properties that are obtained from experiments. COMSOL Multiphysics will automatically evaluate and then generate a function that fits the data you provide. Then, you can also choose how the function interpolates between the measured values or extrapolates outside of your specified range of data.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/09/Analytic-function-input-fields-and-plot.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/09/Analytic-function-input-fields-and-plot.png" title="Analytic function" alt="The input fields and plot for an Analytic function." width="986" height="567" class="alignnone size-full wp-image-183451" /></a><br />
<em>Input fields and plot for an Analytic function.</em></p>
<p>Analytic functions are used to define a function using built-in mathematical functions or other user-defined functions. You can enter an expression, specify the input arguments, and define the value range for each of the arguments in your equation.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/09/Piecewise-function-settings.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/09/Piecewise-function-settings.png" title="Piecewise function" alt="Settings for a Piecewise function, one of the functions that can be used to define a material property in COMSOL Multiphysics." width="354" height="566" class="alignnone size-full wp-image-183461" /></a><br />
<em>Settings for a Piecewise function.</em></p>
<p>Piecewise functions are used to define a material property using different expressions over different intervals. The start and end point for each set of values, as well as the function applicable to that interval, can be entered manually or imported from an external file. The intervals that you define cannot overlap and there cannot be any holes between the intervals. That way, you have a continuous function uniquely defined in terms of the independent variable.</p>
<p>In the following seven-minute tutorial video, we discuss how to create and define Interpolation, Analytic, and Piecewise functions for any material property in your model, the advantages of using each type, and best practices to keep in mind when creating them. We also go over the settings for each function type, demonstrate how the selection of options such as <em>Extrapolation</em> will change your data plot, and show how you can call out your function in the <em>Material Contents</em> table.</p>
<h4>Video Tutorial: Use Functions to Define a Material Property</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_1czpkwrar4 seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/1czpkwrar4/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Utilize Global Materials and Material Links for Multiple Components</h3>
<p>While creating a model in COMSOL Multiphysics, you will at some point need to identify the materials that your objects are made of. Normally, this requires completing a series of steps in which you open the Add Material or Material Browser windows; choose the material; select and add it to your component; and then go into the material node&#8217;s settings to select the parts of the geometry to which the material applies. You would then need to repeat this procedure for each unique material that you want to include in your simulation. In COMSOL Multiphysics, you can expedite the above process using global materials and material links.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/09/Global-materials-and-material-links-functionality.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/09/Global-materials-and-material-links-functionality.png" title="Global materials and material links" alt="Screenshot showing the use of global materials and material links functionality." width="699" height="632" class="alignnone size-full wp-image-183471" /></a><br />
<em>Screenshot displaying use of the global materials and material links functionality.</em></p>
<p>When a material is added under the <em>Global Materials</em> node, it is available to use anywhere throughout the model. Further, global materials can be used for any geometric entity level, whether you assign them to domains, boundaries, edges, or points.</p>
<p>Material links are used locally under a component&#8217;s material node to refer to a global material. This is advantageous when you have a COMSOL Multiphysics file that contains multiple components that are made up of similar materials, as you only need to specify the material once under the Global Materials node and can then link to it under each individual component. It is also beneficial for models in which the same material is assigned to different geometric entity levels such as domains and boundaries. In this case, you would again only need to add the material once and could also add a separate <em>Material Link</em> node for each geometric entity type.</p>
<p>In the six-minute tutorial video below, we show you how to use the global materials and material links functionality. We begin by demonstrating how to add global materials to your model and discuss the differences between adding materials globally and locally. Then, we walk through the steps of how to add material links to your model components and assign them to the geometry. After watching this video, we encourage you to try out this functionality yourself and see firsthand the ease with which you can assign materials in a model that contains multiple components or when you want to use the same materials on multiple parts.</p>
<h4>Video Tutorial: Use the Same Material for Multiple Components in COMSOL Multiphysics</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_11ezc8dizt seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/11ezc8dizt/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Efficiently Define the Materials Used in Your Simulation Studies</h3>
<p>You can significantly expedite the process of assigning materials to your model geometry using the features and functionality discussed here. To complement these tools, we&#8217;ve created instructional videos to help you learn how to utilize them in your own simulations. Whether you have a model file that involves multiple components, need to define a complicated material property, or have to test different materials in your simulation, COMSOL Multiphysics features built-in tools that make this process simpler and more efficient for you. </p>
<h3>Browse Additional Tutorial Videos Relating to Materials</h3>
<ul>
<li>To learn more about specifying and defining materials in your COMSOL Multiphysics models, watch this introductory video series: <a href="https://www.comsol.com/video/materials-comsol-multiphysics-models">How to Use Materials in Your COMSOL Multiphysics Models</a></li>
<li>Head over to our Video Gallery to check out other videos on the topic of <a href="https://www.comsol.com/videos?workflow%5B%5D=workflowstep-materials&amp;sortOrder=&amp;s=">material-based features and functionality</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/efficiently-assign-materials-in-your-comsol-multiphysics-model/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Streamline Your Simulation Workflow with Named Selections</title>
		<link>https://www.comsol.no/blogs/streamline-your-simulation-workflow-with-named-selections/</link>
		<comments>https://www.comsol.no/blogs/streamline-your-simulation-workflow-with-named-selections/#comments</comments>
		<pubDate>Wed, 03 Aug 2016 08:02:46 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Geometry]]></category>
		<category><![CDATA[Technical Content]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs?p=174991</guid>
		<description><![CDATA[When you are creating a model, it can sometimes be difficult to keep track of all the parts in the geometry, including the conditions or constraints that apply to each section. This is especially true when dealing with large, complex geometries and multiple physics interfaces. In COMSOL Multiphysics, tools like named selections help maintain your model setup and streamline your workflow. Here&#8217;s a look at three tutorial videos demonstrating how to create and utilize Explicit, coordinate-based, Boolean, and adjacent selections. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>When you are creating a model, it can sometimes be difficult to keep track of all the parts in the geometry, including the conditions or constraints that apply to each section. This is especially true when dealing with large, complex geometries and multiple physics interfaces. In COMSOL Multiphysics, tools like named selections help maintain your model setup and streamline your workflow. Here&#8217;s a look at three tutorial videos demonstrating how to create and utilize Explicit, coordinate-based, Boolean, and adjacent selections.</p>
<p><span id="more-174991"></span></p>
<h3>Expedite Your Model Setup with Explicit Selections</h3>
<p>At virtually every step of the model creation process, you need to select and apply materials, physics boundary conditions, and other settings to your model geometry. As mentioned above, overseeing the administration of these settings can be challenging, whether you are working with a simple or complicated geometry. In COMSOL Multiphysics, one tool that you can use to organize your model geometry and thus alleviate such issues are <em>Explicit</em> selections.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/08/explicit-selection-COMSOL-Multiphysics.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/08/explicit-selection-COMSOL-Multiphysics.png" title="Explicit selections" alt="Screenshot showing the Explicit selection option in COMSOL Multiphysics." width="994" height="560" class="alignnone size-full wp-image-175031" /></a><br />
<em>Utilizing Explicit selections to organize a model geometry.</em></p>
<p>With Explicit selections, you have the ability to create selections of individual geometric entities. Each selection can contain one or more geometric entities, with the option to rename the selection using a label that reflects the geometry it contains.</p>
<p>There are many advantages to this approach. Instead of referring to different parts of your model geometry by their geometric entity numbers, you can simply refer to them using the selection that displays your customized label and includes the geometric entities you assigned to it. The labeled selections are available for all physics interfaces added to the geometry. This makes it faster and easier for you to apply settings to your model. By preparing Explicit selections in advance, for any applicable node that is open in the Model Builder window, you can choose a particular selection simply by selecting its respective label from the geometry selection drop-down menu.</p>
<p><img src="https://cdn.comsol.com/wordpress/2016/08/explicit-selections-drop-down.png" title="" alt="Image depicting the geometry selection drop-down menu." width="537" height="351" class="alignnone size-full wp-image-175051" /><br />
<em>The geometry selection drop-down menu, with several different Explicit selections shown.</em></p>
<p>As an added bonus, the above approach ensures that you never accidentally omit or include any geometric entities in a selection where they do not belong. Only those entities that are included in the selections when they are originally prepared will have the settings applied to them.</p>
<p>Taking into account the many conveniences that correlate with using Explicit selections, we have created an eight-minute tutorial video that explains how to create and use this selection tool in your own simulation workflow. We also demonstrate how to quickly include multiple geometric entities in a selection via the <em>Select Box</em> and <em>Group by continuous tangent</em> features. The video concludes with a discussion on how Explicit selections can sometimes retain your model setup depending on how the geometry is changed, while highlighting cases where they can be utilized and their overall benefits.</p>
<h4>Video Tutorial: How to Use Explicit Selections to Organize Your Model Setup</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_7wu3iu26ti seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/7wu3iu26ti/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Coordinate-Based Selections: Modify Your Geometry Without Changing Model Settings</h3>
<p>Besides being used to represent different parts of your model geometry, there are other selection tools available in COMSOL Multiphysics that provide additional functionality. Let&#8217;s say, for instance, that you want to run your simulation on several different versions of a geometry, with parts of the geometry removed and new parts added, while keeping all of your model settings the same. Rather than having to go back into the settings for each node in the model tree and reselect any applicable parts of the geometry, you can utilize <em>coordinate-based</em> selections.</p>
<p><em>Cylinder, Ball</em>, and <em>Box</em> selections are just some types of coordinate-based selections that are available. Cylinder selections, for example, are used to create selections of geometric entities that are partially or completely enclosed by a cylinder.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/08/coord-based-image.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/08/coord-based-image.png" title="Cylinder selection" alt="Screen capture depicting a cylinder selection in the Graphics window." width="1280" height="720" class="alignnone size-full wp-image-175081" /></a><br />
<em>Screenshot of a cylinder selection.</em></p>
<p>Similarly, Ball and Box selections are used to create selections of geometric entities that are partially or completely enclosed by a ball or box, respectively. Unlike Explicit selections, each of these tools automatically updates if the geometry in your model changes, regardless of the means by which it changes. Whether modifications are made in the geometry sequence with the addition or removal of geometric entities or whether you&#8217;re importing a new CAD file with a significantly different design, coordinate-based selections will enable you to maintain your model setup. </p>
<p>In our seven-minute tutorial video on coordinate-based selections, we use two components &mdash; one containing a 3D geometry and the other a 2D cross section of that 3D geometry &mdash; to illustrate how to create each selection type. While defining these selections, we provide further details as to why we strongly encourage the use of parameters. The video also discusses the advantages of using coordinate-based selections in your model and how you can change the criteria by which geometric entities are included in your selections. To conclude, we change the geometry of the tutorial by importing a new file that exhibits a slightly different design, allowing us to see if our model assignments and definitions are maintained in spite of the introduced entity.</p>
<h4>Video Tutorial: How to Use Coordinate-Based Selections in Your Model Setup</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_vhqdup56ve seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/vhqdup56ve/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Create Customized Selections of Geometric Entities Using Boolean and Adjacent Selections</h3>
<p>As mentioned earlier, each selection tool in COMSOL Multiphysics boasts different capabilities and functionalities for selecting geometric entities in your model. After learning about Explicit and coordinate-based selections, you may have already started creating a few named selections in your own simulation. But what if you are looking for a way to uniquely combine the selections you&#8217;ve already defined to create additional, even more useful selections of your model&#8217;s geometry? <em>Boolean</em> and <em>adjacent</em> selections are the ideal tools for doing so.</p>
<p>Boolean selections consist of <em>Complement, Difference, Union</em>, and <em>Intersection</em> selections. Each of these tools uses other previously defined selections as the input. With Complement selections, for instance, you can create selections that are the inverse of one or more selections. </p>
<p><a href="https://cdn.comsol.com/wordpress/2016/08/complement-selection.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/08/complement-selection.png" title="Complement selection" alt="Visual representation of a Complement selection in COMSOL Multiphysics." width="1497" height="698" class="alignnone size-full wp-image-175091" /></a><br />
<em>A Complement selection, with the color red representing the inverted selections.</em></p>
<p>Difference selections, meanwhile, give you the ability to create selections of entities that are included in one selection, but not another.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/08/difference-selection-screenshot.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/08/difference-selection-screenshot.png" title="Difference selection" alt="Image highlighting one type of named selection, a Difference selection." width="1496" height="697" class="alignnone size-full wp-image-175101" /></a><br />
<em>A screenshot of a Difference selection, which displays the geometric entities added and removed in the </em>Input Entities<em> sections.</em></p>
<p>Say you want to unite two or more selections into a single selection. With a Union selection, you can do exactly that.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/08/union-selection-multiphysics-modeling.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/08/union-selection-multiphysics-modeling.png" title="Union selection" alt="Screenshot depicting a Union selection being applied in COMSOL Multiphysics." width="1495" height="694" class="alignnone size-full wp-image-175111" /></a><br />
<em>A screenshot showing a Union selection. Note that the input entities are identical to that of the Intersection selection.</em></p>
<p>Lastly, Intersection selections give you the option to create selections of any entities that are included in all of the input selections.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/08/intersection-selection.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/08/intersection-selection.png" title="Intersection selection" alt="Screen capture displaying an Intersection selection." width="1495" height="695" class="alignnone size-full wp-image-175121" /></a><br />
<em>A screenshot depicting an Intersection selection. Note that the input entities are identical to that of the Union selection.</em></p>
<p>Like Boolean selections, adjacent selections also use other predefined selections as the input. This selection tool enables you to create selections of geometric entities that are touching other selections. Additional functionality allows you to choose between selecting interior or exterior geometric entities adjacent to the geometry that are included in the input selections you specify.</p>
<p><a href="https://cdn.comsol.com/wordpress/2016/08/adjacent-selection.png" target="_blank"><img src="https://cdn.comsol.com/wordpress/2016/08/adjacent-selection.png" title="Adjacent selection" alt="Image depicting the Settings and Graphics window for an Adjacent selection." width="1495" height="694" class="alignnone size-full wp-image-175131" /></a><br />
<em>An adjacent selection, with the capability to toggle on selecting external boundaries showcased.</em></p>
<p>By utilizing Boolean and adjacent selections in your model setup with any of the other selection tools mentioned above, the possible combinations of selections to create, including the geometric entities of your choice, are infinite. This enables you to quickly and easily create unique selections of your model geometry, applying the definition that you would like. Similar to coordinate-based selections, Boolean and adjacent selections also update automatically, regardless if the changes made to the design are minor or major.</p>
<p>In the ten-minute tutorial video shown below, we define Boolean and adjacent selections and specify the means by which they select geometric entities. We also show you how to create each selection type, discuss their advantages in terms of the flexibility they provide, and explain why we encourage you to change the label of the selections as you define them. Near the end of the video, after assigning some definitions to a few of the selections, we change the geometry by importing a different file and then proceed to examine the changes, if any, that need to be made in order to preserve the geometry included in each of the defined selections, as well as the settings assigned to them.</p>
<p><H4>Video Tutorial: Using Boolean and Adjacent Selections in COMSOL Multiphysics®</H4></p>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_zewk2hos9q seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/zewk2hos9q/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Easily Navigate Your Modeling Sequence with Named Selections</h3>
<p>In COMSOL Multiphysics, named selections can be instrumental in simplifying your modeling processes. Such tools allow you to track the model settings applied to your geometry, retain the model settings applied to your selections if the geometry changes, and easily recognize which geometric entities are included in a selection. This not only gives you the ability to more easily navigate your model setup, but it also empowers others, such as your colleagues, to do so as well.</p>
<p>In the three tutorial videos featured here, you will notice that we used the same <a href="https://www.comsol.com/model/parameterized-shell-and-tube-heat-exchanger-geometry-12685">shell and tube heat exchanger tutorial model</a>. It is our hope that by demonstrating how to create each selection type on a single model, you will not limit yourself to only utilizing any one selection tool in your own modeling processes. By combining such tools, you can optimize the overall efficiency of your simulation, achieving fast and accurate results.</p>
<h3>Browse Additional COMSOL Multiphysics Tutorial Videos</h3>
<ul>
<li>Interested in learning how to utilize other features and functionality available in COMSOL Multiphysics? Our <a href="https://www.comsol.com/videos">Video Gallery</a> is home to a plethora of tutorial videos. Browse these resources by simply searching under Core Functionality.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/streamline-your-simulation-workflow-with-named-selections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Navigating the Intuitive COMSOL Multiphysics® Modeling Environment</title>
		<link>https://www.comsol.no/blogs/navigating-the-intuitive-comsol-multiphysics-modeling-environment/</link>
		<comments>https://www.comsol.no/blogs/navigating-the-intuitive-comsol-multiphysics-modeling-environment/#comments</comments>
		<pubDate>Tue, 28 Jun 2016 21:28:49 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Modeling Tools]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs/?p=168701</guid>
		<description><![CDATA[Simulation is a powerful tool that enables you to obtain a holistic view of your design&#8217;s performance. While the physics you are studying may be complex, the environment in which you run such studies doesn&#8217;t have to be. This rationale has served as the logic behind continuously optimizing the user interface (UI) in the COMSOL Multiphysics® software for ease-of-use. Several tutorial videos, three of which are highlighted here, guide you on how to navigate the environment and utilize its tools. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Simulation is a powerful tool that enables you to obtain a holistic view of your design&#8217;s performance. While the physics you are studying may be complex, the environment in which you run such studies doesn&#8217;t have to be. This rationale has served as the logic behind continuously optimizing the user interface (UI) in the COMSOL Multiphysics® software for ease-of-use. Several tutorial videos, three of which are highlighted here, guide you on how to navigate the environment and utilize its tools.</p>
<p><span id="more-168701"></span></p>
<h3>Find the Tools You Need, When You Need Them, in the COMSOL Desktop®</h3>
<p>Creating and solving a simulation requires access to a range of functionality. In COMSOL Multiphysics, the COMSOL Desktop® environment serves as the UI that encompasses all of these elements, with various menus, tools, and windows included in the mix. </p>
<p><img src="https://cdn.comsol.com/wordpress/2016/06/COMSOL-Desktop.png" title="" alt="In the COMSOL Multiphysics modeling environment, the COMSOL Desktop serves as the user interface (UI) that encompasses various tools, menus, and windows to create and solve simulations." width="1000" height="731" class="alignnone size-full wp-image-168761" /><br />
<em>The COMSOL Desktop® environment.</em></p>
<p>Not only does the COMSOL Desktop house all of these important components in one place, but it also organizes them in a way that complements the model creation process. The ribbon across the top of the desktop, as well as the nodes in the Model Builder window, provide you with a clear outline of all the steps that should be taken to build your model from start to finish. These steps include choosing your spatial dimension, creating definitions, building your geometry, assigning materials, defining the physics, creating the mesh, running the simulation, and postprocessing your results.</p>
<p>COMSOL Multiphysics, as we&#8217;ve noted, is a modeling environment that is designed to be both intuitive and user-friendly. In light of this, we have created a short video that provides a guided tour of the COMSOL Desktop to help you get started. Along with showing you how to navigate through the desktop, we also review all of the main windows and toolbars in the software, explaining how they relate to one another and update depending on the operation that is performed.</p>
<h4>Video Tutorial: Using the COMSOL Desktop® Modeling Environment</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_v016y1i9cf seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/v016y1i9cf/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Visualize Various Elements of Your Model with the Graphics Window</h3>
<p>Within the COMSOL Desktop, you will notice the <em>Graphics</em> window. Serving as an integral part of the UI, this window allows you to visualize your simulation&#8217;s geometry, mesh, and results.</p>
<p>The <em>Graphics</em> window itself houses the visual results of your model. The <em>Graphics</em> window toolbar, meanwhile, offers functionality that lets you easily customize your view. You can do so via a row of buttons, each of which include a capability that is represented by a distinct icon. Together, they can be used to achieve different types of graphics, views, images, and perspectives.</p>
<p><img src="https://cdn.comsol.com/wordpress/2016/06/Busbar-tutorial-in-Graphics-window.png" title="" alt="A screenshot of the Graphics window showing the geometry for a busbar tutorial model." width="998" height="696" class="alignnone size-full wp-image-168771" /><br />
<em>Graphics window displaying the geometry for the busbar tutorial model.</em></p>
<p>In a short tutorial video on the <em>Graphics</em> window, we show you all of the mouse movements that you can use to move around and rotate your geometry, as well as zoom in and zoom out. Further, we review the <em>Graphics</em> window toolbar buttons that enable you to perform each of the aforementioned actions, among others, including changing the view of your model as well as hiding, showing, and selecting geometric entities. This video also highlights the dynamic nature of the toolbar and how it updates automatically depending on the spatial dimension of your model component, as well as the node you currently have open.</p>
<h4>Video Tutorial: Using the Graphics Window to Customize Model Visualizations</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_3ps4gvtj9z seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/3ps4gvtj9z/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>Access and Choose Geometric Entities Using the Selection Tools</h3>
<p>One of the predominant, and most important, ways to interact with the visuals in the <em>Graphics</em> window is by selecting geometric entities. This takes place in virtually every step of the simulation workflow. In COMSOL Multiphysics, you will find a plethora of tools that can help you select geometric entities, regardless of the simplicity or complexity of your model&#8217;s geometry.</p>
<p><img src="https://cdn.comsol.com/wordpress/2016/06/Mouse-scroll-wheel-functionality.png" title="" alt="The mouse scroll wheel functionality in COMSOL Multiphysics." width="949" height="688" class="alignnone size-full wp-image-168781" /><br />
<em>Screenshot of the video showcasing the mouse scroll wheel functionality.</em></p>
<p>Being aware of each of the selections tools available in the software can be an asset to you while modeling, as each of them caters to specific modeling cases. The following tutorial video discusses each option for selecting geometric entities, noting the advantages of the different methods. Some examples include using the hover-and-click method in the <em>Graphics</em> window for simple geometries or individual geometric entities; the mouse scroll wheel button to reach interior geometric entities; and the <em>Selection List</em> window for complex geometries.</p>
<h4>Video Tutorial: Selecting Geometric Entities in COMSOL Multiphysics®</h4>
<p><script src="https://fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div class="wistia_embed wistia_async_6rmfvc27ek seo=false videoFoam=true" style="height:100%;position:relative;width:100%">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/6rmfvc27ek/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<h3>COMSOL Multiphysics, an Environment Designed with Users in Mind</h3>
<p>Helping users like you quickly get models up and running in COMSOL Multiphysics is one of our primary goals. Through watching the videos shown above, it is our hope that you can become more aware of and knowledgeable about the features and functionality available in the software &mdash; all of which are designed with the user in mind. By making the simulation environment in which you run your studies easy-to-use, we aim to help you focus on what&#8217;s most important: the simulation study at hand.</p>
<h3>Browse Additional Video Resources</h3>
<ul>
<li>To learn about additional features and functionality available in COMSOL Multiphysics, as well as how to use them, head over to the <a href="https://www.comsol.com/videos">Video Gallery</a> today and browse the Core Functionality topics.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/navigating-the-intuitive-comsol-multiphysics-modeling-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial: Introduction to Modeling Structural Mechanics</title>
		<link>https://www.comsol.no/blogs/video-tutorial-introduction-modeling-structural-mechanics/</link>
		<comments>https://www.comsol.no/blogs/video-tutorial-introduction-modeling-structural-mechanics/#comments</comments>
		<pubDate>Wed, 17 Sep 2014 15:42:45 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[Mechanical]]></category>
		<category><![CDATA[Structural Mechanics & Thermal Stress]]></category>
		<category><![CDATA[Structural Mechanics Module]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs/?p=37117</guid>
		<description><![CDATA[I have great news for anyone who is eager to learn the fundamentals of simulating structural mechanics in COMSOL Multiphysics. We have just published a completely revamped version of our video tutorial on the static bracket model. COMSOL Multiphysics version 4.4 and the Structural Mechanics Module are used to analyze the resultant forces, stresses, and deformations that occur on solid structures that are subjected to external loads. Video: How to Model Structural Mechanics in COMSOL Multiphysics Conducting the structural analysis [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I have great news for anyone who is eager to learn the fundamentals of simulating structural mechanics in COMSOL Multiphysics. We have just published a completely revamped version of our video tutorial on the static bracket model. COMSOL Multiphysics version 4.4 and the Structural Mechanics Module are used to analyze the resultant forces, stresses, and deformations that occur on solid structures that are subjected to external loads.</p>
<p><span id="more-37117"></span></p>
<h3>Video: How to Model Structural Mechanics in COMSOL Multiphysics</h3>
<p>Conducting the structural analysis of a model is an imperative step in the design process. The Structural Mechanics Module, an add-on to COMSOL Multiphysics, offers a virtually limitless amount of capabilities for you to do just that. </p>
<p>This video introduces you to the Structural Mechanics Module and walks you through the entire model-building process for setting up and solving a mechanical problem. This includes demonstrations on how to create parameters, named selections for different parts of your geometry, local variables to implement complicated expressions defined in the model, custom meshes, and tabulated results. To demonstrate the workflow for building and solving a structural mechanics problem, the COMSOL Multiphysics version 4.4 tutorial model of a static bracket assembly is used.</p>
<p>The smallest components, while often overlooked in design, can be the most instrumental ones. Brackets serve as a core component of support for many mechanical devices in numerous industries. In this model, a bracket assembly is fixed in place through eight mounting bolts. A load is applied on the two arms of the bracket, which is representative of a pin being placed between the holes in the bracket arms. As a result, the two bracket holes will experience a loading from this pin. After an initial analysis is complete, the direction of the pin load is varied through a parametric sweep to see the variations in force exertion, stress distribution, and deformation.</p>
<h3>Model Download</h3>
<ul>
<li>Shown in the video: <a href="http://www.comsol.com/model/bracket-tutorial-models-10314">Bracket &#8212; Static Analysis (version 4.4)</a></li>
</ul>
<h3>Video Transcription</h3>
<p><em>Today, we will be learning how to model a structural mechanics problem, in COMSOL Multiphysics. We will conduct a static analysis of a bracket assembly, and in the end, perform a parametric sweep to analyze a bearing load at different angles. So let’s get started.</p>
<p>We start our modeling by opening COMSOL Multiphysics, bringing us to the New window. Here we have two options for setting up our model. Use the Model Wizard as a guide for specifying the dimension, physics, and studies you want, instead of starting with an empty model. Here we select our space dimension. When modeling in Structural Mechanics, we can work in 3D, 2D, or 2D axisymmetry, but not 1D or 0D. With our model being three-dimensional, choose 3D for the space dimension.</p>
<p>We are brought to the Select Physics window in the Model Wizard. Here we can add the physics that our model will exhibit. When it comes to choosing physics, this is completely dependent on the model and what meaningful information you are trying to extrapolate from the results. It is advantageous to familiarize yourself with all the physics interfaces available to you, because you may want to add more physics that are relevant to your model later on. Since we are doing a structural analysis of a 3D solid, we go under the Structural Mechanics branch, select Solid Mechanics, and add it to our model. Click Study to enter the Select Study window.</p>
<p>There are several different types of studies to choose from, as shown, depending on the physics interfaces used within the model. Selection of the study type is completely dependent on your analysis objectives. For example, in the case of our bracket model we want to compute deformations and stresses at static equilibrium; so the properties are time-independent. Therefore, under Preset Studies we select Stationary. After clicking Done, you are brought to the COMSOL Multiphysics desktop.</p>
<p>To create parameters and constants in COMSOL Multiphysics in the ribbon, add Parameters. Here we define the parameters and constants that we’ll be using later in this model, which are stored in this table.</p>
<p>Before we add the parameters let’s take a look at the problem we are modeling to have an understanding of where our parameters are derived from. We have a bracket, where the mounting bolts of the assembly are assumed to be fixed, and securely bonded to the bracket itself.</p>
<p>A pin is placed between the two holes in the bracket arms, and the inner surfaces of the two bracket holes will experience a loading from this pin. We will want to vary the direction of the pin load to see the variations in stress distribution and deformation. After an initial analysis is done with the pin load applied to the bracket holes along the negative </em>y<em>-axis at zero degrees, we will perform a parametric sweep of the pin load direction, starting at 0 degrees, and rotating 45 degrees, up to 180 degrees.  “theta0” will be used to specify the main direction of the load, and will be the parameter used later in our parametric sweep. “P0” is the peak load intensity applied to the bracket holes. Lastly, “y0” and “z0” are the coordinates of the centers of the bracket holes. It’s good practice to use parameters instead of just the numerical values. When you change these global parameters, they will update throughout the entire model.</p>
<p>Creating a geometry in COMSOL Multiphysics can be done three different ways. The geometry can be manually created within COMSOL, it can be imported from a file, or you can synchronize the geometry you have open in a CAD program to COMSOL, through any of the LiveLink interfaces. In this example, the assembly of both the bracket and mounting bolts, are available to be imported. In the Geometry section of the ribbon, click Import. Change the Geometry import type to COMSOL Multiphysics file and Browse to where the “bracket.mphbin” file is stored on your computer. This should be located in your COMSOL folder under models, Structural Mechanics Module, and then Tutorial Models. Select the file, click Import, and the geometry will appear in your graphics window.</p>
<p>In the Model Builder Window, under the Geometry node, you can see the Form Union node which is the default setting for finalizing your geometry into COMSOL Multiphysics. Since we are dealing with a set of domains that are assumed to be perfectly bonded to each other, and will not move relative to each other, we use the default Form Union to finalize the geometry. Click Build All.</p>
<p>Creating definitions in COMSOL Multiphysics will help simplify your model, especially when working with large and or complicated geometries. Let’s take a look at a few of the options.</p>
<p>Go to the ribbon, and under the Definitions tab, in the Selections section, add a Box. Box selections allow you to create groups of geometric entities partially or completely inside the box, that would have the same features applied to them. This makes the process of changing materials, model equations, boundary conditions or constraints to different parts of your model much easier to do. In this example we want to make two box selections: the first is for the bolt domains, and the second is for the load-bearing boundaries of the bracket holes.</p>
<p>In the Box settings window find the Box Limits section. Here we can change the limit values which will serve as the dimensions of the box. We want to change these limit values so that the bolts are contained within the box. Under the Output Entities section, in the Include entity if list, choose Entity inside box.</p>
<p>Click the Wireframe Rendering button on the Graphics toolbar and we see in fact that the bolt domains are selected.</p>
<p>We can add a second box, or a cylinder selection to select the bracket hole boundaries, but we will instead add an explicit selection. From the level list, choose Boundary, in the graphics window, select any one of the interior boundaries of one of the bracket holes. Now we can check the box for Group by continuous tangent, and the rest of the interior boundaries will automatically be selected. In the graphics window, select any one of the boundaries of the other hole, and all four of the boundaries will be added.</p>
<p>Now that we’ve added selections to our model, we can define expressions for adding the boundary load. Local Variables can be used to introduce short and descriptive names for the complicated expressions defined in the model. Go to the ribbon and under the Definitions tab click Local Variables. In the table to define the load, we need an expression for the angle and load intensity, so we enter the following. The angle variable is used to help define the load intensity. This expression evaluates the radial angle, based on its position along the global </em>z<em>-coordinate. Since our loading direction will change in only in the </em>y<em> and negative </em>z<em> directions; or equivalently the 3<sup>rd</sup> and 4<sup>th</sup> Cartesian quadrants, we can have COMSOL Multiphysics solve for the angle, by computing the four-quadrant inverse tangent. This enables calculating the arctangent in all four quadrants. The load that the bracket holes experience will be sinusoidal in nature, so the sine function is used. This last part of this expression is added to make sure that the load is only applied to the bottom half of each bracket hole.</p>
<p>COMSOL uses a global Cartesian coordinate system by default to specify material properties, loads, and constraints in all physics interfaces and on all geometric entity levels. For this model we want to define the orientation of the load applied to the bracket holes. Since the load direction will be rotating about the negative </em>z<em>-axis, we need to create a rotated coordinate system. In the Coordinate Systems section of the ribbon, choose Rotated System. This creates a rotated coordinate system, relative to the global system, that defines the orientation of the load applied to the bracket holes. Under the Euler angles subsection, in the beta field type “-theta0”.</p>
<p>COMSOL Multiphysics comes with a Material Browser, complete with built-in material properties for common materials, as well as materials for specific applications, and any materials created by you, the user. The addition of the Material Library grants users access to the entire COMSOL Multiphysics database of materials. Under the Built-In node, scroll down to select Structural Steel, click Add to Component, and we are done. The material has been automatically assigned to all domains. Here we can see the properties of the newly assigned material. You are free to create your own materials using the New Material function, and you can also use the Add Material button to stay within the main user interface.</p>
<p>Defining the physics and boundary conditions in COMSOL is made as easy as possible, to let you focus on what matters, the physics. To start go to the ribbon and click the Physics tab. Each selection level comes with the various physical properties that can be applied. You can learn about each physical property by adding it, and clicking the Help button in the top right corner of the window.</p>
<p>We first want to set the constraints acting on the structure. Since the mounting bolts are fixed in place, click on the Domains button and add a Fixed Constraint. Under the Domain Selection section from the Selection list, choose Box 1. This assumes that the bolts are rigid and the displacements are perfectly constrained. Next, we want to define the loads acting on the structure. Since the inner surfaces of the bracket holes experience the pin load, in the Physics tab, click the Boundaries button and choose Boundary Load. Choose Explicit 1 for the Selection. Under the Coordinate System Selection section, from the Coordinate System list, choose Rotated System 2, setting the load orientation with a value of “theta0”. Under the Force section, specify the Load vector with the following.</p>
<p>Whenever building a finite element model, we may want to customize the mesh if we anticipate that higher accuracy is needed in some parts of the model. Although we can solve this model with the default mesh, I will demonstrate how to use the mesh settings to get a finer mesh in some regions. In the ribbon, go to the Mesh tab and select Mesh 1. This shows the bracket geometry with the default Normal mesh applied. Although the elements appear as having straight sides, the default mesh used for solid mechanics problems is a second order, or quadratic, mesh. This means that the elements are conformal to the curved geometry.</p>
<p>We will create a second mesh and customize the mesh via the Element size parameters. Click the Add Mesh button. In the Mesh settings window, change the sequence type to User-controlled mesh. This will generate a Size sub node under our second Mesh. Click the Size node. Under the Element Size section, click on Custom. This automatically expands the Element Size Parameters window where the element parameters can be changed. Reducing the Curvature factor to “0.3″ and rebuilding the mesh, results in a finer mesh around the bracket holes. Rotating the geometry, and zooming in on a bolt, we can see the mesh is quite coarse around these small curved faces. The Minimum element size parameter is preventing the changes from the curvature factor. Reduce it to “0.005″ and rebuild the mesh. The elements around the curved edges are now smaller, but the bulk of the geometry remains relatively unchanged.</p>
<p>You can continue to refine the mesh manually if you want. It is also possible to use Adaptive Mesh Refinement to let the software automatically refine and coarsen the mesh, if desired. For the purposes of this example, we will continue with the default Normal mesh size setting.</p>
<p>We continue our simulation with creating a mesh using the default options. Go to the ribbon and in the Home tab, click Build Mesh. Then, in the Study section, click on the eye glasses icon labeled Study 1. Notice the Generate default plots check box. This will create a plot automatically, based on the structural mechanics physics, so in this case, a Stress plot will be created. To solve a stationary study in COMSOL, it is as simple as clicking Compute. COMSOL Multiphysics also defines a solver sequence for the simulation based on the physics and the stationary study type.</p>
<p>After a model has solved in COMSOL, it is time to postprocess the results. We will show you how to add to an existing plot, create a new plot, and extract information from the results.</p>
<p>Here we see the von Mises stress in the bracket and an exaggerated picture of the deformation, which is occurring mostly in the bracket arms. We also want to visualize the plot with vectors, so we can better see the pressure distribution on the inner surfaces of the bracket holes. Under the contextual Stress tab, in the Add Plot section click Arrow Surface. In the Arrow Surface settings window you’ll see an Expression section. From the menu choose Solid Mechanics, Load, and then Spatial load. In the Coloring and Style section, under Number of arrows, the default setting is 200. Increasing the number of arrows will give you a larger volume of arrows that are smaller in size, but heavier in concentration, which allows you to better visualize the load on the bracket holes. Go ahead and experiment with the number to see this yourself. Three thousand seems to give a quality visual. You can now see the load that was applied is displayed.</p>
<p>In this model we’ll also be interested in any displacement that occurs within the bracket geometry. To make a plot showing this, go to the ribbon and in the Results tab under Plot Group, click 3D Plot Group. This will open the newly generated 3D Plot Group 2 contextual tab in your ribbon. In the Add Plot section, click on Surface. The plot for the total displacement experienced by the bracket is automatically generated. Go to the ribbon, and under the Results tab you’ll see different dimensional types for plot groups. In this example we stick to two plot groups, but you are virtually limitless as you can make as many 3D, 2D or 1D plot groups you want for any type of visualization desired.</p>
<p>Because the mounting bolts are fully constrained, use a volume integration over those domains to accurately calculate the reaction forces. On the Results tab, click More Derived Values and choose Integration, Volume Integration. In the Volume Integration settings window, locate the Selection section and from the Selection list, choose Box 1 to add the bolts. Click Replace Expression here in the upper-right corner of the Expression section, and from the menu choose Solid Mechanics, Reactions, Reaction Force, and the </em>x<em> component of the reaction force. Click the Evaluate button. Let’s do this again for the </em>Y<em> and </em>Z<em> components as well. To save time you can edit the expression, in this case, by changing the component letter.</p>
<p>Click Evaluate and the results are shown in Table 1 under the Graphics window. They match what we would expect them to be; the entire load is in the </em>y<em> direction while negligible in the </em>x<em> and </em>z<em> directions.</p>
<p>It’s often necessary to solve several iterations of a model to find the optimal properties for its design. Instead of manually changing parameter values, and resolving each time, a parametric sweep can be used. A parametric sweep allows you to change the values of a parameter by sweeping the parameter values through a range defined by the user.</p>
<p>Adding a parametric sweep to this model will enable us to solve for different load angles. Go to the ribbon, and in the Study tab, click Parametric Sweep. In the Parametric Sweep window, under the Study Settings section, click the plus sign button to add the load direction as a parameter. To the right of that, click the Range button to define the range for this sweep. We’ll start at zero degrees, and rotate the load forty-five degrees, up to 180 degrees. Click Add and then the Compute button to re-solve the model.</p>
<p>We are automatically brought back to our stress plot. In the 3D Plot Group window, under Data you’ll notice the Parameter value list. Now we have the five different solutions dependent on the angle of the load and can alternate between them by selecting the different values and then clicking Plot.</p>
<p>After performing a parametric sweep, you can create a table that lists the solutions for each parameter value. This way you can view the different solutions all at once. In the Volume Integration 1 node, click Evaluate and then New Table. The reaction forces at the different parameter values are computed. The reaction force in the </em>x<em>-direction is always zero, while the </em>y<em> and </em>z<em> directions share the load, depending on the angle.</em></p>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/video-tutorial-introduction-modeling-structural-mechanics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial: Capacitive Pressure Sensor</title>
		<link>https://www.comsol.no/blogs/video-tutorial-capacitive-pressure-sensor/</link>
		<comments>https://www.comsol.no/blogs/video-tutorial-capacitive-pressure-sensor/#comments</comments>
		<pubDate>Mon, 16 Jun 2014 14:08:33 +0000</pubDate>
		<dc:creator><![CDATA[Amelia Halliday]]></dc:creator>
				<category><![CDATA[Electrical]]></category>
		<category><![CDATA[Mechanical]]></category>
		<category><![CDATA[MEMS & Nanotechnology]]></category>
		<category><![CDATA[MEMS Module]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://com.staging.comsol.com/blogs/?p=33095</guid>
		<description><![CDATA[If you are searching for a tutorial on how to model a miniaturized 3D electromechanics problem, then look no further. We have just published an updated version of our video tutorial on how to simulate a capacitive pressure sensor. COMSOL Multiphysics version 4.4 and the MEMS Module are used to simulate the electrostatic, structural, and thermal physics that occur. Video: Modeling Electromechanics in COMSOL Multiphysics A capacitive pressure sensor is achieved by engineering a circuit such that its capacitance is [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you are searching for a tutorial on how to model a miniaturized 3D electromechanics problem, then look no further. We have just published an updated version of our video tutorial on how to simulate a capacitive pressure sensor. COMSOL Multiphysics version 4.4 and the MEMS Module are used to simulate the electrostatic, structural, and thermal physics that occur.</p>
<p><span id="more-33095"></span></p>
<h3>Video: Modeling Electromechanics in COMSOL Multiphysics</h3>
<p>A capacitive pressure sensor is achieved by engineering a circuit such that its capacitance is dependent on the ambient pressure in which it is operating. In this model, a vacuum cavity serves as the dielectric in a miniature parallel plate capacitor. The cavity is sandwiched between a silicon die and a thin silicon membrane, which is exposed to the ambient atmosphere. Changes in the ambient air pressure induce deflections in the membrane, which alter the distance between the capacitor plates. The capacitance of the device is thus dependent on the ambient pressure and, when connected to suitable circuitry, can be used as the basis for a pressure sensor.</p>
<p>The silicon capacitor is packaged onto a steel base plate using a thermal bonding technique that requires a temperature that is much higher than that at which the sensor is intended to operate. Since silicon and steel have different coefficients of thermal expansion, the capacitor and the base plate contract at different rates as the device cools back down to its operating temperature. This results in mechanical stresses at the interface between the two materials, which can cause additional temperature-dependent deflections of the membrane. In this example, we examine the performance of the pressure sensor both with and without the thermal stresses induced by the packaging. The video demonstrates the importance of considering multiphysics effects when designing <a href="http://www.comsol.com/multiphysics/electromechanical-effects">electromechanical</a> devices.</p>
<div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;">
<div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;">
<div id="wistia_laufbvtj3q" class="wistia_embed" style="width:100%;height:100%;">
<div class="wistia_swatch" style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="https://fast.wistia.com/embed/medias/laufbvtj3q/swatch" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" onload="this.parentNode.style.opacity=1;" title="" /></div>
</div>
</div>
</div>
<p><script charset="ISO-8859-1" src="https://fast.wistia.com/assets/external/E-v1.js"></script><script>wistiaEmbed = Wistia.embed("laufbvtj3q", {  videoFoam: "true"});</script></p>
<h3>Model Download</h3>
<ul>
<li>Shown in the video: <a href="http://www.comsol.com/model/capacitive-pressure-sensor-476">Capacitive Pressure Sensor</a></li>
</ul>
<h3>Video Transcription</h3>
<p><em>Today, we will be simulating a capacitive pressure sensor, both with and without stresses induced by the packaging. The geometry of the sensor is symmetric, so only a single quadrant is modeled. The sensor consists of a thin chamber, sealed under high vacuum, acting as the dielectric in a capacitor. It is separated from the ambient air by a thin membrane, which is electrically isolated from the grounded body of the sensor. We will investigate the deflections of the membrane due to both ambient pressure changes and thermal stresses resulting from a poor choice of package. In both cases, the deflections are detected by measuring a change in the capacitance between the membrane and ground.</p>
<p>To begin, we select the Model Wizard and then choose a 3D Space Dimension. Next, we add the </em>Electromechanics<em> physics interface. From the Preset Studies list, we choose a Stationary study.</p>
<p>The first step is to import some model parameters, which we’ll use to specify variables within the model. Click &#8220;Parameters&#8221; and then select the desired file. Here, you can see there are three imported parameters: &#8220;p0&#8243; is a pressure. This is the ambient pressure at which the device is operating and we have two temperatures: &#8220;T0&#8243;, the ambient temperature at which the device operates, and a reference temperature, &#8220;Tref&#8221;, which is the temperature at which the device is bonded to its package.</p>
<p>Next, the geometry is configured. For convenience, the geometry is imported from an external file. To do this from the Home tab, select &#8220;Import&#8221; and choose the desired file. Here, you can see we’ve imported a pre-made geometry, which is one quarter of the device we are modeling.</p>
<p>To simply the configuration of the physics interface and to aid with postprocessing of the results, it is convenient to now define some coupling components and some geometry selections. Two coupling components have been added. An Average operator, which operates on boundary 12. Boundary 12 corresponds to the underside of the silicon membrane.</p>
<p>So, here we have the silicon membrane, the cavity, and the silicon die. You can see, highlighted in blue, the underside of the silicon membrane. And an Integration operator, which integrates one point. This point is the point where we expect the maximum deflection. It’s right in the center of the underside of the membrane.</p>
<p>We’ve also created a collection of boundaries, which make up the </em>YZ<em>-Symmetry Plane and a collection of boundaries, which make up the </em>XZ<em>-Symmetry Plane. These will be used when specifying the symmetry boundary conditions in the physics interface. All the domains, which make up the steel base, have been selected. This is useful when we assign materials to the model.</p>
<p>An Explicit selection has been used to select the cavity domain. So, this is that vacuum cavity between the silicon membrane and the grounded body of the sensor. A second explicit selection has been used to select all domains and, then, a Difference operator has been used to remove the cavity domain. Leaving a selection, which is everything except for the cavity. This will be useful when assigning the linear elastic material properties later.</p>
<p>Next, we add the physics settings to the model. These include the pressure forces acting on the sensor, the applied voltages, and other appropriate domain and boundary conditions.</p>
<p>First, we add a Linear Elastic Material node to the </em>Electromechanics<em> physics interface. From the Physics ribbon, we select &#8220;Domains&#8221;, &#8220;Electromechanics&#8221;, and &#8220;Linear Elastic Material&#8221;. Here, we can use one of our selections created earlier. We can assign the Linear Elastic Material to the Linear Elastic selection, which encompasses all domains except for the vacuum cavity.</p>
<p>Next, we can apply the symmetry boundary conditions. From the physics ribbon, we select the boundary conditions, and under structural, we choose &#8220;Symmetry&#8221;. For the selection, we simply choose one of the symmetry planes we created earlier. We then repeat the process and select the other symmetry plane we created earlier.</p>
<p>Next, we need to add a Prescribed Displacement to a point on the model. Through the Physics ribbon, we choose from the Points, and from Electromechanics, choose &#8220;Prescribed Displacement&#8221;. You’re going to apply this to point 44 only, which is this corner point here.</p>
<p>The reason we apply this boundary condition is to constrain the position of this geometry in the </em>Z<em>-axis. This will prevent COMSOL from searching for solutions in which the whole geometry is translated arbitrarily up or down the </em>Z<em>-axis. So, to do that, we click &#8220;Prescribed in z direction&#8221; and we leave the default &#8220;0&#8243; here. So, now the structure is pinned in place in the </em>Z<em>-coordinates and although it can deflect, it can’t translate in its entirety.</p>
<p>Next, we need to add a Boundary Load condition. This is used to apply the pressure to the device. From the Physics ribbon, we select &#8220;Boundaries&#8221;, and from Structural we choose &#8220;Boundary Load&#8221;. This is applied to boundary 13 only, which corresponds to the top of the deflecting membrane. We’re going to set it to take a Pressure as its Load type, and we’re going to set the value of the Pressure to &#8220;p0&#8243;.</p>
<p>Next, moving mesh boundary conditions must be applied on the boundaries adjacent to the cavity. This will allow for the mesh to move as the surrounding material deforms. From the </em>Electromechanics<em> interface, we select the Prescribed Mesh Displacement node. Here, we clear the &#8220;Prescribed z displacement&#8221;, which allows the mesh to move up and down in the </em>Z<em>-direction as the membrane deflects.</p>
<p>Now, we specify the electrostatic boundary conditions required. From the Physics ribbon, we choose &#8220;Boundary&#8221;, and from Electrical, we choose &#8220;Terminal&#8221;. This Terminal boundary condition is used to apply a voltage to the underside of the silicon membrane. Select boundary number 12 again and we’re going to change the Terminal type to &#8220;Voltage&#8221; and the default Electrical potential of &#8220;1 Volt&#8221; is sufficient.</p>
<p>Next, we once again return to the boundary conditions and the Electrical section, and we select Ground. And this we want to apply to the top of the silicon die directly below the cavity. So, we choose the corresponding boundary and choose boundary 9. If we zoom in, we can see the selection of these electrical boundary conditions. So, you can see the voltage of &#8220;1 Volt&#8221; has been applied on the underside of the silicon membrane and the Ground has been applied on the other side of the cavity.</p>
<p>Now that the physics has been configured, it’s a suitable time to apply some materials to the model. From the Home ribbon, select &#8220;New Material&#8221;. You can see that the new material by default is applied to all domains and COMSOL knows which physical properties are required for the model to compute. The first material we shall rename &#8220;Silicon&#8221; and we’ll use it for the silicon part of the model. Enter some values appropriate for the silicon material.</p>
<p>Next, we add a second new material. This material is going to be added only to the cavity. Here, COMSOL knows that in this domain, all that’s required is the Relative permittivity, which we set to &#8220;1&#8243; to represent the vacuum.</p>
<p>Finally, we can use a built-in material to specify the steel domains. From the Home ribbon, we click &#8220;Add Material&#8221;, and from the Built-In library list, select &#8220;Steel&#8221;. Apply this to the steel base selection we made earlier. Notice how the materials override each other as they’re subsequently added. Initially, the silicon material was applied to all domains and now it’s overridden by the vacuum and the steel in the appropriate domains.</p>
<p>Next, we set up a structured mesh to solve the problem on. From the Mesh ribbon, we select &#8220;Edit&#8221; to allow us to edit the default physics-induced mesh sequence. Rather than the default Free Tetrahedral, the geometry here calls for a Mapped, Swept Mesh.</p>
<p>First, we disable the default, Free Tetrahedral. We would like our mesh to be densest around the region of interest, which is the membrane that we expect to deflect. To do this, we add a Size node and select &#8220;Custom&#8221; and then specify a Maximum element size of &#8220;50 micrometers&#8221;. Apply this to a boundary and we’re going to choose boundary 3 only, which you can see is this boundary on the bottom of the device, which marks the cross section of the membrane.</p>
<p>Now, we add a Mapped mesh to the lower surface of the model. Choose boundaries 3, 16, and 32, which make up this bottom surface of the model, and here you can see that the smaller Maximum size node has reduced the area of the surface elements in this region directly below the deflecting membrane, and then we have nice sweeping, radial mesh elements.</p>
<p>Then, the final step is to sweep this mesh up along the </em>Z<em>-axis through the structure. So, we add a swept mesh node, Build All, and there you have it! A nice structured mesh suitable for this geometry. Now that the parameters, geometry, physics, and mesh are all configured, we can prepare the study.</p>
<p>We will configure the study so that it sweeps over a range of applied pressures so that the response of the sensor can be assessed as a function of the ambient pressure. Within the study node, we find study Step 1: Stationary, and expand the Study Extensions section. Here we can check an Auxiliary sweep, and add the &#8220;p0&#8243; pressure variable. Choose an appropriate range.</p>
<p>Now that the auxiliary sweep is configured, from the Home ribbon, we may Compute.</p>
<p>The default plot shows the total displacement. It is clear that much of the structure is not displaced at all in this initial study. In order to quantify the displacement, we can use the two coupling components that were created earlier.</p>
<p>From the Home ribbon, we’re going to Add Plot Group and choose to add a 1D Plot Group. Now, we want to add a Global plot and first we can use the Average operator. So, this will take the average of &#8220;w&#8221;, which is the vertical displacement over the &#8220;aveop&#8221; boundary, which was the underside of the silicon membrane.</p>
<p>Select micrometers, a more appropriate unit, and we can use the point integration operator to allow us to plot the maximum displacement. Now, we can tidy up the plot a bit. You&#8217;ll see here I&#8217;ve renamed this 1D plot group to </em>Membrane Displacement<em> and this shows the displacement of the membrane, as a function of pressure. I&#8217;ve added a title for the plot and labeled the axes.</p>
<p>Now, we can plot the capacitance as a function of pressure. Once again, from the Home ribbon, we select &#8220;Add Plot Group&#8221;, choose a &#8220;1D Plot Group&#8221; and a &#8220;Global plot&#8221;. This time, we choose the capacitance variable, which is output automatically by the </em>Electrostatics<em> interface. Picofarads is a more appropriate unit. Now, we can tidy up this graph a bit. And here, we have created our plot for the capacitance as a function of pressure. I&#8217;ve added a title for the plot, labeled the axes, and moved the legend to the left side of the plot.</p>
<p>Now that the stress-free study has been completed, we can add the effects of thermal expansion to the model. In the </em>Electromechanics<em> interface, we right-click &#8220;Linear Elastic Material&#8221; and choose the &#8220;Thermal Expansion&#8221; sub node. We set the temperature of the device to the parameter &#8220;T0&#8243; and we set the reference temperature, which is the temperature at which there is zero stress due to thermal expansion, to be &#8220;Tref&#8221;, which is the temperature of the device when it was packaged.</p>
<p>Now that we have added additional physics to the physics interface, we see that the Materials section requires additional parameters. Specifically, we need to enter the coefficient of thermal expansion for the silicon. Note that the steel, as it came from the Built-In library, does not require us to add the additional coefficient of thermal expansion as this was already available.</p>
<p>In order to include the additional effects of thermal expansion, without overwriting the initial solution, we add a second study to the model. From the Study ribbon, we select &#8220;Add Study&#8221; and we add a second stationary study. Once again, we need to configure the study to perform an Auxiliary sweep over the &#8220;p0&#8243;, pressure, parameter.</p>
<p>Enter the same range as before, and then we can Compute.</p>
<p>Once again, the default plot shows the surface displacement. Notice now that the entire structure is displaced as a result of the differing rates of thermal expansion between the steel base plate and the silicon device. To compare these results with the first study, we can add the new solutions to the same plot groups.</p>
<p>Duplicate this Global plot and then change which solution it gets its data from. Tidy up the graph a bit. So, the solid lines correspond to the initial study with no thermal effects, and the dotted lines show that with the thermal effects, there is an increased deflection for a given pressure. For this plot, I moved the legend out of the way and changed the line style for clarity.</p>
<p>I can do the same for the capacitance. I can duplicate the original plot, change the solution from which it gets its data, and tidy the plot up a bit. And here we have created our plot for the capacitance as a function of pressure. I’ve changed the line color, and made some minor changes to the data labels in the legend, and you can see now the response of the capacitor to pressure is very different now that the effects of thermal stress are included in the simulation.</p>
<p>Learn more about this and similar models at <a href="http://www.comsol.com/models">comsol.com/models</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>https://www.comsol.no/blogs/video-tutorial-capacitive-pressure-sensor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
