Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Identity pair as port source in Comsol 4
Posted Nov 8, 2010, 8:30 a.m. EST Version 4.2, Version 4.2a, Version 4.3, Version 4.3a 10 Replies
Please login with a confirmed email address before reporting spam
Does anybody knows how to set "identiy pair" as "port" in Comsol 4.0a or 4.1? I am calculating the reflectance and transmittance in Comsol. Previously, I used Comsol 3.5a for this work (refer to: www.comsol.com/showroom/gallery/6141/ ) and it worked quite well. However, in the new Comsol, it seems that this function is lost and if I do this no field can be seen. I have tried other ways to calculation R and T, e.g., using scattering boundary or port without setting PML, however, the results are not very good due to the reflection of the scattering interface under tilted incidence.
Actually, what I am interested in is putting a PML above a port source and the incident light go only into the structure without going into the PML (only reflected light will enter PML). In old version of Comsol, we cannot set interior boundary as port, so "assembly" must be used. In the new Comsol, however, although interioe boundary can be set as port, the light goes to both directions.
It will be very appreciated if any of you can provide me some information about this problem.
Cheers
Xiaofeng LI
Please login with a confirmed email address before reporting spam
Maybe the bug of V4. Contact the support please.
Please login with a confirmed email address before reporting spam
Have you solved the problem?
I am finding out the way solving the same problem.
Please login with a confirmed email address before reporting spam
I have exactly the same problem with 4.2. Please let me know if you get any answer from support or any other source.
Thans
Please login with a confirmed email address before reporting spam
I will change to 4.2 also and do the similar calculation. If anyone of you found the solution, please kindly attach it here. Thanks!
Please login with a confirmed email address before reporting spam
The files that they sent me a pretty big... so I upload only one of them. The method in both of them was pretty the same
COMSOL's support:
Ports on identity boundaries may make a return in one form or another at
some point, but they are currently not supported. Instead, we recommend a
different approach described in the two models and the write-up here below.
Scattering on single scatterers in free space is preferably modeled by
sending in a plane wave and solving for the scattered field. If the object
is placed on a substrate, the correct expression for the background field
becomes more complicated. It needs to be the correct superposition of an
incident and a reflected wave in the free space domain, and a transmitted
wave in the substrate.
A simple and general way to avoid deriving and entering the analytical
background field is to use a full field solution in the background
materials. This is done in the Electromagnetic Waves (emw) interfaces in
both the provided models. Because only the background materials are present
in this interface, the wave remains plane and no PMLs are needed.
The Electromagnetic Waves (emw2) interface solves the scattered field
problem with the emw solution as the input. The scattered field solution of
this simulation is due only to the presence of the scatterer. PMLs capture
this in all directions.
If you remove the side PML domains and use the same side boundary
conditions in both interfaces, you are instead modeling an array of
scatterers. The 2d_array_on_substrate model is set up for perpendicular
wave incidence, but with Floquet conditions it would work for oblique
incidence too. This is an alternative to the multi-port method shown in the
Plasmonic Wire Grating model, and becomes an attractive option if there are
many diffractive orders present.
Attachments:
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
I have got your answer from Comsol Discussion Forum.I run your attach and got some sesults.Now I want to get other files that you said ''The files that they sent me a pretty big... so I upload only one of them. The method in both of them was pretty the same". I want to solve the problem of transmission index and refrective index. If you have some spare time ,sent me the files ,OK? Thanks a lot. my email adress is " 0516zhoujian@tongji.edu.cn ".
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
the problem illustrated in the 2D_array_on_substrate.mph file is exactly what I need to implement. However, as you observed it is not possible to set-it up in the version 4.3.
Did you find a different way to set-up the problem or simply by upgrading to version 4.3a you could use the again the same settings of the example?
Please let me know if it worth installing the new version :)
Please login with a confirmed email address before reporting spam
Hi I got a very detailed answer from support(attached). Unfortunately it hasn't worked for me. I keep on writing to support and trying to understand...
The files that they sent me a pretty big... so I upload only one of them. The method in both of them was pretty the same
COMSOL's support:
Ports on identity boundaries may make a return in one form or another at
some point, but they are currently not supported. Instead, we recommend a
different approach described in the two models and the write-up here below.
Scattering on single scatterers in free space is preferably modeled by
sending in a plane wave and solving for the scattered field. If the object
is placed on a substrate, the correct expression for the background field
becomes more complicated. It needs to be the correct superposition of an
incident and a reflected wave in the free space domain, and a transmitted
wave in the substrate.
A simple and general way to avoid deriving and entering the analytical
background field is to use a full field solution in the background
materials. This is done in the Electromagnetic Waves (emw) interfaces in
both the provided models. Because only the background materials are present
in this interface, the wave remains plane and no PMLs are needed.
The Electromagnetic Waves (emw2) interface solves the scattered field
problem with the emw solution as the input. The scattered field solution of
this simulation is due only to the presence of the scatterer. PMLs capture
this in all directions.
If you remove the side PML domains and use the same side boundary
conditions in both interfaces, you are instead modeling an array of
scatterers. The 2d_array_on_substrate model is set up for perpendicular
wave incidence, but with Floquet conditions it would work for oblique
incidence too. This is an alternative to the multi-port method shown in the
Plasmonic Wire Grating model, and becomes an attractive option if there are
many diffractive orders present.
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.