How do assign ground in "Electromagnetic Waves, Frequency Domain (emw)" physics
Posted Aug 10, 2023, 9:32 a.m. EDT RF & Microwave Engineering, Physics Interfaces 5 Replies
Please login with a confirmed email address before reporting spam
Hey,
I am currently modeling microwave resonators over a frequency domain in Comsol.
I am unable to find a ground domain or -boundary in emw physics.
Is there another way to assign ground in emw physics? And if there is then how does it work?
Please login with a confirmed email address before reporting spam
Earth ground? An electrical ground? Once you decide/understand what you mean by "ground" in terms of its impact on the particular physics you are studying, then you will be better able to understand how (or if!) to define it in your problem. Might you simply mean a (or any) perfect electric conductor (PEC)? Well, that's already the default boundary condition on any external computational boundary, in the RF module. Now, if you mean Earth ground, that's different, since you'll need to properly represent some subset of the Earth (that is, assuming it is somehow interacting with your device of interest) in your problem. This could range from something as simple as a PEC to a 3D model of a suitable volume of material (e.g., soil, concrete, water, etc.) with an appropriate finite resistivity. Lying between those extremes of simplicity and complexity, an "impedance boundary condition" may be appropriate. Regardless, if you are willing to explain more about your problem, readers here will likely be able to provide you with much more focused and useful advice. Note that if your "microwave resonators" are ordinary standalone components, not involved in a separate circuit model or interacting with the Earth, etc, then you probably don't need to define any "ground" anywhere. Rather, there exist simply surfaces and domains of various materials (metals, plastic, air, etc.) and you will need to specify boundary conditions corresponding to external boundaries, which will variously be PECs, ports (of various types), or (in some cases) other boundary conditions, especially if you are taking advantage of a symmetry plane. You might want to look in the Application Library at the Comsol-supplied example models of some simple microwave components.
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Please login with a confirmed email address before reporting spam
Hey Robert, thank you for your answer, I'll specify my reply as you asked.
I would like to know specifically how ground is defined in the "Electromagnetic waves, frequency domain" physics module. My simulations have only the physics domains and boundaries present in the "cpw_bandbass_filter.mph" example and are identical when it comes to the physics with my own models. To my understanding in the "cpw_bandbass_filter.mph" there is no explicit definition of ground (by explicit I mean a ground physics domain) such as in the "AC/DC physics module" (electric currents (ec) in AC/DC for example). As such it is quite confusing how ground is defined in this specific physics module (emw).
My question could be summed as "How is ground defined in these examples I have linked?".
For example in a past discussion forum I asked about ports and I was adviced to put it in between ground and the conductor. My question is, how does the lumped port in the "cpw_bandbass_filter.mph" know which one is ground and which one is the conductor if there is not an explicit definition? Same for numeric ports, how does it know what is the ground and what is the conductor in the "cpw.resonator.mph" model?
Regards, Nico
Attachments:
Please login with a confirmed email address before reporting spam
If I am diagnosing your confusion correctly, you seem to misunderstand the concept of "ground," as well as some EM theory. In low-frequency electronics, one often considers a "circuit ground," or perhaps a "chassis ground," to be a surface of either zero scalar potential or held at some fixed reference potential, or equivalently, an infinite reservoir of charge. But in full-wave RF formalism, the concept of the potential is necessarily generalized (there is both a scalar and vector potential to consider). There is then often no value in even attempting to define a "ground." That said, circuit designers will often (not always) tie a PC Board backplane to a traditional electrical grounding wire which then may (but often may not) ever connect somewhere to an Earth ground or the "ground" wire on some power supply involved in the system. And yes, people talk about microstrip lines over a "ground plane" all the time. But that's just an electrically-conducting plane. There isn't anything really special about it, other than that. Now, if it makes you happier to label a "ground," then simply declare some surface to be one (write it down, stick a label on it, tell all your friends, etc...) that your largest metal surface (or any other metal surface you prefer in your problem) is hereby your offical "ground" and... be satisfied with that. But what the computational model requires is for you to set the boundary conditions (and any other conditions) that constrain the partial differential equations (PDEs) that govern the RF, to yield an unambiguous solution to those PDEs. If this is still confusing to you, then I encourage you to consult one of many available college-level textbooks on classical electromagnetism and electromagnetic waves.
-------------------Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Please login with a confirmed email address before reporting spam
As always Robert is right. Ground is just a name for a certain electric potential value. Particularly in RF it is not of much value. E.g. symmetric antennas like dipoles and yagi-uda do not need the ground concept. In other RF systems we often use the term ground plane, but there is nothing special about it and no specific BC is needed for correct modeling. The ground plane is just a conducting surface.
-------------------Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Please login with a confirmed email address before reporting spam
In the model file cpw_bandpass_filter, the emw node is setup with the two lumped ports being sources and Perfect Electric Conductor 2 as being a return path for the PCB. There is no specific ground node in emw so ground is an ambiguous term in this case. There is also PEC1, which are the airbox sides. While one might say that the box sides are ground as well, this is not 100% accurate. In a real physical system one may consider the outer airbox to be at ground potential and this may be true at low frequencies. It may be better to talk about return paths rather than "real grounds" at higher frequencies. Coaxial cable is very similar in concept as the return path is the shield but it may be attached to mechanical ground in an overall system.
Reply
Please read the discussion forum rules before posting.
Discussion Forum Rules and Guidelines
The goal of COMSOL Access is to provide a forum for you to communicate effectively with COMSOL as well as your colleagues within the multiphysics simulation community. This involves providing you with access to technical support and downloads of the latest {:comsol} software releases, as well as the ability to share your comments and work with other users of the {:comsol} software through forums such as the blog, discussion forum, and Application Exchange. In order to make this an efficient and pleasant experience for you and other members of COMSOL Access, we ask that you follow a few rules and guidelines.
When registering for COMSOL Access, you agree to provide your complete and truthful information for all fields requested on your COMSOL Access account registration page. You also agree to maintain the accuracy of all information associated with you on your COMSOL Access account. You agree to maintain your COMSOL Access account for use solely by you, not to share your username and password with anyone else, and to take appropriate precautions to restrict access to your username and password from others. Furthermore, you agree not to submit any information relating to your employer through your COMSOL Access account without your employer’s authorization. Should you use a COMSOL Access account associated with an employer, you agree to immediately discontinue using that account upon termination of that employment.
The moderators of the forums will remove any generally objectionable material as quickly as possible. You acknowledge that all posts made to these forums express the views and opinions of the author and not the administrators, moderators, or webmaster (except for posts by these people). Hence, they will not be held liable.
You agree not to post or link to any material that is abusive, obscene, vulgar, slanderous, hateful, threatening, sexually oriented, or that infringes upon or violates any third-party rights or any other material that may violate any applicable laws. You agree that you will not otherwise use your COMSOL Access account to violate or to assist anyone in violating any law. Engaging in any activity in violation of these COMSOL Access rules and guidelines may lead to you being immediately and permanently banned from COMSOL Access. The IP address of all posts is recorded to aid in enforcing these conditions. You agree that the webmaster, administrator, and moderators of the forums have the right to remove, move, or close any topic at any time as they see fit. As a user of COMSOL Access, you agree to any information you have entered into any of the forums being stored in a database.
You agree that you will not use your COMSOL Access account in violation of any applicable export control laws. You represent and warrant that you are not subject to any comprehensive sanction or embargo by the U.S. or any other country, nor are you identified on any list maintained by the U.S. government that identifies persons for which the U.S. maintains restrictions. Further, you represent and warrant that you are not subject to any restriction on the receipt of technology or products under the export control laws of the U.S. or any other country.
Basic Rules
- Flaming: Do not post any messages that harass, insult, belittle, threaten, or flame another member or guest. Debates are fine, but argue with the point, not the person.
- Trolling: Do not post with the purpose of starting a dispute. Note that a person disagreeing with your opinion is not considered trolling; keep it civil, even if you are sure that the other person is wrong. Anything seen as trolling will result in you being banned.
- Spamming: Posts without content or containing nonsense waste space and everyone's time. Spam will be removed from the forum.
- Offensive Posts, Links or Images: Do not use profanity, racial, ethnic, religious, or other slurs or any other offensive material.
- Advertising: Posting of advertisements for products or services, links to auctions, affiliate links, links to promote websites, and so forth is not allowed.
- Disclosure of Personal Information: Do not disclose any other member's email, real name, address, phone number, IP address, or other personal information. This includes posting contents of emails and private messages without the sender's consent. Do not bring personal disputes into the forums. Bans and warnings issued to other users are considered personal information.
- Misleading Titles: The subject line of the post should be as informative as possible about the content of the post. This also reduces the amount of duplicate posts.
- Thread Hijacking: Taking a thread off-topic to pursue one's own agenda is not permitted.
- Piracy: Do not upload, post, email, transmit, or otherwise make available any content that infringes upon any patent, trademark, trade secret, copyright, or other proprietary rights ("Rights") of any party. This includes COMSOL model files created by a forged or illegitimate license.
- Honesty: Users must provide truthful information in creating their COMSOL Access account.
These rules are subject to change. The moderators reserve the right to remove, edit, or move posts at their discretion. The COMSOL Access administrators will reserve the right to permanently remove a user account without notice if any of the rules are not followed. Particular services accessible with your COMSOL Access account may be subject to additional rules. You agree to comply with all rules applicable to each service you access through your COMSOL Access account.
Posting Guidelines
When posting, understand that you are trying to communicate with other people. Although many COMSOL Access members are not fluent in English, the official language of this forum is English.
Here are some important guidelines of language:
- Write in English.
- If you are familiar with LaTeX, please use this to write mathematical equations.
- Always do a quick check for spelling/grammar mistakes.
- Format your post in a legible manner. Use the Preview button often.
- Be concise and articulate as much as possible.
- Use the Enter key to create paragraphs.
- Capitalize correctly. It is difficult to read posts that are written entirely in uppercase or lowercase.
- Use correct punctuation. Avoid run-on sentences.
- Try to avoid using “text speak”, “net speak”, or slang. The purpose of language is to be understood.
- Never invent acronyms and use as few acronyms as possible. For example, write "COMSOL Multiphysics" and not "CMP".
- Review your post before publishing it. Try to catch typos.
- Please check to see if a topic has already been posted. Do not post multiple threads on the same topic.
Disclaimer
By submitting content to the forums, you hereby grant COMSOL a nonexclusive, royalty-free, perpetual, worldwide, and unrestricted license to reproduce, publicly display, publicly distribute, and prepare derivative works of the content. COMSOL hereby grants you a license to copy and/or use content from the forums solely for your own internal purposes. COMSOL provides the forum service for the benefit of our users to share content with the community. All content is provided "as is" without warranty of any kind, express or implied, including without limitation, warranties of merchantability, noninfringement, design, operation, and fitness for a particular purpose, and the entire risk as to the quality and performance of the programs is with you.
Neither COMSOL, the authors, nor the copyright owners of submitted materials warrant that the programs will be error-free, uninterrupted, virus-free, secure, and suitable for your needs, produce specific results, or that errors or failures will be corrected. Comments on supplied content should be sent to the author or copyright owner through the tools provided in the forums.
Please log in to post a reply.
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.