Our blog features regular articles on numerical methods for plasma and rarefied gas simulations, as well as general updates related to plasma propulsion and spacecraft contamination control. Subscribe to the newsletter to avoid missing any articles.
Part 4 of the multi-part Starfish tutorial. In this part we add commands to export surface properties such as surface flux, learn about steady state, and setup data averaging. (Nov 21 2012)
Part 3 of Starfish plasma simulation solver tutorial. Here we introduce surface interactions and modify the input files to simulate the recombinations of ions at the surface of the cylinder. (Nov 12 2012)
The second part of the multi-part Starfish tutorial. In this part we add particle sources to simulate flow of plasma over a cylinder. We also introduce animations. (Nov 6 2012)
The first part of the multi-part Starfish tutorial. In this article we introduce the input files needed to setup a simulation for a flow of plasma over an infinitely long cylinder. (Oct 29 2012)
FEMM is a powerful (and free) 2D magnetic, electrostatic, and heat transfer solver. FEMM contains a nice GUI for defining and analyzing the problem. It does not contain an option for exporting the results. However, you can export the results from FEMM easily with a simple LUA script. (Sep 7 2012)
Collection of examples of the Continuous Galerkin Finite Element Method (FEM) implemented in Matlab comparing linear, quadratic, and cubic elements, as well as mesh refinement to solve the Poisson's and Laplace equations over a variety of domains. (Aug 30 2012)
A quick summary of the projects completed over the past 6 months. These include development of a 2D plasma simulation code Starfish, publication of two papers, initial analysis of a plasma-wall interface, and development of a Java-based VTK GUI. (Aug 24 2012)
SVG and Javascript can be used to create interactive applications and graphical user interfaces. Here is an example of an interactive elliptic mesh generator. (Jun 22 2012)
How do you construct a smooth line through a set of prescribed points? This article shows you how. It also includes an interactive SVG demo that allows you to try it in real-time. (Jun 17 2012)
Particle codes have very different memory optimization requirements than fluid-based solvers. Here we consider three types of data structures for holding particles that offer an efficient way of adding and removing particles and compare their performance. (Jun 11 2012)
This tutorial discusses how to generate unstructured meshes using a Matlab code distmesh.m and how to use the mesh in a Matlab Finite Element Solver to solve the Poisson's equation on an unstructured domain. (Jun 8 2012)
This article describes how to interpolate data between a particle and an arbitrary quadrilateral cell used in non-Cartesian grids. The technique is illustrated with several Matlab / Octave examples. The examples show how pick points located inside the polygon, how to classify their position, and how to scatter and gather particle data. (Jun 4 2012)
Tutorial on the simple but important topic of loading particles with uniform spatially distributed velocity. This loading is important when loading background gas for particle simulations or when loading drifting Maxwellian beams. (May 24 2012)
Over the past few weeks, we at PIC-C have been busy integrating VTK (The Visualization Toolkit) into a client’s graphical user interface. The client for this project is a company specializing in CFD software for turbomachinery aerodynamic analysis. The client’s solvers are integrated with a Java-based GUI which allows the user to specify input parameters […] (May 3 2012)
Nonlinear Poisson's equation arises in typical plasma simulations which use a fluid approximation to model electron density. This article describes how to solve the non-linear Poisson's equation using the Newton's method and demonstrates the algorithm with a simple Matlab code. (Apr 30 2012)
Often, a significant code speed up can be accomplished by simply rearranging the way data is stored or accessed in memory. This article compares data access with arrays vs. linked lists, and compares loop ordering for 3D data sets. It also looks at a flat 1D array representation of 3D data via a mapping function. (Apr 22 2012)
Cylindrical and spherical coordinates are just two examples of general orthogonal curvilinear coordinates. In this article we derive the vector operators such as gradient, divergence, Laplacian, and curl for a general orthogonal curvilinear coordinate system. (Jan 16 2012)
VTK is a powerful library for analyzing and visualizing scientific data. This example shows how to develop a simple Java application that uses VTK to render surface geometry, isosurfaces, and cutting planes. (Dec 16 2011)
This article includes the source code for a simple particle in cell code. The code simulates flow of plasma over a charged plate and is written in Matlab. (Nov 28 2011)
Monte Carlo Collisions (MCC) is a simple algorithm for modeling particle collisions in situations where the target species is much denser than the source. In this example we use this method to model the charge-exchange (CEX) process in the plume of an ion thruster. We include an animation and the example Java source code. (Nov 24 2011)