How to Plot E, H, and Other Fields in Q3D
Hello everyone, this is Daniel Esmaili again with another video on Q3D. Today, we're going to show you how to plot fields. While this is easily done in HFSS, Maxwell, and other software, you might encounter an error. We will demonstrate how to overcome that and plot the field on various surfaces.
As you know, we are an ANSYS channel partner. We've been the American Channel Partner of the Year for three years: 2015, 2018, and 2021. We have expertise in structural, thermal, fluid, electromagnetism, and thermal energy fields. We can assist you with software or as consultants. Please feel free to contact us if you have any questions.
Plotting Fields in Q3D
In today's video, I'm going to show you how to plot fields on a point, a line, and a surface, and I'll show you the result as a contour.
Modeling in HFSS
Here's an example in HFSS:
- Choose a plane or create your own sheet.
- Select "Edge Fill" and plot it.
However, when you try to do the same in Q3D, you might encounter an error. The reason is that Q3D is different from other software. If you want to plot fields on an object, that object must be part of the model.
Workaround for Plotting in Q3D
- Define a point and a line.
- Choose a line for the field, for example, from a point upward.
- Go to "EM Field" and choose "Insert EM Field Setup Line".
- Select the line of interest.
- Initialize the field with the desired number of points.
- Create an EM field report, choosing "Edge Field".
To plot at a specific point, ensure the line's start or end lands exactly on the point of interest. Read the result from the report.
Plotting on a Surface
- Create a coordinate system and name it, e.g., "Plot Coordinate System".
- Create a rectangle line, specifying dimensions and sample numbers.
- Select "E Field" and choose "Rectangle Contour Plot".
- Adjust settings for better visibility, such as contour tone.
- Show the plot in the modeler window to visualize it on the geometry.
If you want to plot the E-field at a different height, adjust the coordinate system accordingly.
I hope you find this video helpful. If you have any questions, please feel free to comment on this video. Thank you!
Hello everyone, this is Daniel Esmaili again with another video on Q3D. Today we're going to show you how to plot fields. This is easily done in HFSS, Maxwell, and other software, but once you get it, you'll see this error.
So today we're going to show you how to overcome that and plot the field in the area, such as this surface.
As you know, we are an ANSYS channel light channel partner, the American channel partner of the year for three years (2015, 2018, and 2021), and we have expertise in structures, thermal fluids, electromagnetism, and thermal energy.
We have a lot of experience in the field of thermal energy, and we can help you with software or as a consultant. Please feel free to contact us if you have any questions.
In today's video, I'm going to show you how to plot the field on a point, on a line, and on the surface, and I'll show you the result, which is the contour. Here is the model I showed you earlier. If you're not very familiar with other applications, let me just show an example.
Here is a modeling HFSS, and as you can see, I can choose a plane here. I can choose one from the planes here or make my own sheet, and when I do that, I can plot, for instance, the edge field. I come here, choose edge field, and then plot. Done. It will show it for us.
However, when you want to do the same thing in Q3D, you get an error, and I'll show that in a second. The reason is that Q3D is different from other software. If you want to choose a plane or pick an object, sheet, or plane and plot the fields in them, that object has to be part of the model.
So if I choose this L-shape object and I ask for the magnetic field edge, it'll plot it as you can see. But if I choose another thing that is not part of these objects in this model, it will give an error. So, what is the workaround for this? That's what I'm going to show you today.
In order to do that, we need to define a point and a line. I'll choose a line. Let's assume we like to have the field from this point upward, up to here. We like to get the field over here. So this line is chosen. That's the axis, as you can see here.
Next, I'll go to E-field, this is the trick part, and then I choose "insert E-field setup line" and I'll choose the line I'm interested in right now. There's only one option because I only have one line, but if it is more than that, please choose whatever you want.
I select it and initialize my field here because I can already see all of the philosophers using basic understand to match with different tolerance, and that's what explains a model shop.
In the number of points here, I want to be five points, and here it will show you those numbers once I click here. Pay attention to the points that I'll appear here. So when I go on line one, I see the points here. They're so small. I don't know if you can see them, these yellow dots here.
So we have five points here. If you want more resolution, feel free to add more.
Once you do that, you'll go on the result, right-click, choose "create E-field," usually we choose the other report, but we need to choose this one, and then for instance, "data table." You can choose E-field or edge field, let's say I choose edge field here, and make sure this is line one because again, if it was more, you would see more here.
And pay attention that it is normalized distance. So and and and and and You can change this if you want, but for now, we put it on normalized. And you report. So as you can see, these are the edge E-field at point zero and at point one. Other numbers between them.
So in other words, if you want to have it at a point, you need to find a line where the beginning of that line or end of that line lands exactly on the point that you're interested. And then once you do this, you'll come here and you read your result.
Now that we're done with that, we'll move to the surface. So I assume at this point I'd like to have a surface. The first step is to create a coordinate system. I'll create a coordinate system here and I name it. I name it "plot coordinate system." And now I create it. I create a rectangle line.
So here I choose my plot coordinate system. I'll say for instance 30 millimeters by 50 and I choose number of samples 21 and 41. As you can see, this is the plane here. Next. Same as before. E-field. I choose the rectangle contour plot. As you can see, it's still on line one.
And now pay attention to this part. When I change the rectangle, it goes to U and V. And then choose edge field. And plot report. So as you can see now, it's plotted. One thing we can do is that make this to have better visibility. Make this contour like a tone. And here we have it.
These are the range that we put as you can see 15 and 25. If we go back to the field, 30 and 50. 50 is the range so that's where these numbers come from, but the thing is we want to see this on the geometry so we choose "show in modeler window," and now when we go back to the files, it is here as you can see it.
So this way, you're able to plot the field and if you want to have the E-field somewhere else, higher than here, up in the air, just need to move your coordinate system. So for instance, here, let's say we want to move it up and look at where the height is 15 millimeters.
So 15 millimeters here, the coordinate system went up, and it starts doing the calculation, and you'll see that this contour will change. I hope you like this video. If you have any questions, please feel free to comment on this video. I'll see you guys in the next video! Thank you.

