QuickField Student Edition

User manual

Data Libraries

Free tools

Main >> Downloads

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

Field Analyzer workflow QFA instructions are executed by Field Analyzer through ActiveField and QuickField; Analyzer writes results to a JSONL file. QFA script.qfa Field AnalyzerQFA 1.3 ActiveFieldCOM API QuickField.pbm / .res Output JSONL.jsonl

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.