SkillAgentSearch skills...

BEAST.jl

Boundary Element Analysis and Simulation Toolkit

Install / Use

/learn @krcools/BEAST.jl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<picture> <source media="(prefers-color-scheme: dark)" srcset="docs/src/assets/logo_README_white.svg" height="170"> <source media="(prefers-color-scheme: light)" srcset="docs/src/assets/logo_README.svg" height="170"> <img alt="" src="" height="170"> </picture>

Docs-stable MIT license CI codecov.io DOI

Introduction

This Julia package, the boundary element analysis and simulation toolkit (BEAST), provides routines to convert integral and differential equations to linear systems of equations via the boundary element method (BEM) and the finite element method (FEM). To this end, the (Petrov-) Galerkin method is employed.

Currently, the focus is on equations encountered in classical electromagnetism, where frequency and time domain equations are covered. Several operators, basis functions, and geometry representations are implemented.

Documentation

Hello World

To solve scattering of a time-harmonic electromagnetic plane wave by a perfectly conducting sphere:

using CompScienceMeshes
using BEAST

# --- basis functions
Γ  = meshsphere(1.0, 2.5)   # triangulate sphere of radius one
RT = raviartthomas(Γ)       # define basis functions

# --- operators & excitation
𝑇 = Maxwell3D.singlelayer(wavenumber=2.0)                             # integral operator
𝐸 = Maxwell3D.planewave(direction=x̂, polarization=ẑ, wavenumber=2.0)  # excitation
𝑒 = (n × 𝐸) × n # tangential part

# --- compute the RHS and system matrix
e = assemble(𝑒, RT)         # assemble RHS
T = assemble(𝑇, RT, RT)     # assemble system matrix

# --- solve
u = T \ -e

# ... post processing ...
<p align="center"> <img src="docs/src/assets/currentREADME.png" height="240"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="docs/src/assets/currentRealREADME.png" height="240"> </p>
View on GitHub
GitHub Stars87
CategoryDevelopment
Updated17d ago
Forks42

Languages

Julia

Security Score

80/100

Audited on Mar 16, 2026

No findings