Мы тут пообщались и в результате вышла новая версия программы с поддержкой формата источника программ CST STUDIO, HFSS. Добавлен радиолюбительский калькулятор величин.
https://drive.google.com/file/d/1HUKgJfSqnq_sq9ZuUsJr9PxhiYEMU4Us/view?usp=sharingCST FFS Antenna Calculator v1.9.0 — HFSS FFD compatibility
===========================================================
UI
--
Two independent import actions:
• Открыть FFS — CST *.ffs parser
• Открыть FFD — Ansys HFSS *.ffd parser
The selected format is remembered for the «Рассчитать» action.
HFSS FFD support
----------------
• Theta-Phi angular coordinate definition.
• Grid header: Theta start/stop/count, Phi start/stop/count.
• Complex field rows: Re(Etheta), Im(Etheta), Re(Ephi), Im(Ephi).
• Frequency-dependent files with "Frequencies N" / "Frequency <Hz>".
• Single-frequency/legacy files without explicit Frequency line; UI frequency is then used for phase calculations.
• Numeric field delimiters accepted: whitespace, comma, semicolon.
• Decimal separator expected from HFSS export: dot (e.g. 1.234e-3).
• ElOverAz/AzOverEl is rejected explicitly rather than silently interpreted as Theta-Phi.
Architecture
------------
HfssFfdParser converts the selected HFSS field block into the same normalized
Phi/Theta + complex Etheta/Ephi stream used by the validated CST core.
Therefore 2D/3D, spillover, taper, Ludwig-3/circular polarization and phase-center
analysis share one downstream implementation.
Validation performed
--------------------
1. Pure Kotlin compilation passed for:
AntennaMath.kt, PhaseAnalysis.kt, FfsParser.kt, HfssFfdParser.kt, SystemPattern3D.kt.
2. Synthetic HFSS FFD, Theta-Phi 3x3, 2.4 GHz:
comma delimiter -> parsed OK
semicolon -> parsed OK
whitespace -> parsed OK
3. CST regression with UA1FAD_23cm_FEED.ffs @ 1.3 GHz unchanged:
samples raw/used = 65341 / 65160
Directivity = 6.288416062 dBi
Spillover = 0.9690946932
Taper = 0.7567641109
Phase center Z = +0.129522866 m
eta_phase(origin) = 0.4367975879
4. No full Android APK build was claimed: Android SDK/complete Gradle Android toolchain
is not available in this execution environment.
Reference
---------
Ansys HFSS documentation: Far Field Data (*.ffd) exports contain angular-grid
metadata, optional frequency blocks, and four complex field columns. For Theta-Phi,
the second angle is the outer loop.
CST FFS Antenna Calculator v1.10.0 — HAM Tools
New fourth tab: HAM
Calculators:
1. dBm -> W / mW
2. RF power in load: W, dBm, Vrms, Vpeak, Vpp, arbitrary R (default 50 ohm)
3. Frequency -> wavelength; 1/4, 1/2, 5/8 wavelength with velocity factor
4. Free-space path loss (MHz + km)
5. EIRP / ERP from TX dBm, antenna gain dBi, cable loss dB
6. SWR -> |Gamma|, Return Loss, Mismatch Loss, reflected-power percentage
7. Thermal noise kTB; Noise Figure -> Noise Factor and equivalent noise temperature
8. Skin depth from frequency and conductivity
9. Physical constants
10. Common amateur reference bands from 160 m through 24.048 GHz
Constants:
c = 299792458 m/s
k = 1.380649e-23 J/K
e = 1.602176634e-19 C
mu0 = 1.25663706212e-6 H/m
epsilon0 = 8.8541878128e-12 F/m
Z0 = 376.730313668 ohm
T0 = 290 K
Numerical spot checks:
30 dBm = 1 W
40 dBm = 10 W
50 dBm = 100 W
lambda(1296 MHz) = 0.2313213410 m
FSPL(1296 MHz, 100 km) = 134.699883 dB
Preserved from v1.9.2:
- CST FFS + HFSS FFD separate import
- complete frequency list
- FFS origin Position
- phase center and phase efficiency
- 2D
- 3D virtual trackball/quaternion, pinch zoom, pan, inertia, PNG
- TXT/CSV export
versionCode=1100
versionName=1.10.0
Build note:
Full Android Gradle build is not claimed in this environment.