Datasets:

Modalities:
Time-series
Formats:
parquet
Size:
< 1K
ArXiv:
License:
fabiencasenave commited on
Commit
fe17c5f
·
verified ·
1 Parent(s): 8f17e04

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md CHANGED
@@ -290,6 +290,59 @@ This dataset was generated in [PLAID](https://plaid-lib.readthedocs.io/), we ref
290
 
291
  ### Dataset Sources
292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  - **Papers:**
294
  - [arxiv](https://arxiv.org/pdf/2305.12871)
295
  - [arxiv](https://arxiv.org/abs/2505.02974)
 
290
 
291
  ### Dataset Sources
292
 
293
+ - **Papers:**
294
+ - [arxiv](https://arxiv.org/pdf/2305.12871)
295
+ - [arxiv](https://arxiv.org/abs/2505.02974)
296
+ ![image/png](https://i.ibb.co/MDqsmb5H/Logo-Tensile2d-2-consolas-100.png)
297
+ ![image/png](https://i.ibb.co/Js062hF/preview.png)
298
+ ```yaml
299
+ data_production:
300
+ physics: 2D quasistatic non-linear structural mechanics, small deformations, plane
301
+ strain
302
+ type: simulation
303
+ legal:
304
+ license: CC-BY-SA
305
+ owner: Safran
306
+ plaid:
307
+ version: 0.1.10.dev114+gcbd3fd46f.d20251014
308
+
309
+ ```
310
+ Example of commands:
311
+ ```python
312
+ from datasets import load_dataset
313
+ from plaid.bridges import huggingface_bridge
314
+
315
+ repo_id = "chanel/dataset"
316
+
317
+ # Load the dataset
318
+ hf_datasetdict = load_dataset(repo_id)
319
+
320
+ # Load addition required data
321
+ flat_cst, key_mappings = huggingface_bridge.load_tree_struct_from_hub(repo_id)
322
+ pb_def = huggingface_bridge.load_problem_definition_from_hub(repo_id, pb_def_names[0])
323
+ infos = huggingface_bridge.load_infos_from_hub(repo_id)
324
+
325
+ # Efficient reconstruct plaid samples
326
+ for split_name, hf_dataset in hf_datasetdict.items():
327
+ for i in range(len(hf_dataset)):
328
+ sample = huggingface_bridge.to_plaid_sample(
329
+ hf_datasetdict[split_names[0]],
330
+ i,
331
+ flat_cst[split_names[0]],
332
+ key_mappings["cgns_types"],
333
+ )
334
+
335
+ # Extract input and output features from samples:
336
+ for t in sample.get_all_mesh_times():
337
+ for path in pb_def.get_in_features_identifiers():
338
+ sample.get_feature_by_path(path=path, time=t)
339
+ for path in pb_def.get_out_features_identifiers():
340
+ sample.get_feature_by_path(path=path, time=t)
341
+ ```
342
+ This dataset was generated in [PLAID](https://plaid-lib.readthedocs.io/), we refer to this documentation for additional details on how to data data from samples.
343
+
344
+ ### Dataset Sources
345
+
346
  - **Papers:**
347
  - [arxiv](https://arxiv.org/pdf/2305.12871)
348
  - [arxiv](https://arxiv.org/abs/2505.02974)