Get the plot data in comsol application program

Comsol is good at post processing and visualization. However some special analysis is necessary in the comsol application program. For example, determine to mode number in special direction after a eigen mode analysis. The comsol can plot the electrical field along a line but it doesn’t tell the mode number. We have to write some … Read more

Golang VScode debug config

Go is an open source programming language. It is usually called modern C language. I think it is suitable for scientific computation in electromagnetic because it is support the complex number computation. So I tried to use it to solve a complex ordinary differential equations. Development Environment VScode is a free and popular development IDE … Read more

Weak form of Helmholtz equation

Weak form is an important tool for the analysis of electromagnetic problems. It is a bridge from the partial differential equations to the linear algebra. For example, the Helmholtz equation with wave number \(k_c\) is \(\nabla_t^2 \phi+k_c^2 \phi=0\) It is so-called “strong form”, in which the unknow is in the 2nd order differential operator. It … Read more