Datasets:

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

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +54 -0
README.md CHANGED
@@ -236,6 +236,60 @@ This dataset was generated in [PLAID](https://plaid-lib.readthedocs.io/), we ref
236
 
237
  ### Dataset Sources
238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  - **Papers:**
240
  - [arxiv](https://arxiv.org/pdf/2305.12871)
241
  - [arxiv](https://arxiv.org/abs/2505.02974)
 
236
 
237
  ### Dataset Sources
238
 
239
+ - **Papers:**
240
+ - [arxiv](https://arxiv.org/pdf/2305.12871)
241
+ - [arxiv](https://arxiv.org/abs/2505.02974)
242
+ ![image/png](https://i.ibb.co/MDqsmb5H/Logo-Tensile2d-2-consolas-100.png)
243
+ ![image/png](https://i.ibb.co/Js062hF/preview.png)
244
+ ```yaml
245
+ data_production:
246
+ physics: 2D quasistatic non-linear structural mechanics, small deformations, plane
247
+ strain
248
+ type: simulation
249
+ legal:
250
+ license: CC-BY-SA
251
+ owner: Safran
252
+ plaid:
253
+ version: 0.1.10.dev114+gcbd3fd46f.d20251014
254
+
255
+ ```
256
+
257
+ Example of commands:
258
+ ```python
259
+ from datasets import load_dataset
260
+ from plaid.bridges import huggingface_bridge
261
+
262
+ repo_id = "chanel/dataset"
263
+
264
+ # Load the dataset
265
+ hf_datasetdict = load_dataset(repo_id)
266
+
267
+ # Load addition required data
268
+ flat_cst, key_mappings = huggingface_bridge.load_tree_struct_from_hub(repo_id)
269
+ pb_def = huggingface_bridge.load_problem_definition_from_hub(repo_id, pb_def_names[0])
270
+ infos = huggingface_bridge.load_infos_from_hub(repo_id)
271
+
272
+ # Efficient reconstruct plaid samples
273
+ for split_name, hf_dataset in hf_datasetdict.items():
274
+ for i in range(len(hf_dataset)):
275
+ sample = huggingface_bridge.to_plaid_sample(
276
+ hf_datasetdict[split_names[0]],
277
+ i,
278
+ flat_cst[split_names[0]],
279
+ key_mappings["cgns_types"],
280
+ )
281
+
282
+ # Extract input and output features from samples:
283
+ for t in sample.get_all_mesh_times():
284
+ for path in pb_def.get_in_features_identifiers():
285
+ sample.get_feature_by_path(path=path, time=t)
286
+ for path in pb_def.get_out_features_identifiers():
287
+ sample.get_feature_by_path(path=path, time=t)
288
+ ```
289
+ 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.
290
+
291
+ ### Dataset Sources
292
+
293
  - **Papers:**
294
  - [arxiv](https://arxiv.org/pdf/2305.12871)
295
  - [arxiv](https://arxiv.org/abs/2505.02974)