QuickField Student Edition

User manual

Data Libraries

Free tools

Main >> Downloads

QuickField Problem Builder

QuickField Problem Builder is a lightweight utility that interacts with QuickField installed on the same computer and automatically generates QuickField problem (.pbm) by executing commands from a script file (.qfp) in sequence.

The program is written in Python, and both the source code and a precompiled executable are available for download from the QuickField web site.

Program Launch Options

Problem Builder can be started with or without command-line parameters:

problem_builder.exe [/h] [filepath]

If problem_builder.exe is launched without parameters, it opens a graphical user interface where the user can choose a script file manually.

QuickField Problem Builder Scripts

A Problem Builder script (.qfp) is a plain text file in JSON format where each line is interpreted as a command.

Supported Commands

{"version":"1.0"}

Specifies the version of this file format.

{"open":fileName}

Opens an existing QuickField problem file (.pbm) or creates a new problem if the file does not exist. If fileName is omitted, a new problem is created with the default name Problem1.

{"analysis":string}

Sets the problem type. The string could be ms (magnetostatics), he (AC magnetics), tem (transient magnetics), es (electrostatics), cf (DC conduction), ec (AC conduction), tv (transient electric), sht (steady-state heat transfer), tht (transient heat transfer), sa (stress analysic)

{"problemClass":string}

Sets the "plane-parallel" or "axisymmetric" problem class. The default is plane-parallel.

{"units": string}

Sets the length units for the problem. Available values: um, mm, cm, m, km, in, mil, ft, ml. If the parameter is omitted, the default unit is meter.

{"coordinates":string}

Sets the Cartesian ("cartesian") or polar ("polar") coordinate system. The default is plane-parallel.

{"frequency":number}

Sets the frequency in AC magnetics or AC conduction problem. The default is 50 Hz.

{"frequency":number}

Sets the frequency in AC magnetics or AC conduction problem. The default is 50 Hz.

{"ZLength":number}

Sets the LZ parameter for plane-parallel problems.

{"Formulation":string}

Sets "plane stress" or "plane strain" formulation for plane-parallel Stress Analysis problems.

{"modelBuilder":fileName}

Path to a qfs-file to be processed by the Model Builder.

{"dataBuilder":fileName}

Path to a qfd-file to be processed by the Data Builder.

{"save":fileName}

Saves the problem. If fileName is omitted, the problem is saved under the name used when it was opened or created.

Edit and preview

Here you can edit or create a script and instantly debug it:

List of commands:

Log: