Shifting polar functions vertically

  • #1
1,844
88

Main Question or Discussion Point

Hi PF!

I have a function that looks like this $$f(r,\theta) = \sinh (\omega \log (r))\cos(\omega(\theta - \beta))$$

You'll notice ##f## is harmonic and satisfies the BC's ##f_\theta(\theta = \pm \beta) = 0##. Essentially ##f## has no flux into the wall defined at ##\theta = \pm \beta##. So we can imagine the domain is a sort of groove with it's vertex centered at the origin. However, this groove actually needs to be centered at a different vertical location, ##(h,0)##.

I calculate the new function to be $$f(r,\theta) = \sinh \left(\frac{\omega}{2} \log (r^2-2hr\cos\theta + h^2)\right)\cos\left[\omega\left(\arctan \left(\frac{r\sin\theta}{r \cos \theta-h}\right)- \beta\right)\right]$$
but it's so messy. Any clean-up ideas or different approaches?
 
Last edited:

Answers and Replies

  • #2
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
32,730
5,033
I don't get the bit about fθ(.,-β) being zero. Have I misunderstood the notation?
 
  • #3
1,844
88
I don't get the bit about fθ(.,-β) being zero. Have I misunderstood the notation?
Sorry, what I mean is $$\left.\frac{\partial f}{\partial \theta} \right|_{\theta = \pm \beta} = 0$$
The vertex has angle ##2\beta##.
 
  • #4
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
32,730
5,033
Sorry, what I mean is $$\left.\frac{\partial f}{\partial \theta} \right|_{\theta = \pm \beta} = 0$$
The vertex has angle ##2\beta##.
Yes, that's what I thought you meant, but you seem to be saying this follows from
##f(r,\theta) = \sinh (\omega \log (r))\cos(\omega(\theta - \beta))##
I get ##\left.\frac{\partial f}{\partial \theta} \right|_{\theta = -\beta} = -\omega\sinh (\omega \log (r))\sin(\omega( - 2\beta))##
 
  • #5
1,844
88
Yes, that's what I thought you meant, but you seem to be saying this follows from

I get ##\left.\frac{\partial f}{\partial \theta} \right|_{\theta = -\beta} = -\omega\sinh (\omega \log (r))\sin(\omega( - 2\beta))##
Oh shoot, sorry, I forgot to say ##\omega = k \pi / \beta : k\in \mathbb N##.
 
  • #6
FactChecker
Science Advisor
Gold Member
5,384
1,953
Is there a reason that you can't just introduce new variables for the shift and leave the original equations essentially as-is? I think it would be much more clear. If I were to document or program that problem, I think that is how I would do it.
 
  • #7
1,844
88
Is there a reason that you can't just introduce new variables for the shift and leave the original equations essentially as-is? I think it would be much more clear. If I were to document or program that problem, I think that is how I would do it.
Can you elaborate?

See, this is one component to a very large problem I'm working on. The issue is, I am in two different coordinate systems that do not have the same center. Obviously in order to have them both work I need to choose one of the two coordinate systems. I know this one is by far easier (namely, I need to shift the vertex to ##(h,0)##).

I also think that when I shift the coordinate system, the BC's are no longer valid at ##\theta = \beta##. Instead, the boundaries are now valid along a line not passing through the origin. Specifically, the upper boundary line is parameterized as $$r = h \csc(\beta - \theta) \sin\beta$$
What do you think? Am I making an error by thinking I can simply shift ##f## vertically, evaluate ##f_\theta## along the shifted line, and still get a good answer? I tried doing that and I'm not getting 0.
 
Last edited:
  • #8
FactChecker
Science Advisor
Gold Member
5,384
1,953
My suggestion is just a cosmetic difference which I think would make it easier to understand what is going on. I would define the shifted coordinate ##(r',\theta') = (\sqrt {r^2-2hr\cos \theta + h^2}, \frac {r \sin \theta}{r \cos \theta - h})## and then use ##f(r', \theta')##.
I think that combining it all into one equation makes it messy and more difficult to understand. And I don't see any benefit from combining it.
 
Last edited:

Related Threads on Shifting polar functions vertically

Replies
4
Views
5K
Replies
8
Views
12K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
3
Views
4K
  • Last Post
Replies
14
Views
18K
  • Last Post
Replies
2
Views
816
  • Last Post
Replies
7
Views
25K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
6
Views
1K
Top