## Using the General Extrusion Coupling Operator in COMSOL: Dynamic Probe

##### Chandan Kumar | January 28, 2014

Here is an interesting question: How can we easily probe the solution at a point that is moving in time, but associated with a stationary geometry? One option is to use the General Extrusion coupling operator. In this blog post, we will take a look at how to use the General Extrusion coupling operator to probe a solution at a point in your geometry, and illustrate how to implement a dynamic probe using an example model.

### Computing the Laser Heating of a Rotating Silicon Wafer

Let’s consider a laser heating example where you have a moving heat source, the laser, and a moving geometry. The model in question is called Laser Heating of a Silicon Wafer, and can be found in the Model Gallery. In this model, a laser moves radially inwards and outwards over a silicon wafer that is rotating on its stage. The incident heat flux from the laser is modeled as spatially varying, with time varying coordinates for the location of the incident heat flux. The effect of the rotation of the wafer is modeled through a transport term in the governing heat transfer equation:

The transport term in this equation, \bf{u}, is used to account for the rotation of the wafer, so it is not necessary to explicitly rotate the geometry.

Now suppose we would like to evaluate the temperature at one point of the rotating wafer. We are then looking at the problem of evaluating the temperature at a point that follows the rotating wafer material. This problem can be solved by using a General Extrusion coupling operator to dynamically map the solution at a particular point (moving or stationary) onto a fixed source.

We begin by adding the General Extrusion coupling operator from the definitions toolbar as shown in the screenshot below:

*Adding a General Extrusion coupling operator.The green vector field is the transport term used to model the wafer rotation.*

Next, let’s take a look at the settings of the General Extrusion coupling operator. The time varying coordinates of the point at which we want to evaluate the temperature can be entered as the coordinates of the destination map. Let’s consider a point on the disk at a distance of 0.5 inches from the center of the disk located at (0,0). At any given time, the (x, y, z) coordinates of this point are given by: (0.5[in]*cos(ωt), 0.5[in]*sin(ωt), 2.75e-4[m]), where ω is the angular velocity of the rotating wafer disk. We can simply enter the time varying coordinates in the *x*, *y*, and *z*-expressions of the destination map. In general, the destination map accepts scalar values that may be space- or time-dependent expressions. The settings of the General Extrusion coupling operator are shown below:

*General Extrusion coupling operator settings. A destination map and source map is specified here. The destination map here consists of the transient coordinates where we would like to evaluate temperature.*

Note that the operator name is kept to its default: genext1. In this example, since the *x*, *y*, and *z*-coordinates of the destination map are explicitly specified without any association with the coordinates of a geometric entity, it doesn’t matter where we evaluate the General Extrusion coupling operator. It will always be requested to be evaluated at the destination coordinates entered in the settings of the General Extrusion coupling operator. To evaluate the temperature at the destination coordinates, you can call the General Extrusion coupling operator with a temperature argument, as genext1(T), where T is the dependent variable name for *Temperature*. If you have already computed the solution to the finite element problem, then you can simply evaluate temperature at the destination points by clicking on the “update solution” option in the *Study* toolbar, or you can dynamically probe the variable genext1(T) evaluated at a point while you compute the solution to the finite element problem.

The plot below shows the graph for temperature evaluated at a point located 0.5 inches from the center of the rotating disk:

*Temperature evaluated at a point on the rotating wafer.*

We can similarly evaluate the temperature at any other point. All you need are the time-dependent coordinates of the point where you would like to evaluate the temperature. For example, if you would rather follow the point on the geometry that corresponds to the focal point of the moving laser, you would enter the time-varying coordinates of the focal point of the laser.

The plot below shows the temperature evaluated at the focal point of the moving laser:

*Temperature evaluated at a point on the geometry corresponding to the focal point of the moving laser.*

### Next Steps: Mapping Cross-Sectional Data

Now you know how to use the General Extrusion coupling operator to probe a solution at a moving point. In an upcoming blog post, we will walk you through how to use the operator to map cross-sectional data from one or several cross sections onto another cross section for geometries where the cross section dimensions do not change over the length of interest. This will allow you to compare different cross-sectional data and evaluate measures such as maximum, minimum, and average over several cross sections. Stay tuned!

- Certified Consultants 23
- Chemical 32
- COMSOL Now 120
- Conference 98
- Core Functionality 41
- Electrical 69
- AC/DC 13
- MEMS 11
- Plasma 2
- RF 20
- Semiconductor 1
- Wave Optics 6

- Fluid 56
- CFD 21
- Microfluidics 6
- Mixer 2
- Molecular Flow 6
- Pipe Flow 4
- Subsurface Flow 6

- Interfacing 24
- Mechanical 88
- Acoustics 16
- Fatigue 4
- Geomechanics 1
- Heat Transfer 44
- Multibody Dynamics 4
- Structural Mechanics 31

- Multipurpose 10
- Tips & Tricks 29
- Trending Topics 18
- User Perspectives 65
- Video 59