Replies: 6 comments 5 replies
-
Pinging @PProfizi for updates and improvements. Pinging @cbellot000 @ayush-kumar-423 @janvonrickenbach @rlagha Pinging @akaszynski @koubaa @da1910 because they probably are interested (maybe) |
Beta Was this translation helpful? Give feedback.
-
@germa89 In your pseudo-code you propose a lot of setters, yet I am not sure if this is something we should make available (at least at first) as to me that would entail actually changing the values stored at the server level, maybe even in the material files? What would be the expected outcome of those setters? This seems like pre-treatment to me and I do not see it being coherent with what PyDPF proposes now, but I may definitely be biased. |
Beta Was this translation helpful? Give feedback.
-
A couple of initial questions, I'm not very familiar with how DPF interacts with MAPDL, but from a Materials perspective some things occur to me.
|
Beta Was this translation helpful? Give feedback.
-
brain dump:
|
Beta Was this translation helpful? Give feedback.
-
I think we should clarify the goal of the Material API in dpf. For my perspective (as a dpf plugin developer for composite simulations), dpf needs to provide mechanism to access material properties that were used in the simulation. There is no need to define material properties. The biggest challenge here are variable material properties, which are not readily available in the rst file. We have already implemented a Framework/API for variable material properties in the C++ backend of dpf. I think the first goal should be to make this API available from python. |
Beta Was this translation helpful? Give feedback.
-
For a customer I once we started a ACT method to extract all material properties in the model. |
Beta Was this translation helpful? Give feedback.
-
Description of the feature
We should aim to have a comprehensive materials API in DPF.
At the moment there are many operators in place, but I believe they lack the "connection" between them in order to expose these feature properly.
As first step, let's talk about how the API should look like. Then we can decide how to couple the operators in order to obtain the desired API.
Steps for implementing the feature
Personally, I would propose the following pseudo-code for the API.
Proposed implementation
I believe this API is pythonic enough but also rigorous enough to allow a clear material definition.
Personally, it is the kind of thing I would like to see in PyMAPDL.
Please, feel free to propose modification.
I'm happy to discuss this.
Useful links and references
No response
Beta Was this translation helpful? Give feedback.
All reactions