QuickField Field Analyzer
Field Analyzer executes JSON Lines (.qfa) scripts to automate QuickField calculations and extract numerical results through ActiveField. The results are saved in JSONL files for further processing.
Field Analyzer complements QuickField Builders, enabling automated workflows from model generation to result extraction, including workflows involving AI-assisted model generation.
How it works
QFA script example
The following script calculates the electromagnetic torque on the rotor of an electric motor using the standard QuickField Magn4 example.
{"version":"1.3"}
{"openProblem":{"file":"Magn4.pbm"}}
{"solveProblem":{"timeout":1200}}
{"checkResult":{}}
{"Contour.Delete":{"EntireContour":true}}
{"Contour.AddBlock":{"labelName":"Cobalt Alloy","near":{"x":0,"y":0}}}
{"Contour.AddBlock":{"labelName":"Magnet","near":{"x":10,"y":0}}}
{"Contour.AddBlock":{"labelName":"Magnet","near":{"x":0,"y":10}}}
{"Contour.AddBlock":{"labelName":"Magnet","near":{"x":-10,"y":0}}}
{"Contour.AddBlock":{"labelName":"Magnet","near":{"x":0,"y":-10}}}
{"GetIntegral":{"id":"RotorTorque","type":"qfInt_MaxwellTorque","properties":["Value","Abs"]}}
The output JSONL file contains the automatically calculated rotor torque of 0.09442093 N·m.
- Accept terms above and download:
Source code and precompiled executable - Full documentation (PDF)