The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
deformScale: int64
view: struct<direction: list<item: double>>
child 0, direction: list<item: double>
child 0, item: double
positions: list<item: double>
child 0, item: double
displacements: list<item: double>
child 0, item: double
triangles: list<item: int64>
child 0, item: int64
fields: list<item: struct<key: string, name: string, unit: string, values: list<item: double>>>
child 0, item: struct<key: string, name: string, unit: string, values: list<item: double>>
child 0, key: string
child 1, name: string
child 2, unit: string
child 3, values: list<item: double>
child 0, item: double
strategy: string
displacement: struct<quantity: string, value: double, reference: double, formula: string, unit: string>
child 0, quantity: string
child 1, value: double
child 2, reference: double
child 3, formula: string
child 4, unit: string
mesh: struct<elements: int64, nodes: int64, order: int64>
child 0, elements: int64
child 1, nodes: int64
child 2, order: int64
title: string
peakVonMises: struct<on: string, value: double, unit: string>
child 0, on: string
child 1, value: double
child 2, unit: string
to
{'title': Value('string'), 'strategy': Value('string'), 'mesh': {'elements': Value('int64'), 'nodes': Value('int64'), 'order': Value('int64')}, 'displacement': {'quantity': Value('string'), 'value': Value('float64'), 'reference': Value('float64'), 'formula': Value('string'), 'unit': Value('string')}, 'peakVonMises': {'on': Value('string'), 'value': Value('float64'), 'unit': Value('string')}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
deformScale: int64
view: struct<direction: list<item: double>>
child 0, direction: list<item: double>
child 0, item: double
positions: list<item: double>
child 0, item: double
displacements: list<item: double>
child 0, item: double
triangles: list<item: int64>
child 0, item: int64
fields: list<item: struct<key: string, name: string, unit: string, values: list<item: double>>>
child 0, item: struct<key: string, name: string, unit: string, values: list<item: double>>
child 0, key: string
child 1, name: string
child 2, unit: string
child 3, values: list<item: double>
child 0, item: double
strategy: string
displacement: struct<quantity: string, value: double, reference: double, formula: string, unit: string>
child 0, quantity: string
child 1, value: double
child 2, reference: double
child 3, formula: string
child 4, unit: string
mesh: struct<elements: int64, nodes: int64, order: int64>
child 0, elements: int64
child 1, nodes: int64
child 2, order: int64
title: string
peakVonMises: struct<on: string, value: double, unit: string>
child 0, on: string
child 1, value: double
child 2, unit: string
to
{'title': Value('string'), 'strategy': Value('string'), 'mesh': {'elements': Value('int64'), 'nodes': Value('int64'), 'order': Value('int64')}, 'displacement': {'quantity': Value('string'), 'value': Value('float64'), 'reference': Value('float64'), 'formula': Value('string'), 'unit': Value('string')}, 'peakVonMises': {'on': Value('string'), 'value': Value('float64'), 'unit': Value('string')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
KoFEM examples
Example models for KoFEM, a finite-element analysis app
that runs in the browser. These files are too large for the
KoFEM repository, which pins one commit
of this dataset in examples/dataset.json and mirrors it into
examples/dataset/ with just fetch-dataset.
CAD models
cad/ holds the geometry of models to build examples from. Each .step
(AP242, millimetres) is the file KoFEM imports; the .sc beside it is the
SolidCraft document it was exported from, with its features and parameters.
| Folder | Model |
|---|---|
cad/hanger-hook/ |
Hanger hook: a 2 × 14 × 24 mm plate and a 2 mm thick hook with a 3.5 mm pin hole, 2 bodies |
cad/winkel/ |
Angle bracket: 100 × 100 mm arms, 10 × 10 mm section, 1 mm inner fillet, 1 body |
Simulations
simulations/<model>/<id>/ holds KoFEM simulations of the models above, one
folder each, so one model can be meshed several ways side by side:
<model>-<id>.vtu: the analysis, ready to solve. Open it with Open in KoFEM: the mesh, the material, the supports and the loads on CAD faces.<model>-<id>.model.step: the geometry after the simulation's splits, whose CAD faces the analysis names. Import it to re-mesh.summary.json: the mesh and the solved numbers.
Each is built by the KoFEM repository's examples/simulations/ from the
model's STEP file, the way a user builds it in the app.
Angle bracket (simulations/winkel/)
The end of the bottom arm is clamped; the top of the upright is pushed back towards it with 100 N. Steel, quadratic tetrahedra. The simulations compare how they mesh the 1 mm inner fillet, where the stress peaks:
| Folder | Meshing strategy |
|---|---|
fillet-refinement |
5 mm elements, refined to 0.2 mm on the fillet face |
junction-regions |
The body split at x = 85 mm and y = 15 mm into three regions; 1 mm in the junction, 5 mm in the arms |
Example pages
site/ holds the files of the examples on
kofem.org/examples that are too large for git,
laid out as kofem.org serves them at /examples/: <id>.vtu (the analysis
"Open in KoFEM" loads), <id>.step (the file a user imports), <id>.model.step
(the geometry the analysis names), <id>.png (the page's figure) and
<id>.result.json (its 3D view). kofem.org serves its own copy; it never
loads them from here.
| Example | Page |
|---|---|
angle-bracket |
Angle bracket, meshing the fillet |
License
CC BY 4.0 unless a file's entry here says otherwise.
- Downloads last month
- 477