Wave Propagation in Bent Waveguide - VectorHelmholtz

General discussion about Elmer
Post Reply
kbatra
Posts: 13
Joined: 07 Sep 2023, 15:42
Antispam: Yes

Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kbatra »

Hello Elmer Community,

Can you please help me figure out why I can't replicate the "VectorHelmholtz Waveguide Bent problem"? In my case, I've kept it as a rectangular box (removed the bent part). I followed the tutorial, but I can't visualize the electric field/Poynting vector moving through the channel. I hope you can identify the error. Thank you for your help in advance. I've attached my input files for you to examine.

Kind Regards,
K. Batra
Attachments
case.sif
(3.55 KiB) Downloaded 64 times
trans_chan.msh
(296.8 KiB) Downloaded 61 times
trans_chan.step
(15.65 KiB) Downloaded 62 times
kevinarden
Posts: 2318
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kevinarden »

units of the constants are in SI units, so your box is 100 meters wide. Is that the intent?
kbatra
Posts: 13
Joined: 07 Sep 2023, 15:42
Antispam: Yes

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kbatra »

Thanks for your answer. Here I attach the dimensions of my waveguide.
Attachments
Rect_WG.png
Rect_WG.png (9.91 KiB) Viewed 964 times
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by raback »

The .msh file does not know anything about units. Hence the information is lost in translation and you end up mm being interpreted as m. -Peter
kbatra
Posts: 13
Joined: 07 Sep 2023, 15:42
Antispam: Yes

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kbatra »

Thanks Peter for pointing out. My intent is to have dimensions i.e. a= 10 cm and b= 5 cm.
kevinarden
Posts: 2318
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kevinarden »

The nodal values in the file are in the range of 100.
there is a coordinate scale option in the simulation section
coordinate scaling = 0.001
would put it in meters
kbatra
Posts: 13
Joined: 07 Sep 2023, 15:42
Antispam: Yes

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kbatra »

Hello again,

Thanks for your answers. I really appreciate it. I was able to solve the problem with one box :)

Now I extend the problem and added two more boxes to create a channel. Unfortunately this time I can't visualize the electric field/Poynting vector moving further. I hope you can identify the error. Thank you for your help in advance. I've attached my updated input files for you to examine.

Kind Regards,
K. Batra
Attachments
waveg.msh
(150.1 KiB) Downloaded 58 times
case.sif
(3.39 KiB) Downloaded 60 times
kevinarden
Posts: 2318
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kevinarden »

In your mesh you do not have 1 body you have three bodies. In your sif you only specify elmer body 1 as mesh body 1
I think your intent in the sif would be

Body 1
Target Bodies(3) = 1 2 3
Name = "Body 1"
Equation = 1
Material = 1
End

or merge the three bodies into 1 body in the meshing
kbatra
Posts: 13
Joined: 07 Sep 2023, 15:42
Antispam: Yes

Re: Wave Propagation in Bent Waveguide - VectorHelmholtz

Post by kbatra »

thank you very much, by utilizing your suggestion, seems worked out :-)
Attachments
case.sif
(3.41 KiB) Downloaded 57 times
wavegss.png
wavegss.png (153.98 KiB) Viewed 887 times
Post Reply