Skip to content
المشاريع

حول

Parse any CAE file for AI agent

الذكاء الاصطناعي وتعلّم الآلة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+٥
خلال 15 يومًا
+٥
خلال شهر
+١٤

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

sim

sim reads existing CAE files and turns them into structured text an agent can use — without launching the solver.

uv init                  # only if this is not already a uv project
uv add sim-cli-core
uv run sim --json scan ./historical-cases

One call covers a whole folder. No solver, no license server, no vendor SDK. The parsing engine scans roughly 4–20× faster than an equivalent Python script (benchmark). Output is bounded so a large scan fits in an agent's context, and absolute paths are redacted by default.

$ uv run sim --json scan ./cases/beam.inp --full
{"schema_version": "sim.scan/v1",
 "assets": [{"file_name": "beam.inp", "format": "abaqus-inp",
   "summary": {"data": {"title": "Cantilever beam thermal-stress",
     "node_count": 3, "element_count": 1, "materials": ["STEEL"],
     "steps": ["STATIC"], "boundary_keywords": ["BOUNDARY"],
     "load_keywords": ["CLOAD"], "output_keywords": ["NODE PRINT"]}}}]}

(abridged — the full envelope also carries ok, engine, request and a roll-up summary.)

Supported files

Solver Files --format id
COMSOL .mph comsol-mph
Abaqus .inp, .inc abaqus-inp
Fluent .cas.h5, .msh.h5 fluent-hdf5
Ansys Electronics Desktop (HFSS / Icepak) .aedt, .aedtz hfss-aedt
Ansys Mechanical .mechdb, .mechdat ansys-mechanical
Icepak Classic .tzr icepak-tzr
Simcenter FloTHERM .pack, .xml, .floxml flotherm-pack, flotherm-floxml
Simulink .slx, .mdl simulink-slx, simulink-mdl
MATLAB data .mat matlab-mat

What each format reports: docs/simparse.md.

Export saved COMSOL data

uv run sim export mesh model.mph --sequence mesh1 -o mesh.vtu
uv run sim --json export solution solved.mph --list
uv run sim export solution solved.mph --sequence sol1 --solnum 1 -o solution.json

These commands read saved MPH data offline. The solution JSON contains the stored vector in solver order and its metadata. See the export formats.

Options

Flag Effect
--full Complete parser result instead of the bounded summary (small input sets)
--include-paths Keep absolute source paths
--limit N, --no-recursive Bound a directory walk
--format ID Force a format for an explicitly named file

Every command takes --json and returns a stable envelope with a closed error-code enum. uv run sim --json describe prints the full command manifest.

Docs

License

Apache-2.0 — see LICENSE. Solvers are not bundled; vendor and trademark notes are in NOTICE.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…