Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Notices by ComPhys (comphys@qoto.org)

  1. ComPhys (comphys@qoto.org)'s status on Monday, 19-Aug-2019 21:16:39 UTC ComPhys ComPhys

    I needed to perform a numerical integral of a function I knew very little about. I tried to get decent resolution by having small slices in my integration.

    Python was pretty slow to perform the integration, so I thought I'd have a look at writing it in c++. I haven't used c++ for ages, but eventually I got it working.

    I then needed to plot the result of my integration against measured data, so I wanted access to my c++ functions in python, where I do my plotting.

    Finally got my c++ functions imported into python using PyBind11 and I must say, it works amazingly well, I think it's well documented and the examples were great. Vectorising my functions so that I can run them for a whole numpy array of values was genuinely super-easy. I'm very impressed! Thanks to all the devs =]

    In conversation Monday, 19-Aug-2019 21:16:39 UTC from qoto.org permalink
  2. ComPhys (comphys@qoto.org)'s status on Friday, 16-Aug-2019 16:39:27 UTC ComPhys ComPhys
    in reply to
    • 🎓 Dr. Freemo :jpf: 🇳🇱
    • freemo

    @freemo @freemo I'll sign up & upload my geometry making videos here, the instance I used originally has been down for a while now.

    In conversation Friday, 16-Aug-2019 16:39:27 UTC from qoto.org permalink
  3. ComPhys (comphys@qoto.org)'s status on Wednesday, 12-Dec-2018 21:32:11 UTC ComPhys ComPhys

    After a couple of months without a new post I've started writing about simulating charge distributions, rather than just boundary value problems. I'll explain how #FEniCS can calculate the electrostatic fields of arbitrarily shaped charge densities, which are specified with mesh subdomains. These will have hard edges for now but I want to look into having more general charge distributions.

    I've also run 3D simulations for calculating capacitances between arbitrarily shaped conductors and 2D linear dielectrics. I need to do some more testing & comparison with other FEA tools/ analytical methods before I publish any posts. Seems to be going well though!

    In conversation Wednesday, 12-Dec-2018 21:32:11 UTC from qoto.org permalink
  4. ComPhys (comphys@qoto.org)'s status on Thursday, 27-Sep-2018 19:46:40 UTC ComPhys ComPhys

    I was reading the help files of a well-known commercial microwave FEA package and it suggested calculating characteristic impedance from the power and voltage rather than finding the current directly.

    This way doesn't require surface normals or line integrals which my previous methods did, so it's probably better (easier to do anyway). I've added this into my TEM mode post - https://comphysblog.wordpress.com/2018/09/06/tem-mode-analysis-with-fenics/

    In conversation Thursday, 27-Sep-2018 19:46:40 UTC from qoto.org permalink

    Attachments


  5. ComPhys (comphys@qoto.org)'s status on Monday, 10-Sep-2018 23:16:45 UTC ComPhys ComPhys

    Small update to the TEM mode analysis with #FEniCS example.

    I've added in a calculation for the mutual capacitance and self-inductance per unit length of the transmission line.

    https://comphysblog.wordpress.com/2018/09/06/tem-mode-analysis-with-fenics/

    #opensource #physics #python #ham

    In conversation Monday, 10-Sep-2018 23:16:45 UTC from qoto.org permalink
  6. ComPhys (comphys@qoto.org)'s status on Thursday, 06-Sep-2018 22:06:39 UTC ComPhys ComPhys

    I've just finished my new post: TEM mode analysis with #FEniCS an #opensource finite element differential equation solver. https://comphysblog.wordpress.com/2018/09/06/tem-mode-analysis-with-fenics/

    In this post I calculate the electric and magnetic fields on a coaxial cable, characteristic impedance of the line, the Poynting vector, the conductor and dielectric loss, an estimated loss coefficient, Q-factor and s-parameter for a given length of cable.

    Coax has been a useful example for comparisons with analytical results but the methods are very general. TEM modes of systems with different geometries can also be analysed with the exact same techniques!

    Very happy to hear any comments, corrections or suggestions.

    #physics #ham #python

    In conversation Thursday, 06-Sep-2018 22:06:39 UTC from qoto.org permalink

    Attachments


  7. ComPhys (comphys@qoto.org)'s status on Tuesday, 28-Aug-2018 20:37:57 UTC ComPhys ComPhys

    Starting my next post which will be about the TEM mode on a two-conductor transmission line. Specifically I'll be looking at a coaxial geometry and using #FEniCS to calculate the field distributions, the characteristic impedance and the Poynting vector. Just had a go and it all seems to be working.

    While I'll focus on a coaxial geometry the method can be extended to more complicated geometries just by changing the mesh & boundaries. I've just had a go at an odd mode impedance and it came out just right!

    The best thing about this post will be how easy it is.

    #physics #electromagnetism #HAM #radio #Maxwell #opensource #python

    In conversation Tuesday, 28-Aug-2018 20:37:57 UTC from qoto.org permalink
  8. ComPhys (comphys@qoto.org)'s status on Sunday, 26-Aug-2018 23:01:13 UTC ComPhys ComPhys

    3D electrostatics example using #FEniCS. In this example I solve the Laplace equation for two concentric spheres to obtain an electric potential and take the gradient to find the electric field. The results are then compared with an analytical solution.

    The geometry is produced in FreeCAD and the mesh/ boundaries produced with Gmsh.

    https://comphysblog.wordpress.com/2018/08/26/3d-electrostatics-using-fenics/

    Please let me know if you have comments or corrections!

    #physics #electromagnetism #opensource #python

    In conversation Sunday, 26-Aug-2018 23:01:13 UTC from qoto.org permalink

User actions

    ComPhys

    ComPhys

    This blog is dedicated to physics and computing, with a current focus on solving electromagnetic problems using open source tools. I work in particle beam diagnostics and am a PhD student studying the interaction of particle beams with their surroundings as well as the associated dynamics. I'm Interested in anything related to particle accelerators, beam dynamics, detectors, electromagnetism and computing for science. I also enjoy tennis, fountain pens, fantasy & sci-fi books and board games.

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          12736
          Member since
          26 Aug 2018
          Notices
          8
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • Privacy
          • Source
          • Version
          • Contact

          Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.