-
Notifications
You must be signed in to change notification settings - Fork 58
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
'surface' integration #685
Comments
Hi @NTIaN7 , underworld2/underworld/utils/_utils.py Line 645 in e62b5de
What is the integral you're trying to evaluate? Just temperature over the surface? Another idea that comes to mind is to distribute a swarm of particles over the 'internal" surface you'd like to integrate on. |
Thank you for your reply @julesghub, I want to evaluate the pressure, temperature, and physical strength of a specific interface. For example, obtaining the average (integral to area ratio) temperature and pressure on a horizontal grid line. Particle swarm is a great way, but do I not need to set the adject attribute on it so as not to change its position? N. |
Hi,
I'm trying to perform surface integration on a non-boundary "sub-surface" in a parallel environment using Underworld2. Specifically, I want to integrate over any arbitrary row in a
Mesh[yRes+1, xRes+1]
, similar to pressure calibration. However, I encountered the following error:One workaround I can think of is to evaluate on this horizontal line and then use scipy for integration. But in a parallel environment, would I need to consolidate resources so that I can operate on each row of the original data? Also, would the precision of this approach be comparable to the results obtained from utils.Integral?
Any guidance would be greatly appreciated. Thanks!
N.
The text was updated successfully, but these errors were encountered: