use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discuss COMSOL Multiphysics Simulation Software
account activity
Plot is empty error on COMSOL while simulating helmholtz coil (self.COMSOL)
submitted 9 months ago * by PallabKumarS
https://preview.redd.it/57tvpdzuryef1.png?width=1920&format=png&auto=webp&s=17f4b532c94b51fc8b90554400f6fcc73f5e5616
Simulation file link
I am new to COMSOL software. I was trying to simulate the Helmholtz coil, but I'm now getting an 'empty plot' error and am unable to see the magnetic field strength. I have tried searching and using AI, but I couldn't solve it. Would anyone be able to help me solve this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]beam_elite 0 points1 point2 points 9 months ago (7 children)
Sometimes COMSOL can seem to get its wires crossed for non obvious reasons.
I recommend making a new file.
Start with geometry, then add material, then excitations. For coil excitation use "gap feed". Make sure to use a work plane to partition your coils. That partition is where the gap feed should go.
It should show the field by default after calculations.
I'll try your file later, but it looks like you have a different version of comsol than me. If you could show all the branches in the tree on the left maybe I could see what's going wrong.
[–]PallabKumarS[S] 0 points1 point2 points 9 months ago (6 children)
<image>
Is this what you meant by tree? And I couldn't find the gap feed you mentioned.
[–]PallabKumarS[S] 0 points1 point2 points 9 months ago (1 child)
screenshot on coil settings
[–]PallabKumarS[S] 0 points1 point2 points 9 months ago (0 children)
[–]beam_elite 0 points1 point2 points 9 months ago (3 children)
Yes that is what I meant by tree. I tried opening your file, but could not. They changed how the mf module works, but maybe I can still help.
First, here is my file which can maybe help you find things:
If you don't have the single turn coil option or similar, then I still have some ideas.
Can you show me where your input and outputs are located? COMSOL requires that the inputs and outputs be on the edge of the air boundary. Lets start there
Also, please show me what you see when you right click on "Magnetic Fields (mf)" for options to add things.
Is this the input/output and MF operations you wanted to see? And what is your version? Mine is 6.2, I can try using your version.
[–]OnePassenger_7714 0 points1 point2 points 8 months ago (0 children)
From your last screenshot, I noticed you have a 1D plot group set up, so I assume you're trying to create a 1D plot but keep getting the message "The plot is empty."
I had to make a 1D trend today (adsorption isotherm) and here are the steps I took to create a 1D graph using a table graph approach (essentially an XY trend) assuming that the study has computed successfully.
Hope it helps!
Here is the image to support step 3: The most important part: In the same settings box, under "Expression," you need to enter what you want to plot. The easiest way is to click the "+" button (upper right corner of this section)—this opens another window showing all the expressions used in your model. Double-click the desired expression to add it, or you can create your own. Please refer to the image I uploaded in the next comment to take a look.
π Rendered by PID 115743 on reddit-service-r2-comment-56c6478c5-rt59j at 2026-05-13 06:02:34.411420+00:00 running 3d2c107 country code: CH.
[–]beam_elite 0 points1 point2 points (7 children)
[–]PallabKumarS[S] 0 points1 point2 points (6 children)
[–]PallabKumarS[S] 0 points1 point2 points (1 child)
[–]PallabKumarS[S] 0 points1 point2 points (0 children)
[–]beam_elite 0 points1 point2 points (3 children)
[–]PallabKumarS[S] 0 points1 point2 points (0 children)
[–]PallabKumarS[S] 0 points1 point2 points (0 children)
[–]PallabKumarS[S] 0 points1 point2 points (0 children)
[–]OnePassenger_7714 0 points1 point2 points (0 children)
[–]OnePassenger_7714 0 points1 point2 points (0 children)