-
Notifications
You must be signed in to change notification settings - Fork 5
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
Try to fix point dipole analytical solution to generate beneath the dipole position #42
Comments
Analytical solution - assumes there is no current flowing through skin outer layer, calculates potential in reference to infinity. FEM - grounding in infinity and in the "neck" - electrode in the bottom of the 4 spheres. Otherwise, numerical precision doesn't allow to calculate difference between two point sources which generate VERY high amplitude potentials - due to our point dipole technical implementation as difference of two point sources. Analytical solution has no air, FEM does. After some experiments trying to fix, the best I've got: Radial dipole:Crossection through the dipole through Z axis: the potential under the dipole R does not seem to follow FEM solution at all, but starts agreeng for r>R Tangential dipole:Seems to match FEM: And on the crossection: Except of the areas close to dipole, where analytical solution explodes... |
analytyczne próby w nieskończonej przestrzeni:Dipol skierowany do góry, w pozycji [0, 0, 0.030], o mocy p=100 / 1e6, kierunek dipola [0, 0, p] Wzór klasyczny: Wzór 1 Wzór 4: Kod: kESI/extras/solve_dipole_on_a_nifty.py Line 56 in 1c7c039
TODO:
|
Regarding formula 4 above:
Although I think I am still missing a minus :/ |
Zacznijmy od ostatniego. Proponuję w miejscu obliczeń tego potencjału zdefiniować
r_smaller = min(r, R)
r_bigger = max (r, R)
i zamiast bezpośrednio wstawiać r oraz R zamienić je na r_smaller i r_bigger tak, żeby dla r>R było jak obecnie a dla r<R odwrotnie.
Sprawdź i daj znać, czy działa
The text was updated successfully, but these errors were encountered: