3-D field validation (cufem3d)
The 3-D lane. Geometry → mesh → a 3-D magnetostatic edge-element solve → the magnetic field and flux, with a relative-error field verdict and a VTU field artifact. 3-D geometry and field validation are available today; a validated full 3-D motor torque figure is on the roadmap.
What it does
- Imports or builds a 3-D geometry (STEP / STP / IGES / STL) and meshes it.
- Assembles and solves the 3-D magnetostatic problem with edge (Nédélec) elements — the correct family for 3-D magnetic fields.
- Returns the magnetic field / flux density as a VTU artifact you can open in ParaView.
- Reports a field-validation verdict: the relative error of the computed field against a reference, against a declared tolerance — PASS only inside it.
- Runs on CPU (edge-element), is free-trial eligible, costs 1 credit, finishes in a few minutes.
What it does not claim
Run it in the app
Open New analysis, choose 3-D field validation, optionally upload a 3-D geometry (or use the built-in reference case), and submit. Track it in the Queue; the finished result carries the field verdict and the VTU field artifact.
Run it from Python
import os from cufemlab_client import Client client = Client(api_key=os.environ["CUFEMLAB_API_KEY"]) project = client.create_project("3-D field validation") # optional: upload a 3-D geometry; omit to use the built-in reference case job = client.analyze( project_id=project.id, analysis_type="cufem3d_field_validation", input_params={}, ) job.wait(poll_interval=10) r = job.result() print(r.verdict) # PASS if the field relative error is inside tolerance print(r.value) # a field-validation metric, NOT a torque
Reading the result
- verdict — PASS / FAIL against the declared field tolerance.
- value / metrics — the relative field error and mesh statistics.
- artifact — a VTU field/flux file for ParaView.
For the engine-level notebook version of this 3-D pipeline, see cufem in Jupyter. For the full example set, see Examples & recipes.
Two lanes
2-D cogging / torque
Cross-checked vs FEMM/GetDP with a per-run validation card — the audit-grade path. See the motor workflow.
3-D field validation
3-D geometry, mesh and magnetic field/flux with a relative-error verdict. 3-D torque is on the roadmap.