Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorials #1689

Open
11 of 33 tasks
PProfizi opened this issue Aug 12, 2024 · 7 comments
Open
11 of 33 tasks

Tutorials #1689

PProfizi opened this issue Aug 12, 2024 · 7 comments
Assignees
Labels
examples Related to PyDPF-Core examples

Comments

@PProfizi
Copy link
Contributor

PProfizi commented Aug 12, 2024

This issue tracks PyDPF-Core issues related to adding examples for core functionalities.

Legend
🟡 From the examples section 🟡
🟣 From the user guide how-tos section 🟣
🟠 From the user guide DPF most used entities section 🟠

PyDPF-Core data structures

  • DPF raw data storage structures
  • DPF collections

PyDPF-Core language

Post processing basics

Import data

From user input

  • Import data from csv file
  • Create a data storage structure from scratch

From result file

Mesh

  • Create a mesh from scratch 🟡 D
  • Get a mesh from a result file
  • Read a mesh definition information
  • Read a mesh structure
  • Get a specific part of the mesh
  • Split a mesh

Transform data

  • Using operators 🟡 B 🟠 I
  • Create a workflow 🟠 I
  • Mathematical operations with PyDPF-Core data storage structures

Plot #1903

Animate

Export data

  • Export to XXX

Custom operators and plugins #1890

Post-process distributed files

DPF server #1891

Licencing #1889

Mathematical operations

  • Basic maths

Manipulating physics data

  • Unit, homogeneity
@PProfizi PProfizi added the examples Related to PyDPF-Core examples label Aug 12, 2024
@PProfizi
Copy link
Contributor Author

Hey @luisaFelixSalles , on the topic of an example for Field,
I think an example dedicated to mathematical operations on Fields would be good, as shown in the email from Ramdane.

It should show basic matrix operations, including combining different Fields into a single one with multiple components.

@luisaFelixSalles
Copy link
Collaborator

Hey @luisaFelixSalles , on the topic of an example for Field, I think an example dedicated to mathematical operations on Fields would be good, as shown in the email from Ramdane.

It should show basic matrix operations, including combining different Fields into a single one with multiple components.

Yes I agree. It's one of my suggestions on the #1694 on the "math operators" example.

@luisaFelixSalles luisaFelixSalles pinned this issue Aug 30, 2024
@luisaFelixSalles luisaFelixSalles unpinned this issue Aug 30, 2024
@luisaFelixSalles luisaFelixSalles changed the title Core examples Tutorials Sep 6, 2024
@luisaFelixSalles
Copy link
Collaborator

Layout changes

  • Use of grid instead of card carrousel (so we can always see the options in the cards)

@PProfizi
Copy link
Contributor Author

PProfizi commented Oct 2, 2024

Hey Luisa could we list the need for a tutorial on Units and homogeneity please.

@luisaFelixSalles
Copy link
Collaborator

luisaFelixSalles commented Oct 23, 2024

Examples that should be tutorials

Legend
🟢 Yes 🟢
🔴 No 🔴

Basic

  • 0.Basic DPF Core usage🟢 A
    I've already transformed it
  • 1.Operators overview 🟢 B
  • 2.Field and field containers overview 🟢 C
  • 3.Create our own entities using dpf operators 🟢 D
  • 5.Bring a fields data locally to improve performance 🔴
  • 7.Use results helpers to load custom data 🟢 E
  • 8.Scope results over custom time domains 🟢 F
  • 9.Scope results over custom space domains 🟢 G
  • 10.Mathematical Operators 🔴
  • 11.Servers type ?
  • 12.Get material properties from the result file 🔴

Transient Analysis examples

  • 0.Transient analysis result example 🔴
  • 1.Choose a time scoping for a transient analysis 🔴

Modal analysis examples

  • 0.Use Result Helpers to compare mode shapes for solids and then shells 🔴
  • 1.Plot and animate mode shapes with DPF 🔴

Harmonic analysis examples

  • 0.Multi-harmonic response example 🔴
  • 1.Expand harmonic modal superposition with DPF 🔴

Advanced and Miscellaneous examples

  • 0.Multi-stage cyclic symmetry using advanced customization 🔴
  • 1.Solve harmonic problem (with damping) using matrix inverse🔴
  • 2.Average elemental stress on a given volume 🔴
  • 3.Exchange data between servers 🟢H
  • 4.Extrapolation method for stress result of a 3D element 🔴
  • 5.Extrapolation method for strain result of a 2D element 🔴
  • 6.Stress gradient normal to a defined node 🔴
  • 7.Load plugin 🟢I
  • 10.Pressure vessel analysis according to an ASME standard 🔴
  • 11.Calculate the number of cycles to fatigue failure 🔴
  • 12.Read results from distributed files 🟢 J
  • 13.Manage the DPF licensing logic using the server context 🟢 K
  • 14.Use incremental evaluation helper 🔴

File manipulation and input-output

  • 0.HDF5 export and compare precision 🔴
  • 1.Get reduced matrices and make export 🔴
  • 2.HDF5 export and import operations 🟢 L
  • 4.Working with a result file 🟢 M

Plotting examples

  • 0.Review of available plotting commands 🟢 N
  • 1.Compare results using the plotter 🔴
  • 2.Load case combination for principal stress 🔴
  • 3.Add nodal labels on plots 🟢O
  • 4.Plot results on a specific path 🟢 P
  • 5.Warp the mesh by a field for plotting 🟢 Q
  • 6.Review of available animation commands 🟢R
  • 7.Plot on geometry elements 🟢S

Examples for post-processing on distributed processes

  • 0.Post-processing of displacement on distributed processes 🟢 T
  • 1.Create a custom workflow on distributed processes 🟢U
  • 2.Distributed mode superposition (MSUP) 🔴
  • 3.Distributed MSUP distributed modal response 🔴
  • 6.Distributed stress averaging 🔴

Examples of creating custom operator plugins

  • 0.Create a basic operator plugin 🟢V
  • 1.Create a plug-in package with multiple operators 🟢 W
  • 2.Create a plug-in package that has third-party dependencies 🟢 X

Average examples

  • 0.Averaging order 🔴
  • 1.Average across bodies 🔴

Mesh operations examples

  • 0.Create and display a mesh with polygon and polyhedron elements 🔴
  • 5.Extract the skin from a mesh 🔴
  • 13.Convert nodal coordinates field to local coordinate system 🟢 (if generalized for other locations) Y

Cyclic symmetry examples

  • 0.Expand mesh and results for modal cyclic symmetry 🔴
  • 1.Get base and duplicate sectors (real and imaginary) results for modal cyclic symmetry 🔴
  • 2.Multi-stage cyclic symmetry example 🔴

Fluids examples

  • 0.Explore Fluids models 🔴
  • 1.Explore Fluids mesh 🔴
  • 2.Explore Fluids results 🔴
  • 3.Compute iso-surfaces on fluid model 🔴

Streamlines examples

  • 0.Compute and plot 3D streamlines 🔴
  • 1.Compute and plot 2D streamlines 🔴

LS-Dyna Examples

  • 0.Results extraction and analysis from LS-Dyna sources 🔴

CFX examples

  • 0.Read CFX .res files🔴

@luisaFelixSalles
Copy link
Collaborator

User guide parts that should be in the tutorials

Legend
🟢 Yes 🟢
🔴 No 🔴

How-tos

  • 0.Plot🟢 A
  • 1.Create custom operators 🟢 B
  • 2.Use DPF server package 🟢 C
  • 3.Switch between local and remote serve 🟢D
  • 4.Access Entry and Premium Capabilities 🟢E
  • 5.Use DPX XML files 🟢F

DPF most used entities

  • 0.DPF model 🟢 G (Should be in the concepts but the info here could be used in a tutorial)
  • 1.Field and field containers 🟢H (Should be in the concepts but the info here could be used in a tutorial)
  • 2.Operatos 🟢I (Should be in the concepts but the info here could be used in a tutorial)

@PProfizi
Copy link
Contributor Author

PProfizi commented Nov 6, 2024

@luisaFelixSalles can we add in required tutorials a section or a tutorial for mathematical operations on Fields.
A bit like your example, but with more explanations regarding things such as *, +, -.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Related to PyDPF-Core examples
Projects
None yet
Development

No branches or pull requests

2 participants