# Latest

**URL:** https://bempp.discourse.group/latest.md?page=2

[Latest](https://bempp.discourse.group/latest.md) · [Categories](https://bempp.discourse.group/categories.md)

**Page:** 3

---

## ["BlockedDiscreteOperator" in Bempp-cl?](https://bempp.discourse.group/t/blockeddiscreteoperator-in-bempp-cl/211)

<div class="topic-metadata">

**Author:** [@jnick](https://bempp.discourse.group/u/jnick)\
**Replies:** 2\
**Last updated:** [17 October 2023 11:34 UTC](https://bempp.discourse.group/t/blockeddiscreteoperator-in-bempp-cl/211 "2023-10-17T11:34:33Z")

</div>

Dear Bempp-cl team, when attempting to port my code to bempp-cl, I found that the “bempp.api.BlockedDiscreteOperator” functionality is not directly implemented in the new version. Do you have a recommendation on how to…

---

## [Controlling the order of Gaussian quadrature](https://bempp.discourse.group/t/controlling-the-order-of-gaussian-quadrature/210)

<div class="topic-metadata">

**Author:** [@peterjohnston](https://bempp.discourse.group/u/peterjohnston)\
**Replies:** 1\
**Last updated:** [6 October 2023 13:32 UTC](https://bempp.discourse.group/t/controlling-the-order-of-gaussian-quadrature/210 "2023-10-06T13:32:11Z")

</div>

Hello, I have written a code for solving Laplace’s equation which works well on some grids but not so well when there is a short distance from an element to another node point. I would like to try increasing the order o…

---

## [Support for finite surface conductivity with Maxwell boundary conditions?](https://bempp.discourse.group/t/support-for-finite-surface-conductivity-with-maxwell-boundary-conditions/213)

<div class="topic-metadata">

**Author:** [@jere](https://bempp.discourse.group/u/jere)\
**Replies:** 0\
**Last updated:** [4 October 2023 17:00 UTC](https://bempp.discourse.group/t/support-for-finite-surface-conductivity-with-maxwell-boundary-conditions/213 "2023-10-04T17:00:29Z")

</div>

Hello - I’m looking into the use of the BEMPP tool for planar (PCB) antenna applications with the Maxwell (electromagnetic) boundary conditions that include multiple feed ports. I’ve found the examples that demonstrate t…

---

## [Error in calculating grid function in a particular grid](https://bempp.discourse.group/t/error-in-calculating-grid-function-in-a-particular-grid/207)

<div class="topic-metadata">

**Author:** [@AsaWoojunLee](https://bempp.discourse.group/u/AsaWoojunLee)\
**Replies:** 1\
**Last updated:** [26 September 2023 00:06 UTC](https://bempp.discourse.group/t/error-in-calculating-grid-function-in-a-particular-grid/207 "2023-09-26T00:06:04Z")

</div>

Hello, I am Woojun Lee and a PhD student at ECE department of Virginia tech. I am just trying to use Bempp to calculate impedance on a two-ported microstrip structure. For that, I meshed a cuboid structure with some h…

---

## [Error in tutorial related to fenicsx](https://bempp.discourse.group/t/error-in-tutorial-related-to-fenicsx/192)

<div class="topic-metadata">

**Author:** [@Mk2020](https://bempp.discourse.group/u/Mk2020)\
**Replies:** 3\
**Last updated:** [20 July 2023 13:56 UTC](https://bempp.discourse.group/t/error-in-tutorial-related-to-fenicsx/192 "2023-07-20T13:56:29Z")

</div>

Hi everyone, I want to use Fenicsx together with Bempp to calculate a double-layer potential. When running the tutorial “Simple FEM-BEM coupling for the Helmholtz equation with FEniCSx” I get an error. How I can fix tha…

---

## [Simulation crashed on an Electromagnetic scatteirng problem](https://bempp.discourse.group/t/simulation-crashed-on-an-electromagnetic-scatteirng-problem/182)

<div class="topic-metadata">

**Author:** [@mandyxmq](https://bempp.discourse.group/u/mandyxmq)\
**Replies:** 2\
**Last updated:** [15 July 2023 16:05 UTC](https://bempp.discourse.group/t/simulation-crashed-on-an-electromagnetic-scatteirng-problem/182 "2023-07-15T16:05:31Z")

</div>

I copied my github issue report here in case people in the forum have encountered this before. Hi, I tried Bempp on electromagnetic scattering problems and the jupyter kernel crashed. The simulation was running for seve…

---

## [Running minial example: gmsh returned non-zero exit status 1](https://bempp.discourse.group/t/running-minial-example-gmsh-returned-non-zero-exit-status-1/199)

<div class="topic-metadata">

**Author:** [@electroflow](https://bempp.discourse.group/u/electroflow)\
**Replies:** 2\
**Last updated:** [17 June 2023 04:47 UTC](https://bempp.discourse.group/t/running-minial-example-gmsh-returned-non-zero-exit-status-1/199 "2023-06-17T04:47:59Z")

</div>

Hi all, I am running Windows 10 with Python 3.11. I have installed bmepp and gmsh using pip. When running import bempp.api import numpy as np grid = bempp.api.shapes.sphere(h=0.1) I get the Error Command ‘C:\\progra…

---

## [Electromagnetic simulation of a dielectric cube backed by a PEC ground](https://bempp.discourse.group/t/electromagnetic-simulation-of-a-dielectric-cube-backed-by-a-pec-ground/195)

<div class="topic-metadata">

**Author:** [@qiank10](https://bempp.discourse.group/u/qiank10)\
**Replies:** 1\
**Last updated:** [8 June 2023 03:18 UTC](https://bempp.discourse.group/t/electromagnetic-simulation-of-a-dielectric-cube-backed-by-a-pec-ground/195 "2023-06-08T03:18:58Z")

</div>

Hello, I am new to BEMPP and want to use it to simulate the scattering field of a dielectric cube backed by a PEC ground. The structure is illustrated in the figure below. Following the two tutorial examples (flat sc…

---

## [RBC space on concentric spheres](https://bempp.discourse.group/t/rbc-space-on-concentric-spheres/188)

<div class="topic-metadata">

**Author:** [@Chayma](https://bempp.discourse.group/u/Chayma)\
**Replies:** 1\
**Last updated:** [3 May 2023 10:36 UTC](https://bempp.discourse.group/t/rbc-space-on-concentric-spheres/188 "2023-05-03T10:36:48Z")

</div>

Hi, I’m using BEMPP to solve the Maxwell problem on two concentric spheres. sphere0 = bempp.api.shapes.sphere(r=0.5, origin=(0, 0, 0), h=.2) sphere1=bempp.api.shapes.sphere(r=1, origin=(0,0,0), h=.2) grid = bempp.api.g…

---

## [Duffy transformation for singular integration](https://bempp.discourse.group/t/duffy-transformation-for-singular-integration/185)

<div class="topic-metadata">

**Author:** [@akalinin](https://bempp.discourse.group/u/akalinin)\
**Replies:** 1\
**Last updated:** [25 April 2023 07:25 UTC](https://bempp.discourse.group/t/duffy-transformation-for-singular-integration/185 "2023-04-25T07:25:05Z")

</div>

Hello! Thanks for the great project! I have a question about singular and hypersingular integration for the Laplace kernel. As far as I understand, the BEMPP uses the Duffy transformation for integration. Could you plea…

---

## [How to specify boundary conditions when multiple objects share boundary?](https://bempp.discourse.group/t/how-to-specify-boundary-conditions-when-multiple-objects-share-boundary/181)

<div class="topic-metadata">

**Author:** [@Kris](https://bempp.discourse.group/u/Kris)\
**Replies:** 0\
**Last updated:** [20 March 2023 07:18 UTC](https://bempp.discourse.group/t/how-to-specify-boundary-conditions-when-multiple-objects-share-boundary/181 "2023-03-20T07:18:00Z")

</div>

For example, consider the problem of finding the electric potential (Laplace problem) inside 2 concentric dielectric spheres of different conductivities ε1 and ε2 outside and inside respectively (homogeneous, isotropic w…

---

## [Unbaffled plate acoustic radiation](https://bempp.discourse.group/t/unbaffled-plate-acoustic-radiation/119)

<div class="topic-metadata">

**Author:** [@MattC](https://bempp.discourse.group/u/MattC)\
**Replies:** 3\
**Last updated:** [10 March 2023 10:37 UTC](https://bempp.discourse.group/t/unbaffled-plate-acoustic-radiation/119 "2023-03-10T10:37:49Z")

</div>

Dear Bempp users, I would to simulate the radiation of an unbaffled rectangular thin plate under motion below 1Khz. To do so, I defined a velocity field on both rectangle faces, as follow: plate = bempp.api.shapes.cub…

---

## [Creation of empty grid](https://bempp.discourse.group/t/creation-of-empty-grid/170)

<div class="topic-metadata">

**Author:** [@marc.jofre](https://bempp.discourse.group/u/marc.jofre)\
**Replies:** 2\
**Last updated:** [24 January 2023 19:12 UTC](https://bempp.discourse.group/t/creation-of-empty-grid/170 "2023-01-24T19:12:02Z")

</div>

Hi all, Could it be possible to initialize and empty grid? For spaces like: grid=Empty ??? div\_space = bempp.api.function\_space(grid, “RWG”, 0) curl\_space = bempp.api.function\_space(grid, “SNC”, 0)

---

## [PlotGrids and GridFunctions in Google Colab](https://bempp.discourse.group/t/plotgrids-and-gridfunctions-in-google-colab/167)

<div class="topic-metadata">

**Author:** [@marc.jofre](https://bempp.discourse.group/u/marc.jofre)\
**Replies:** 1\
**Last updated:** [24 January 2023 18:22 UTC](https://bempp.discourse.group/t/plotgrids-and-gridfunctions-in-google-colab/167 "2023-01-24T18:22:36Z")

</div>

Hi, I could not plot grids in Google Colab. I amanaged to show them with the below code: def Bempp\_configure\_plotly\_browser\_state(): import IPython display(IPython.core.display.HTML(''' \<script src="/…

---

## [Can bempp-cl be used to solve large size Maxwell's problems?](https://bempp.discourse.group/t/can-bempp-cl-be-used-to-solve-large-size-maxwells-problems/166)

<div class="topic-metadata">

**Author:** [@jntu2023](https://bempp.discourse.group/u/jntu2023)\
**Replies:** 0\
**Last updated:** [6 January 2023 19:38 UTC](https://bempp.discourse.group/t/can-bempp-cl-be-used-to-solve-large-size-maxwells-problems/166 "2023-01-06T19:38:15Z")

</div>

While learning to use bempp-cl, I encountered a number of problems. I have posted segmentation faults problem when running EM tutorial example. One response is that using opencl to fix the problem. For large problem, sa…

---

## [Segmentation fault in](https://bempp.discourse.group/t/segmentation-fault-in/163)

<div class="topic-metadata">

**Author:** [@jntu2023](https://bempp.discourse.group/u/jntu2023)\
**Replies:** 4\
**Last updated:** [6 January 2023 01:37 UTC](https://bempp.discourse.group/t/segmentation-fault-in/163 "2023-01-06T01:37:45Z")

</div>

I am learning to use Bempp-cl. Wen I ran the code of tutorial example “Electromagnetic scattering from flat screens”, I got segmentation fault (core dumped) at the statement incident\_field\_data = incident\_field(points) …

---

## [Input impedance patch antenna vs. feed point - example](https://bempp.discourse.group/t/input-impedance-patch-antenna-vs-feed-point-example/164)

<div class="topic-metadata">

**Author:** [@marc.jofre](https://bempp.discourse.group/u/marc.jofre)\
**Replies:** 1\
**Last updated:** [4 January 2023 18:15 UTC](https://bempp.discourse.group/t/input-impedance-patch-antenna-vs-feed-point-example/164 "2023-01-04T18:15:53Z")

</div>

Hi, Below I attach the code and results (it can be improved) when experimenting with computing the input impedance of a patch antenna - assuming a feed point/probe model. The resistance part should follow cos^2(distance…

---

## [Inconsistent results when using boundary operator for maxwell's equations](https://bempp.discourse.group/t/inconsistent-results-when-using-boundary-operator-for-maxwells-equations/154)

<div class="topic-metadata">

**Author:** [@chris](https://bempp.discourse.group/u/chris)\
**Replies:** 3\
**Last updated:** [31 December 2022 13:50 UTC](https://bempp.discourse.group/t/inconsistent-results-when-using-boundary-operator-for-maxwells-equations/154 "2022-12-31T13:50:14Z")

</div>

Hello, The results that I get when using the solver are inconsistent. I have the following two examples. I use the following code for the two examples: import bempp.api import numpy as np # example 1: plate with four …

---

## [Source driven problem using Method of Moments](https://bempp.discourse.group/t/source-driven-problem-using-method-of-moments/40)

<div class="topic-metadata">

**Author:** [@rsends](https://bempp.discourse.group/u/rsends)\
**Replies:** 6\
**Last updated:** [31 December 2022 12:36 UTC](https://bempp.discourse.group/t/source-driven-problem-using-method-of-moments/40 "2022-12-31T12:36:32Z")

</div>

Hello, I am attempting to solve the following problem where I have a microstrip, and I excite the edge m using method of moments (MoM) . This is related to a previous post but it is a different question, which is why I …

---

## [Identify point to a DOF - Source drive](https://bempp.discourse.group/t/identify-point-to-a-dof-source-drive/161)

<div class="topic-metadata">

**Author:** [@marc.jofre](https://bempp.discourse.group/u/marc.jofre)\
**Replies:** 2\
**Last updated:** [28 December 2022 20:38 UTC](https://bempp.discourse.group/t/identify-point-to-a-dof-source-drive/161 "2022-12-28T20:38:53Z")

</div>

Hi, I am trying to define a source at a specific vertice of the mesh grid. How can I identify a specific point (x,y,z) to set a specific coefficient (e.g., 1.0+1j\*0.0)? bempp.api.GridFunction(div\_space, coefficients=co…

---

## [Electromagnetic Source driven with dielectric - Patch antenna](https://bempp.discourse.group/t/electromagnetic-source-driven-with-dielectric-patch-antenna/160)

<div class="topic-metadata">

**Author:** [@marc.jofre](https://bempp.discourse.group/u/marc.jofre)\
**Replies:** 2\
**Last updated:** [28 December 2022 20:43 UTC](https://bempp.discourse.group/t/electromagnetic-source-driven-with-dielectric-patch-antenna/160 "2022-12-28T20:43:18Z")

</div>

Hi, I try to model electromagnetic radiation from a patch antenna. In particular, I am not sure on the considerations for computing correctly the fields when a dielectric is present. Would appreciate help on the defini…

---

## [How to use BEMPP for Source Driven EM Problems](https://bempp.discourse.group/t/how-to-use-bempp-for-source-driven-em-problems/25)

<div class="topic-metadata">

**Author:** [@rsends](https://bempp.discourse.group/u/rsends)\
**Replies:** 14\
**Last updated:** [15 October 2020 08:46 UTC](https://bempp.discourse.group/t/how-to-use-bempp-for-source-driven-em-problems/25 "2020-10-15T08:46:57Z")

</div>

Hey, I am new to BEMPP, and I am trying to solve a driven source problem. Specifically, I am trying to define a source at a specific edge of the mesh of my geometry. How would I go about and identifying the edge to fla…

---

## [Inconsistent results when using boundary operator for maxwell's equations](https://bempp.discourse.group/t/inconsistent-results-when-using-boundary-operator-for-maxwells-equations/152)

<div class="topic-metadata">

**Author:** [@chris](https://bempp.discourse.group/u/chris)\
**Replies:** 0\
**Last updated:** [15 December 2022 15:02 UTC](https://bempp.discourse.group/t/inconsistent-results-when-using-boundary-operator-for-maxwells-equations/152 "2022-12-15T15:02:41Z")

</div>

Hello, The results that I get when using the solver are inconsistent. I have the following two examples. I use the following code for the two examples: import bempp.api import numpy as np # example 1: plate with four …

---

## [How to monitor convergence?](https://bempp.discourse.group/t/how-to-monitor-convergence/148)

<div class="topic-metadata">

**Author:** [@chellia](https://bempp.discourse.group/u/chellia)\
**Replies:** 2\
**Last updated:** [28 October 2022 20:21 UTC](https://bempp.discourse.group/t/how-to-monitor-convergence/148 "2022-10-28T20:21:47Z")

</div>

Hi. Thanks for the wonderful software. I am wondering if there is a way to monitor the convergence of the solver. I am solving a quite large problem (just a plane wave scattering problem on an object at 8kHz - it takes a…

---

## [Tutorial for using Fenics and Bempp](https://bempp.discourse.group/t/tutorial-for-using-fenics-and-bempp/150)

<div class="topic-metadata">

**Author:** [@pqyalice](https://bempp.discourse.group/u/pqyalice)\
**Replies:** 0\
**Last updated:** [28 October 2022 15:44 UTC](https://bempp.discourse.group/t/tutorial-for-using-fenics-and-bempp/150 "2022-10-28T15:44:25Z")

</div>

Hi, I am already a user of Fenics and I would like to use the Bempp, so I was looking up on the tutorial page of Bempp, however, the link for the two examples related to Fenics completely does not work. Could you please…

---

## [Issues using GPU](https://bempp.discourse.group/t/issues-using-gpu/146)

<div class="topic-metadata">

**Author:** [@Gustavo](https://bempp.discourse.group/u/Gustavo)\
**Replies:** 0\
**Last updated:** [19 September 2022 14:51 UTC](https://bempp.discourse.group/t/issues-using-gpu/146 "2022-09-19T14:51:26Z")

</div>

Hi! I’ve currently downloaded on a new machine the latest docker bempp/cl-notebook:latest. However, on this machine, when running bempp I get a segmentation fault. This does not happens with the numba docker image. In…

---

## [How to import a CAD or GMSH files](https://bempp.discourse.group/t/how-to-import-a-cad-or-gmsh-files/138)

<div class="topic-metadata">

**Author:** [@nkatte](https://bempp.discourse.group/u/nkatte)\
**Replies:** 4\
**Last updated:** [5 July 2022 15:11 UTC](https://bempp.discourse.group/t/how-to-import-a-cad-or-gmsh-files/138 "2022-07-05T15:11:15Z")

</div>

I tried to import a .msh file with no success. I used grid = bempp.api.import\_grid(‘my\_grid.msh’) it does not work for me. It does not recognise .imprt\_grid. How can I solve this problem? Kind regards,

---

## [Modified Green's function](https://bempp.discourse.group/t/modified-greens-function/140)

<div class="topic-metadata">

**Author:** [@jan](https://bempp.discourse.group/u/jan)\
**Replies:** 1\
**Last updated:** [4 July 2022 13:40 UTC](https://bempp.discourse.group/t/modified-greens-function/140 "2022-07-04T13:40:58Z")

</div>

Hi Matthew and Timo, there is a new problem for me to solve and so a new question for you :slight\_smile: I would like to consider an integral operator which is not implemented yet, so e.g. something like (K\\phi)(x) = …

---

## [Sparse Efficiency Warning](https://bempp.discourse.group/t/sparse-efficiency-warning/110)

<div class="topic-metadata">

**Author:** [@Gustavo](https://bempp.discourse.group/u/Gustavo)\
**Replies:** 2\
**Last updated:** [29 April 2022 12:50 UTC](https://bempp.discourse.group/t/sparse-efficiency-warning/110 "2022-04-29T12:50:27Z")

</div>

Hi, I am totally new to BEMPP and I am still figuring out how to do some stuff. Everytime I ran some code I find here in the Discourse, most of the times I get this warning: SparseEfficiencyWarning: splu requires CSC …

---

## [Fail to import the package "bempp.api"](https://bempp.discourse.group/t/fail-to-import-the-package-bempp-api/127)

<div class="topic-metadata">

**Author:** [@changyan](https://bempp.discourse.group/u/changyan)\
**Replies:** 3\
**Last updated:** [29 April 2022 12:44 UTC](https://bempp.discourse.group/t/fail-to-import-the-package-bempp-api/127 "2022-04-29T12:44:22Z")

</div>

Hi BEMPP team, I’m trying to use BEMPP-CL for the first time. I want to install the package directly on my pc. However, I fail to import the package “bempp.api” at the beginning of my script. It told me that “Gmsh is no…

[Previous page](https://bempp.discourse.group/latest.md?page=1)

[Next page](https://bempp.discourse.group/latest.md?page=3)
