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

[Mapping] Map elemental/condition values #12389

Open
ddiezrod opened this issue May 20, 2024 · 1 comment
Open

[Mapping] Map elemental/condition values #12389

ddiezrod opened this issue May 20, 2024 · 1 comment
Assignees

Comments

@ddiezrod
Copy link
Contributor

As I explained in my latest issue #12386 Im trying to use the mapping app to initialize values from one mesh reading them from another one.

For the case of Stresses, they are stored in the elemental database in the origin model part. I was wondering if it is possible somehow to use the elements instead of the nodes for the mapping. From what I see in the code I think it is not.

I'd like to know if anyone has encountered this problem before and if they managed to solve it. Of course, one solution would be to send the data to the nodes doing some kind of volume based averaging, but I don't know if that might be too diffusive.

The other possibility would be to try to implement a new mapping myself. My first idea would be to use the nearest element using the element center location as reference.

Any suggestions or ideas are very welcome! @KratosMultiphysics/altair @philbucher @KratosMultiphysics/technical-committee @KratosMultiphysics/implementation-committee

@ddiezrod ddiezrod self-assigned this May 20, 2024
@philbucher
Copy link
Member

As explained in the readme, mapping on elements/conditions is not supported. In the past we could not agree on the interface (elemental vs GP values etc). In the end, there was not enough interest to really push for it

Long story short, only nodes can be used for mapping, i.e. you need to interpolate/extrapolate from/to elements or wherever your data lives

How badly do you need it? Ofc there is always a way but depend how much effort you want to put 🤔

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

No branches or pull requests

2 participants