Skip to content

Automation

Automation helpers are useful when you want a fast, reproducible starting point without hand-deriving every simulation parameter.

HelperSignatureWhat it does
auto_configureauto_configure(geometry, freq_range, materials=None, accuracy="standard", boundary="cpml", dx_override=None, margin_override=None, n_steps_override=None, max_memory_mb=None)derives mesh, margin, and run budget from geometry + frequency range
Simulation.autoSimulation.auto(freq_range, accuracy="standard", **kwargs)convenience constructor for a full simulation
smooth_gradingmesh-profile smoothing helperused by current crossval workflows for graded z-profiles
apply_thirds_rulefeature-aware mesh helperused when derived meshes need conservative refinement
from rfx import Simulation, auto_configure
cfg = auto_configure(geometry, freq_range=(1.5e9, 3.5e9), accuracy="standard")
sim = Simulation(**cfg.to_sim_kwargs())
  • Use it for first-pass setup, not as a replacement for design review.
  • Keep the derived mesh and domain visible in public examples.
  • Promote the result only after it matches the support matrix and validation evidence for the intended lane.

The newest thin-substrate crossval scripts use smooth_grading() to build non-uniform z-profiles around the substrate. That is useful workflow evidence, but it does not by itself promote the graded-z lane to the claims-bearing reference surface.