Geometry and meshing#
Planned Outline of a future page.
This page will cover
Drawing a geometry with the gmsh Python API and the helpers of
harmolab/utils/mesh/gmsh_function.py(rectangle_surface,generate_and_save_mesh,setup_performance_config, …).Ready-made parametric antennas: plate, slot, bowtie, IFA, strip (
harmolab/antenna_simulation/scattering_antenna/create_antenna_for_scattering.py), and structured meshes without gmsh (harmolab/optim/geometries/planar.py).Choosing the element size and the gap width (
mesh_and_gap_parameters, default λ/20).Conversion
.msh→.mat(extract_msh_to_mat) and importing MATLAB meshes.Junctions between surfaces and what makes a mesh unusable (non-conforming edges, duplicated nodes), see RWG basis functions.
Adaptive h-refinement (Experimental,
harmolab/utils/refinement/h_refinement_*.py).