Busbar: Joule Heating

A copper busbar carries a direct current between three titanium bolts. The current heats the bar (Joule heating) and the bar loses that heat to the surrounding air by convection. You build the geometry from parameters, solve the coupled electric and thermal problem, then sweep the busbar width and plot how the average temperature falls as the bar gets wider.

What you will learn
  • Set up a multiphysics model with the Model Wizard (Joule Heating).

  • Sketch on a work plane, round corners, and extrude; place work planes on faces of the part you built.

  • Assign two materials and apply boundary conditions by clicking faces.

  • Use a user-controlled mesh driven by a parameter.

  • Run a parametric sweep and evaluate a coupling operator (aveop1(T)) over all sweep values.

Table 1. Model at a glance

Space dimension

3D

Physics

Electric Currents (ec) + Heat Transfer in Solids (ht), coupled by Electromagnetic Heating

Study

Stationary, with a Parametric Sweep over the width wbb (6 values)

Mesh

Quadratic tetrahedra; about 37 000 nodes at wbb = 5 cm, growing to about 77 000 at 10 cm

Solve time

6 to 8 minutes for the whole sweep on a desktop PC (two recorded runs: 350 s and 447 s)

If you know COMSOL, this is the busbar from Introduction to COMSOL Multiphysics. The workflow is the same; the differences are called out in notes along the way. Elmer Studio is an independent project and is not affiliated with COMSOL.

Start a new model

  1. Click File  New (Ctrl+N) and choose Model Wizard.

  2. On Select Space Dimension, choose 3D.

  3. On Select Physics, expand Heat Transfer › Electromagnetic Heating, select Joule Heating and click Add. The list on the right now shows Electric Currents (ec) and Heat Transfer in Solids (ht).

  4. Click Study, select General Studies › Stationary and click Done.

The Model Builder now contains Component 1 with Geometry 1, Materials, Electric Currents (ec), Heat Transfer in Solids (ht), Multiphysics (with the Electromagnetic Heating coupling), Mesh 1 and Study 1. Elmer Studio has already added the default features: Current Conservation 1, Electric Insulation 1, Solid 1, Thermal Insulation 1 and the Initial Values nodes.

Parameters

  1. On the Home ribbon, click Home  Parameters. This selects Parameters 1 under Global Definitions.

  2. In the Settings window, type the following rows into the table. Each new row appears when you start typing in the empty last row; the Value column fills in by itself.

    Name Expression Description

    L

    9[cm]

    Length of lower part of the busbar

    rad_1

    6[mm]

    Radius of the titanium bolts

    tbb

    5[mm]

    Thickness of the busbar

    wbb

    5[cm]

    Width of the busbar

    mh

    3[mm]

    Maximum element size

    htc

    5[W/(m^2*K)]

    Heat transfer coefficient

    Vtot

    20[mV]

    Applied electric potential

The Load from File and Save to File buttons under the table read and write the list as a text file with one parameter per line (name, expression, description, separated by spaces).

Geometry

The busbar is an L-shaped profile drawn in the xz-plane and extruded by the width wbb. The bolts are circles drawn on faces of that extruded bar and extruded through it. The geometry stays in the default length unit, metres; all sizes come from the parameters. See Geometry for how work planes, building and entity numbers work.

Work Plane 1: the L profile

  1. Click Geometry 1, then click Geometry  Work Plane.

  2. In the Settings of Work Plane 1, keep Plane type Quick and set Plane to xz-plane.

  3. Right-click Work Plane 1 and choose Primitives › Rectangle. In Rectangle 1 set Width L+2*tbb and Height 0.1. Leave the position at 0, 0.

  4. Right-click Work Plane 1 again and choose Primitives › Rectangle. In Rectangle 2 set Width L+tbb, Height 0.1-tbb, x 0 and y tbb.

  5. Right-click Work Plane 1 and choose Booleans and Partitions › Difference. In Difference 1 check r1 under Objects to add and r2 under Objects to subtract.

  6. Press F7 (Build Selected) to build the work plane up to this node.

Next, round the inner corner of the L with radius tbb and the outer corner of the bend with radius 2*tbb. A plane fillet refers to the corners by point number. Points are numbered by position, x first, then y: in the L profile, point 3 is the inner corner at (95[mm], 5[mm]).

  1. Right-click Work Plane 1 and choose Conversions › Fillet (or, with a node of the work plane selected, click Geometry  Fillet). Fillet 1 is added to the work plane. The Graphics window shows the plane sketch built so far, with its points numbered.

  2. Click point 3, the inner corner, in the Graphics window (or type 3 into Vertices to fillet (point numbers, if not picked)), and set Radius to tbb.

    Settings of Fillet 1 with point 3 and radius tbb; the Graphics window shows the L profile with points 1 to 6
    Figure 1. The plane sketch at Fillet 1: the L profile with its six corner points numbered by position
  3. Add a second fillet the same way. In Fillet 2, pick point 6 and set Radius to 2*tbb. Point 6 is the outer corner of the bend at (100[mm], 0). After Fillet 1, the rounded inner corner has two end points instead of one, so the corners further right move up by one number. The sketch at Fillet 2 shows the new numbers.

In 2D models and inside work planes, Fillet and Chamfer act on the sketch’s corner points. In a 3D geometry sequence, they act on the edges of a solid.

Extrude 1: the bar

  1. Click Fillet 2, then click Geometry  Extrude. Extrude 1 is added after the work plane with wp1 checked under Input objects.

  2. Set Distance from work plane to wbb.

  3. Press F7. The bar is 100 mm high, 100 mm long and wbb wide.

Work Plane 2: the upper bolt

  1. With Extrude 1 selected, click Geometry  Work Plane.

  2. In Work Plane 2 set Plane type to Face parallel. The Graphics window shows the geometry built so far with its boundary numbers.

  3. Type 8 into Planar face (boundary number). Boundary 8 is the inner face of the vertical leg, at x = 95 mm; it turns blue in the Graphics window. Instead of typing, you can click that face: a picked face appears in the Boundary Selection list and takes precedence over the typed number.

    Settings of Work Plane 2 with Plane type Face parallel and planar face 8; the Graphics window shows the extruded L with boundary numbers and face 8 highlighted
    Figure 2. Picking the face for the face-parallel work plane: boundary 8 is highlighted
  4. Right-click Work Plane 2 and choose Primitives › Circle. Set Radius to rad_1. Keep x and y at 0: the work plane’s origin is the centre of face 8.

  5. Click Circle 1, then click Geometry  Extrude. Extrude 2 takes wp2 as input. Set Distance from work plane to -2*tbb.

    The face normal points out of the bar, so a negative distance extrudes the circle into the vertical leg and tbb out of its far side.

Work Plane 3: the two lower bolts

  1. With Extrude 2 selected, click Geometry  Work Plane.

  2. In Work Plane 3 set Plane type to Face parallel and type 4 into Planar face (boundary number) (or click the face). Boundary 4 is the top face of the horizontal leg.

  3. Right-click Work Plane 3 and choose Primitives › Circle. Set Radius rad_1, x -L/2+1.5[cm] and y -wbb/4.

  4. Right-click Work Plane 3 and choose Transforms › Copy. In Copy 1 check the circle (c2) under Input objects and set the displacement y to wbb/2.

  5. Click Copy 1, then click Geometry  Extrude. Extrude 3 takes wp3 as input. Set Distance from work plane to -2*tbb.

  6. Click Geometry 1 and press F8 (Build All Objects).

The geometry has 7 domains: domain 1 is the copper bar and domains 2–7 are the bolts. Each bolt is split in two where it passes the surface of the bar. Form Union at the end of the sequence joins everything into one mesh-compatible assembly.

Settings of Geometry 1 with Geometry Statistics, and the busbar with three bolts in the Graphics window
Figure 3. The finished geometry: the copper L with three bolt holes
Save now with Ctrl+S. Models are stored as .esm files.

Materials

  1. Click Home  Add Material. The Add Material window opens on the right.

  2. Select Built-in › Copper and click Add to Component. The first material you add covers all domains.

  3. Select Metals › Titanium beta-21S and click Add to Component. This material starts with an empty selection.

  4. In the Settings of Titanium beta-21S, click the six bolt domains 2, 3, 4, 5, 6 and 7 in the Graphics window. They turn blue and appear in the Domain Selection list. Transparency in the Graphics toolbar helps to see the bolt parts inside the bar.

The Material Contents table marks every property the physics needs with a check mark: density, thermal conductivity, heat capacity and electrical conductivity. Copper still lists all domains; as in COMSOL, where two materials share a domain, the one lower in the Model Builder is used.

Settings of the Titanium beta-21S material with domains 2 to 7 selected and the Material Contents table; the bolts are highlighted in the Graphics window
Figure 4. Titanium beta-21S assigned to the bolt domains 2–7

See Materials for the material library and user materials.

Physics

Current enters through the end face of the upper bolt and leaves through the bottom faces of the two lower bolts. Every other outside surface loses heat by convection.

Electric Currents

  1. Click Electric Currents (ec) in the Model Builder.

  2. Click Physics  Boundaries  Electric Potential.

  3. In Electric Potential 1, click boundary 43, the end face of the upper bolt sticking out of the vertical leg. Set Electric potential to Vtot.

  4. Click Electric Currents (ec) again and click Physics  Boundaries  Ground.

  5. In Ground 1, click boundaries 7 and 14, the bottom faces of the two lower bolts.

To rotate the view and reach the bottom faces, drag with the left mouse button; F5 zooms back to the whole model. Clicking a selected entity again removes it from the selection.

All remaining boundaries keep the default Electric Insulation 1. The settings are listed in Electric Currents (ec).

Heat Transfer in Solids

  1. Click Heat Transfer in Solids (ht) and click Physics  Boundaries  Heat Flux.

  2. In Heat Flux 1, set Flux type to Convective heat flux, Heat transfer coefficient to htc and External temperature to 293.15[K] (the default).

  3. Select the outside surfaces except the three bolt contact faces:

    1. Click Select All in the Graphics window toolbar. All 43 boundaries are added to the list.

    2. In the Boundary Selection list, hold Ctrl and click 7, 8, 9, 12, 14, 15, 16, 19, 21, 23, 25, 27, 33, 34, 35, 36, 38 and 43.

    3. Click the Remove button (the minus sign) next to the list. 25 boundaries remain.

In COMSOL, a boundary condition with all boundaries selected acts only on the exterior ones. In Elmer Studio, only the default features (such as Thermal Insulation) are restricted to exterior boundaries; a feature you add acts on every boundary in its list. The 15 boundaries removed above besides 7, 14 and 43 are the interfaces between the bolts and the bar, which must not lose heat.

The Joule heat source needs no setup: the Electromagnetic Heating coupling under Multiphysics feeds the resistive losses of Electric Currents into Heat Transfer on all domains. See Heat Transfer in Solids (ht) and Physics interfaces.

Mesh

The mesh is controlled by the parameter mh.

  1. On the Mesh ribbon, click Mesh  Free Tetrahedral. Mesh 1 switches to a user-controlled sequence and gets two nodes, Size 1 and Free Tetrahedral 1.

  2. Click Size 1. Set Element size to Custom, then set:

    • Maximum element size: mh

    • Minimum element size: mh-mh/3

    • Curvature factor: 0.2

  3. Click Mesh  Build Mesh. The Messages window reports the number of elements and nodes.

Elements are quadratic, because both physics interfaces use quadratic discretization by default. See Mesh for the other size settings.

Study

First solve one width, then add the sweep.

  1. Click Study 1 and click Home  Compute (Ctrl+=). The Progress window and a Convergence Plot tab show the solver at work; three default plot groups appear under Results when it finishes.

  2. To sweep the width, click Study  Parametric Sweep. Parametric Sweep 1 is added at the top of Study 1.

  3. Set Parameter name to wbb, Parameter value list to range(5,1,10) and Parameter unit to cm. That is six widths from 5 cm to 10 cm in steps of 1 cm.

The geometry and mesh are rebuilt for every width. Before computing, add the coupling operator you will evaluate afterwards.

  1. Right-click Definitions under Component 1 and choose Average.

  2. In Average 1, set Operator name to aveop1. Leave the Domain Selection at all domains.

  3. Click Home  Compute. The Messages window lists each sweep step, for example Parametric sweep: wbb = 0.1 (6/6).

The operator defined under Definitions works in any result expression: aveop1(T) is the volume average of the temperature over the selected domains, like COMSOL’s Average component coupling.

Results

After the sweep, the plot groups show the last parameter value (wbb = 10 cm) unless you change Solution selection in the plot group.

Temperature and potential

  1. Click Temperature (ht) to see the surface temperature. The top bolt, where the current enters, is the hottest part.

  2. Click Electric Potential (ec). The Multislice plot shows the potential falling from 20 mV at the upper bolt to 0 at the two grounded bolts.

Electric Potential (ec) plot group with a Multislice of V from 0 to 0.02 V; the Messages window lists the sweep steps and the solution time
Figure 5. Default Electric Potential (ec) plot group: Multislice of the electric potential

Average temperature versus width

  1. Click Results  Global Evaluation. In Global Evaluation 1:

    • Dataset: Study 1/Solution 1

    • Time/parameter selection: All (the default)

    • In the Expressions table, type aveop1(T) in the Expression column and Average temperature in Description.

  2. Click Evaluate at the top of the Settings window. The Table window lists one row per width.

  3. Click Results  Global. A 1D Plot Group with a Global 1 plot is added.

  4. In Global 1, set Expression (global, e.g. aveop1(T), or a field to reduce) to aveop1(T) and Reduction to Global (scalar expression).

  5. Click Plot. The x-axis is the sweep parameter, wbb (cm).

1D Plot Group with Global: aveop1(T) falling from about 323 K at wbb 5 cm to about 309 K at 10 cm; the Table window lists wbb and the average temperature
Figure 6. Average temperature of the busbar against its width, with the Global Evaluation table below

Check the results

These are the checks in tests/test_tutorial_busbar.py, which builds this model step by step and runs the sweep; they follow what the COMSOL tutorial text states.

  • The geometry has 7 domains; domains 2–7 are the bolts.

  • At wbb = 5 cm the maximum temperature is above 300 K, well above the ambient 293.15 K (about 330.5 K).

  • The temperature difference across the whole device is less than 10 K (8.0 K at 5 cm, 8.5 K at 10 cm).

  • The average temperature decreases with every step of the width sweep: about 322.8 K at 5 cm, 318.5 K at 6 cm, 315.3 K at 7 cm, 312.8 K at 8 cm, 310.9 K at 9 cm and 309.2 K at 10 cm.

The values in brackets come from a verification run of the test model; your last digit may differ because the mesh is generated afresh.

The project README lists two further physical checks:

  • The top bolt is the hottest part: the maximum temperature sits on the end face of the upper bolt, where the current enters.

  • The Joule power generated in the bar equals the heat lost by convection to within 0.4 % (about 3.2 W at 5 cm; the verification run gave 0.3 % at every width).

To check the power balance yourself, compare a Volume Integration of ec.Qrh (the Joule loss density) with a Surface Integration of htc*(T-293.15[K]) over the 25 convective boundaries.

What next

  • Change htc or Vtot in Parameters 1 and compute again; the solution follows the parameters.

  • Look at the current density: add a 3D Plot Group with a Slice of ec.normJ.

  • File  New lists the Busbar example in the Application Libraries. It is a simpler busbar built from blocks, with bolt holes but no bolts, that solves in a few seconds.

  • Continue with the Wrench: Stationary Solid Mechanics tutorial: stationary solid mechanics and a mesh convergence study.

  • Keyboard shortcuts are listed in Keyboard and mouse.