Visualizing Electromagnetic Fields: The Visualization Toolkit. Michael Selvanayagam



Similar documents
MayaVi: A free tool for CFD data visualization

Visualization and Post Processing of OpenFOAM results a Brie. a Brief Introduction to VTK

Integration of C++ digital processing libraries and VTK through Tcl/Tk dynamic loadable extensions

The Visualization Pipeline

Visualisatie BMT. Introduction, visualization, visualization pipeline. Arjan Kok Huub van de Wetering

Scientific Visualization with Open Source Tools. HM 2014 Julien Jomier

Last lecture... Computer Graphics:

A Hybrid Visualization System for Molecular Models

2: Introducing image synthesis. Some orientation how did we get here? Graphics system architecture Overview of OpenGL / GLU / GLUT

Visualization with ParaView. Greg Johnson

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, Julien Jomier


Visualization with ParaView

Introduction to Visualization with VTK and ParaView

GUI GRAPHICS AND USER INTERFACES. Welcome to GUI! Mechanics. Mihail Gaianu 26/02/2014 1

Introduction to Paraview. H.D.Rajesh

Facts about Visualization Pipelines, applicable to VisIt and ParaView

CHAPTER FIVE RESULT ANALYSIS

Animation of Scientific Data Using VTK Designer

Introduction to Computer Graphics

Comparative analysis for Bandwidth Enhancement of RMPA using EBG and varying feed line lengths

VisIt Visualization Tool

Lecture Notes, CEng 477

IDL. Get the answers you need from your data. IDL

Processing Data with rsmap3d Software Services Group Advanced Photon Source Argonne National Laboratory

COSC 6344 Visualization

Design of 2D waveguide networks for the study of fundamental properties of Quantum Graphs

Rapid Software Development with OpenAccess. Dean Marvin Exec Director, Product Development

Introduction to MeVisLab Visual Programming Image Processing / VIsualization Examples VTK / ITK Integration MeVisLab SDK Features GUI Scripting

Computational Fluid Dynamics. Department of Aerospace Engineering, IIT Bombay

CAD and Creativity. Contents

UNIVERSITY OF MACAU DEPARTMENT OF COMPUTER AND INFORMATION SCIENCE SFTW 463 Data Visualization Syllabus 1 st Semester 2011/2012 Part A Course Outline

Collaborative modelling and concurrent scientific data analysis:

Outline. Fundamentals. Rendering (of 3D data) Data mappings. Evaluation Interaction

Visualization Process. Alark Joshi

CONCEPT-II. Overview of demo examples

A FRAMEWORK FOR THE INTERACTIVE VISUALIZATION OF ENGINEERING MODELS

VisIVO, a VO-Enabled tool for Scientific Visualization and Data Analysis: Overview and Demo

Numerical Analysis of Perforated Microring Resonator Based Refractive Index Sensor

Cassandra 2.0: Tutorial

Overset Grids Technology in STAR-CCM+: Methodology and Applications

3D Data visualization with Mayavi

Simple visualizations of unstructured grids with VTK

Co-simulation of Microwave Networks. Sanghoon Shin, Ph.D. RS Microwave

CS 378: Computer Game Technology

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

VISUALIZING DATA AT NORTHWESTERN UNIVERSITY. Matt McCrory Lead Visualization Engineer

Open Source CFD Solver - OpenFOAM

OpenFOAM Opensource and CFD

Material for tutorial. Twitter: prabhu_r. Slides: Demos:

Examples of Physical Quantities

An interactive 3D visualization system for displaying fieldmonitoring

COMP-557: Fundamentals of Computer Graphics McGill University, Fall 2010

version 3.0 tutorial - Turbulent mixing in a T-junction with CFDSTUDY in SALOME contact: saturne-support@edf.fr

Volume visualization I Elvins

Polarization of Light

Using open source and commercial visualization packages for analysis and visualization of large simulation dataset

Nano Optics: Overview of Research Activities. Sergey I. Bozhevolnyi SENSE, University of Southern Denmark, Odense, DENMARK

WHICH PLATFORM For My Website

by Jonathan Pickup fifth edition written with version D Modeling with Vectorworks SAMPLE

CST

VisIVO, an open source, interoperable visualization tool for the Virtual Observatory

Computer Graphics Motivation and Introduction

APPLICATION NOTE ANTENNA AND PROPAGATION SIMULATION WITH CST STUDIO SUITE AND WINPROP

Project 1: Rectangular Waveguide (HFSS)

Surface plasmon nanophotonics: optics below the diffraction limit

5. Scanning Near-Field Optical Microscopy 5.1. Resolution of conventional optical microscopy

Why are we teaching you VisIt?

CPIT-285 Computer Graphics

Dhiren Bhatia Carnegie Mellon University

OpenFOAM postprocessing and advanced running options

Calculation of Eigenmodes in Superconducting Cavities

GOM Optical Measuring Techniques. Deformation Systems and Applications

Development of EM simulator for sea bed logging applications using MATLAB

Computer Graphics AACHEN AACHEN AACHEN AACHEN. Public Perception of CG. Computer Graphics Research. Methodological Approaches

Choosing The Right Optical Design Software

Astronomical Instruments Software System Design

An octave bandwidth dipole antenna

Sensor Modeling for a Walking Robot Simulation. 1 Introduction

Exploratory Climate Data Visualization and Analysis

Structure Tools and Visualization

Visualization Plugin for ParaView

James Ahrens, Berk Geveci, Charles Law. Technical Report

SeSE/SNIC-UPPMAX: Scientific Visualisation Workshop 2014

Parallel Visualization of Petascale Simulation Results from GROMACS, NAMD and CP2K on IBM Blue Gene/P using VisIt Visualization Toolkit

CUBE-MAP DATA STRUCTURE FOR INTERACTIVE GLOBAL ILLUMINATION COMPUTATION IN DYNAMIC DIFFUSE ENVIRONMENTS

Automatic HVAC Workflow with STAR-CCM+

CFD software overview comparison, limitations and user interfaces

Getting more out of Matplotlib with GR

Introduction to Flow Visualization

Computer Graphics with OpenGL 3e

ParaView s Comparative Viewing, XY Plot, Spreadsheet View, Matrix View

Computer Graphics Global Illumination (2): Monte-Carlo Ray Tracing and Photon Mapping. Lecture 15 Taku Komura

Teaching Introductory Computer Graphics Via Ray Tracing

Transcription:

Visualizing Electromagnetic Fields: The Visualization Toolkit Michael Selvanayagam

Visualization What is the purpose of visualizing electromagnetic (EM) Fields?

Visualization 1. Understand the geometry of the problem 2. Show the properties of the EM field 3. Communicate functionality

Examples Good Visualization: Transformation Optics Using Graphene, Ashkan Vakil and Nader Engheta Science 10 June 2011: 332 (6035), 1291 1294. Kosmas L. Tsakmakidis, Allan D. Boardman & Ortwin Hess Nature 450, 397 401 (15 November 2007)

Motivation Generate professional looking figures Convey both geometry and electromagnetic properties This allows the audience to understand how things work in an easier fashion

Motivation Useful for Research: Help yourself to understand the problem Help the audience to understand the problem Useful for Teaching: Demonstrate basic physics in a visually appealing manner

Possible Approaches Existing CAD tools: HFSS, SEMCAD, CST, COMSOL. Software packages

Visualization Toolkit (VTK) A Graphics API for drawing 3D graphics Open source Use the API in C++, Java, Tcl, Python Python in this talk. Also allows use of numpy/scipy

Visualization Toolkit (VTK) Object Oriented Framework Sits on top of OpenGL There are GUI environments: ParaView, Mayavi

VTK History and Uses Written by former GE engineers Popular in CFD and medical imaging http://www.kitware.com/ viscontest/img/brainconnectivity.png http://cmg.soton.ac.uk/people/kvm/

VTK Basics The elements of a VTK program Pipeline Metaphor From: http://www.cs.uic.edu/ ~jbell/cs526/tutorial/vtk_pipeline.jpg

VTK Basics To Build A Scene You Need: 1. A Rendering Window (vtkrenderwindow) 2. A Light Source (vtklight) 3. A Camera (vtkcamera) 4. Mappers (vtkmapper) Map data and geometry to computer graphics 5. Actors (vtkactor) Define their properties (vtkproperty)

Examples (Photonics) The Hybrid Waveguide: An optical waveguide with good mode confinement A hybrid between a dielectric and plasmonic waveguide See [1]. [1] M. Alam, J. Meier, J. Aitchison, and M. Mojahedi, "Propagation characteristics of hybrid modes supported by metal low high index waveguides and bends," Opt. Express 18, 12971 12979 (2010).

Examples (Photonics) The Hybrid Waveguide: 1. Show the geometry of the waveguide 2. Show how the EM mode is confined in the waveguide

Examples (Photonics) Schematic Ag SiO 2 SiO 2 Si

Examples (Photonics) Hybrid Mode Plot

Examples (Photonics) Code 1. Read in Data cam1=vtk.vtkcamera() cam1.setfocalpoint(x0,y0,z0) cam1.setposition(x1,y1,z1) cam1.zoom(1.5) 2. Define Scene Set up camera Set up Renderer and Window ren1=vtk.vtkrenderer() ren1.setactivecamera(cam1) ren1.resetcamera() renwin=vtk.vtkrenderwindow()

Examples (Photonics) Code Continued 3. Draw Geometry Substrate=vtk.vtkCubeSource() Substrate.SetXLength(x) Substrate.SetYLength(y) Substrate.SetZLength(z) Substrate.SetCenter(cen) mapsub=vtk.vtkpolydatamapper() mapsub.setinput(substrate.getoutput() asub=vtk.vtkactor() asub.setmapper(mapsub) ren1.addactor(asub)

Examples (Photonics) Code Continued 4. Draw Surface Plot a. Setup Grid Add Points and Data b. Set up filter and lut c. Map surface plot d. Add to scene as an actor grid=vtk.vtkstructuredgrid() grid.setpoints(points) grid.getpointdata().setscalars(efield) filter = vtk.vtkstructuredgridgeometryfilter() filter.setinput(grid) lut=vtk.vtklookuptable() lut.build() map=vtk.vtkpolydatamapper() map.setinput(filter.getoutput()) map.setlookuptable(lut) vecactor=vtk.vtkactor() vecactor.setmapper(map) ren1.addactor(vecactor)

Examples (EM) Ray Tracer We need to understand how EM waves propagate inside very large domains like tunnels Use a ray tracer to study the problem. (Written By Neeraj Sood)

Examples (EM) Ray Tracer 1. Show the geometry of the problem being studied 2. Visualize the rays in that geometry

Examples (EM) Schematic Transmitter Hallway Reciever

Examples (EM) 1 Bounce 2 Bounces

Examples (EM) 3 Bounces 3 Bounces

Examples (EM) Code: 1. Define Scene 2. Read in Geometry 3. Draw Geometry 4. Read in Rays 5. Draw Rays a. Draw Arrows

VTK Pros and Cons Pros: 1. A very powerful tool. Can `visualize almost anything: scalars, vectors, tensors, complex numbers.. 2. A lot of examples online 3. Reusable code

VTK Pros and Cons Cons: 1. Setup is difficult 2. Very steep learning curve 1. Need to learn intricacies of API 2. Need to understand the framework 3. Lots of implicit assumptions

Final Thoughts VTK is a tool for 3D visualization If you want to play around with 3D visualization it is worth investigating Code is available if you re curious