The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Is the use scenario of API-Multiple Fields when the fluid fills all spaces?
The blue box shows the imported fluid field, but the places without flow fields are affected by the fluid drag.
The red particles are affected by the fluid drag.
https://community.altair.com/community/en/edem-api-particle-body-force-field-data-coupling-multiple-fields-cuda?id=kb_article&sysparm_article=KB0122032
Hi,
That's correct the assumption is that the field fills all the space. The particles pickup the closest point in the field using 8 points and inverse weighted distance method to calculate the vector values. So if the particles are outside the field they can still pickup the closest point/points.
You could modify this in the API as you have the particle and field positions, however its currently setup to assume particles are inside the field.
Regards
Stephen
Hi, That's correct the assumption is that the field fills all the space. The particles pickup the closest point in the field using 8 points and inverse weighted distance method to calculate the vector values. So if the particles are outside the field they can still pickup the closest point/points. You could modify this in the API as you have the particle and field positions, however its currently setup to assume particles are inside the field. Regards Stephen
Thank you very much for your reply.
Do you have any good suggestions on how to modify the API for this situation?
Because I am not very good at modifying API.
Thank you very much for your reply. Do you have any good suggestions on how to modify the API for this situation? Because I am not very good at modifying API.
Hi, one way to achieve the same goal would be to extend the flow field into the area where the particles are, you could have it as zero velocity although this does still apply a drag force.
With the API changes you have access to the particle position in the API, you could specify that, for example, particles below a certain Z position would not be included, e.g.
if (particle.position.z < 0.0) { return eSuccess; } else { //original code }
You can find more information on the API in the help and YouTube series:
Intro to EDEM API - Part 1
Hi, one way to achieve the same goal would be to extend the flow field into the area where the particles are, you could have it as zero velocity although this does still apply a drag force. With the API changes you have access to the particle position in the API, you could specify that, for example, particles below a certain Z position would not be included, e.g. if (particle.position.z < 0.0) { return eSuccess; } else { //original code } You can find more information on the API in the help and YouTube series: Intro to EDEM API - Part 1 Regards Stephen
"This is a good idea: Thank you very much for your reply."
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…
Join us for a community conversation to explore how different modeling approaches in Simcenter PSIM can help engineers simulate power electronics systems while balancing accuracy, simulation speed, and design insight. What you'll learn: Power transistor modeling : Thermal and high fidelity models Protection component…