Electromagnetic Simulations & Renders with openEMS & Blender - Page 1
Forum section: electronics / projects

author: Schottky
author_rank: Regular Contributor
timestamp: June 08, 2023, 09:11:12 pm
content: I would like to share my recent work about experimenting with electromagnetic simulations of PCBs in openEMS and then visualising and rendering the results in Blender. This is mainly for educational purposes; to learn and understand how RF and high frequency circuits and antennas work and hopefully inspire people to study these topics.My workflow is as follows:Using KiCAD to create RF circuits or to import projects from other PCB design software such as AltiumExport design from KiCAD as VRML file into BlenderModify, adjust and fix geometries and areas of interest in Blender, also add port location and field dump planesExport geometries as STL files into openEMS and setup simulationSave simulated field data as VTK filesOpen VTK files in Paraview and perform any necessary filter operations such as clipping and warpExport Paraview scene as X3D files back into BlenderUse Blender’s Geometry Nodes to visualise and animateThis may seem like a long work flow of exports and imports, however once you get going it becomes manageable. KiCAD can export the hyperlynx files which can be used in openEMS with a tool called hyp2mat, but unfortunately this tool has been retired.Below are some of recent simulations and animations60GHz mmWave radarI used to openEMS and Blender simulate and render the how the electromagnetic waves are launched and radiated from a patch antenna array setup! The design is based on Texas Instruments mmWave evaluation board, specifically TIDEP-01001 which features the AWR6843 60GHz single-chip mmWave sensor. The design was done in Altium and I simply imported it in KiCAD.There are four channels feeding the array, you can see how the e-field component is generated and then propagates in the transmission lines towards the array. Since all the channels are in-phase with each other, the radiated electric field shows one main lobe at 0 degrees, and smaller side lobes.2.4GHz Wi-Fi PCB meandered inverted F & PCB layoutHere I used the antenna design reference from TI's app note AN043 along with a PCB. I simulated the antenna’s radiated fields and also the surface currents in the PCB. All designed in KiCADCurved Coax cable simulation with open terminationThe coax cable was designed completely in Blender including its inner core, dielectric and outer shield. I used Blender’s geometry nodes to create a mesh from a curve. This animation shows a gaussian pulse propagates in the cable and then bounces back. I’ve scaled the E-Field beyond the coax’s diameter for better visualization.

author: Marsupilami
author_rank: Frequent Contributor
timestamp: June 09, 2023, 05:15:43 am
content: These are really cool, man. I'm always mesmerized by any EM sim result, but your visualization is on a completely different level.

author: KE5FX
author_rank: Super Contributor
timestamp: June 09, 2023, 06:35:17 am
content: OK, that's cool as hell.

author: 6313oscar
author_rank: Newbie
timestamp: June 09, 2023, 06:18:00 pm
content: This is really really nice, good inspiration source!Any way to see a tutorial video on your Youtube channel for combining simulation over the 3D PCB render in the near future?

author: Schottky
author_rank: Regular Contributor
timestamp: June 16, 2023, 08:00:58 pm
content: This is how a human finger interacts with a 60GHz electromagnetic wave! You can see how some waves travel tangential to the skin and some are reflected creating interference patterns.

author: Schottky
author_rank: Regular Contributor
timestamp: June 28, 2023, 11:44:35 pm
content: The apollo lunar rover had a high gain antenna with a foldable parabolic reflector for voice and video transmission to earth. This #openEMS animation shows how the reflector dish unfolds and how the received electromagnetic waves become focused at the antenna feed

author: RoGeorge
author_rank: Super Contributor
timestamp: July 02, 2023, 06:56:06 pm
content: Wow, looks amazing!

author: Glowas
author_rank: Newbie
timestamp: July 24, 2023, 05:54:27 am
content: Amazing stuff, Im waiting for the first tutorial

author: Schottky
author_rank: Regular Contributor
timestamp: June 14, 2024, 07:13:44 pm
content: Attempting to simulate a 70GHz Rotman Lens with openEMS! After seeing a few inspiring tweets from@QVHenkel and @ptrschmdtnlsn I thought I'd have a go at it.This animation shows the launch of the electric field component from one port and how it propogates throughout the lens. It does seem that most of waves are absorbed at each inactive port, though there are some reflected waves which I believe may be due to the mesh of the model.