Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Thu, 03 Jul 2025 21:41:09 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Boundary Error in meshing https://www.comsol.com/forum/thread/353492/boundary-error-in-meshing?last=2025-07-03T21:41:09Z <p>I am modeling a laser cathode stem that uses a heater coil for joule heating.</p> <p>My issue is that the bottom portion of my coil has 0 spacing between them, the windings are directly on top of each other. When I am meshing in COMSOL the boundaries are giving the error of "intersecting face elements." I have this on "extremely fine" free tetrahedral. I tried ignoring edges and some boundaries but it just seemed to cause more issues that I don't know how to fix.</p> <p>This is my first COMSOL simulation so apologies if things are a bit unclear. Couldn't seem to reduce file size down even after removing meshing. Added the stp file to show geometry, though.</p> Thu, 03 Jul 2025 21:41:09 +0000 4.2025-07-03 21:41:09.353492 Requesting Guidance for Vacuum Chamber Analysis – New User Struggling https://www.comsol.com/forum/thread/353491/requesting-guidance-for-vacuum-chamber-analysis-new-user-struggling?last=2025-07-03T14:44:49Z <p>Hi everyone,</p> <p>My name is Vijay, and I am currently working on my master’s thesis, focusing on vacuum chamber analysis using COMSOL. I am new to this field and have been struggling to get meaningful results for the past 30 days despite trying my best.</p> <p>If anyone is available to guide me or provide advice on the workflow, boundary conditions, or setup strategies until I can get my first meaningful results, it would be a huge help. I am open to having a call to discuss my setup in detail if needed.</p> Thu, 03 Jul 2025 14:44:49 +0000 4.2025-07-03 14:44:49.353491 Simplest CUDA context https://www.comsol.com/forum/thread/353471/simplest-cuda-context?last=2025-07-03T12:57:27Z <p>Hello!</p> <p>I have a 1D Weak Form PDE with only one dependent variable u, which has shape-function 'Nodal discontinous Lagrange'. In Compile Equations Statistics it is seeable, that this dependent variable u creates <strong>45</strong> Deegrees of Freedom, and in total there is also <strong>45</strong> Deegrees of Freedom.</p> <p>But when computing with Hardware Acceleration (CUDA) a warning still says: "GPU calculations disabled. Not all dofs are DG.". But Compile Equations Statistics says otherwise.</p> <p>How is this possible?</p> <p>Nice greetings</p> Thu, 03 Jul 2025 12:56:44 +0000 4.2025-07-03 12:56:44.353471 How can we find the Current distribution on the top and bottom metal surfaces of the absorber https://www.comsol.com/forum/thread/353461/how-can-we-find-the-current-distribution-on-the-top-and-bottom-metal-surfaces-of-the-absorber?last=2025-07-03T11:17:35Z <p>Hi, i am working on metamaterial absorber and i want to know that how can we find Current distribution on the top and bottom metal surfaces of the absorber.</p> Thu, 03 Jul 2025 11:17:35 +0000 4.2025-07-03 11:17:35.353461 meshing in axisymmetric models https://www.comsol.com/forum/thread/353441/meshing-in-axisymmetric-models?last=2025-07-03T09:33:34Z <p>I've noticed that vertical boundaries in axisymmetric models are meshed very coarsely, whereas if I create the same geometry in 3D the equivalent boundaries are meshed more finely.</p> <p>Is there some explanation for this?</p> Thu, 03 Jul 2025 09:33:34 +0000 4.2025-07-03 09:33:34.353441 Divergence h(div) as shape-function; which physics interfaces? https://www.comsol.com/forum/thread/353401/divergence-hdiv-as-shape-function-which-physics-interfaces?last=2025-07-02T17:20:56Z <p>Hi!</p> <p>Which physics interfaces use divergence h(div) as shape functions?</p> <p>I want solve a 'grad div A' or 'divA*test(divA)' context and want to know how to configure the solver for divergence-shape-function contextes.</p> <p>Thank you. Nice greetings</p> Wed, 02 Jul 2025 16:35:09 +0000 4.2025-07-02 16:35:09.353401 Coil turns have the same current ? https://www.comsol.com/forum/thread/353391/coil-turns-have-the-same-current?last=2025-07-02T15:26:24Z <p>Hello,</p> <p>I am working on a 2D-Axisymetric model, where i am modeling a coil. If i draw each turn individually, spaced, will the different turns have the same current (as they should be connect in series)? If not, and if I am trying to induce current in my coil, how can i ensure this?</p> <p>Thanks, Vitor</p> Wed, 02 Jul 2025 15:26:24 +0000 4.2025-07-02 15:26:24.353391 Moving magnets study https://www.comsol.com/forum/thread/353371/moving-magnets-study?last=2025-07-02T02:53:22Z <p>I'm new to COMSOL (so new that I just downloaded it yesterday) , and I want to study movements from magnetic forces.</p> <p>I've been trying to do a 2 magnets study, but I kept getting the " relative error higher than tolerance" error.</p> <p>Now I've come to seek help from the community.</p> Wed, 02 Jul 2025 02:53:22 +0000 4.2025-07-02 02:53:22.353371 Error in Coupled Electrostatics-Heat Transfer Simulation: Divergence in Linear Iterations? https://www.comsol.com/forum/thread/353361/error-in-coupled-electrostatics-heat-transfer-simulation-divergence-in-linear-iterations?last=2025-07-01T22:45:24Z <p><strong>Model Description:</strong> I am simulating power dissipation in a 3D chip with RF and DC electrodes embedded beneath insulating layers. The simulation uses:</p> <p>Electrostatics (FEM) coupled with Heat Transfer in Solids.</p> <p>Stationary study</p> <p>Applied Voltage: 100 V on the RF electrodes.</p> <p><strong>Key Assumption:</strong> Since the electrode dimensions are in millimeters (mm), I approximated the 20 MHz RF signal as a DC field (quasi-static assumption) and opted for electrostatics instead of full electromagnetics.</p> <p><strong>Error Message:</strong></p> <p>Failed to find solution.<br /> In temperature: Divergence of the linear iterations.<br /> Returned solution is not converged.<br /> Not all parameter steps returned.<br /> Note: I kept mesh normal in size. I need the solutions and susggestions asap.</p> Tue, 01 Jul 2025 22:45:23 +0000 4.2025-07-01 22:45:23.353361 Electric interference https://www.comsol.com/forum/thread/353341/electric-interference?last=2025-07-02T06:54:49Z <p>Dear Experts,</p> <p>I got the following error message:</p> <ul> <li>Parameters: "time","0"<br /> The following feature has encountered a problem:</li> <li>Feature: Time-Dependent Solver 1 (sol75/t1)<br /> Failed to find consistent initial values.<br /> Last time step is not converged.</li> </ul> <p>The physics: Electric currents<br /> The equation I used: (the polarity changes)<br /> Io&#42;sin(2&#42;pi&#42;f1&#42;t)<br /> - Io&#42;sin(2&#42;pi&#42;f2&#42;t)<br /> Io&#42;sin(2&#42;pi&#42;f1&#42;t)<br /> - Io&#42;sin(2&#42;pi&#42;f2&#42;t)</p> <p>See at physics.png<br /> Note: though the are two current sinks under the electric current, these are Current source as well. (I know, in Electrochemistry Module there is a designated module to current sink, but I do not have access to it. )</p> <p>The solutions that did not work: - A Stationary step was added before the Time dependent study<br /> - Using the following equations to avoid the value 0:<br /> - Io&#42;sin(2&#42;pi&#42;f&#42;t)&#42;(1 - exp(-t/tau)) - Io&#42;sin(2&#42;pi&#42;f&#42;t)&#42;(t&lt;ramp_time) + Io&#42;sin(2&#42;pi&#42;f&#42;t)&#42;(t>=ramp_time)</p> <ul> <li>Changing the time range</li> <li>redo the whole study/physics</li> </ul> Tue, 01 Jul 2025 08:24:42 +0000 4.2025-07-01 08:24:42.353341 Magnetic tumbling robot simulation https://www.comsol.com/forum/thread/353251/magnetic-tumbling-robot-simulation?last=2025-06-28T14:16:24Z <p>Hello, everyone. I wanna achieve a simulation of the tumbling motion of magnetic layer under magnetic field, as shown in the attached figures. Can anyone help me? Thank you very much.</p> Sat, 28 Jun 2025 14:16:24 +0000 4.2025-06-28 14:16:24.353251 Time-domain Electromagnetic Field Distribution Calculation for Waveguide-Fed Resonant Cavities https://www.comsol.com/forum/thread/353243/time-domain-electromagnetic-field-distribution-calculation-for-waveguide-fed-resonant-cavities?last=2025-07-02T01:59:33Z <p>Dear experts, I currently need to perform time-domain electromagnetic field calculations for a resonant cavity fed by a waveguide. However, unlike in frequency-domain calculations, I cannot directly apply a rectangular waveguide port excitation. Is there a suitable method to achieve equivalent excitation, so as to obtain results consistent with those of frequency-domain calculations?</p> Sat, 28 Jun 2025 13:16:32 +0000 4.2025-06-28 13:16:32.353243 Application models for COMSOL 6.0 Version https://www.comsol.com/forum/thread/353221/application-models-for-comsol-60-version?last=2025-06-27T12:36:40Z <p>Good Morning all... Can I get Application models for COMSOL 6.0 version. because currently i am using COMSOL 6.0 version only.</p> Fri, 27 Jun 2025 06:54:53 +0000 4.2025-06-27 06:54:53.353221 Assistance Required Modeling HV to Signal Wire Coupling https://www.comsol.com/forum/thread/353212/assistance-required-modeling-hv-to-signal-wire-coupling?last=2025-06-26T19:22:55Z <p>Hello All,</p> <p>I am attempting to recreate an experiment in COMSOL in which a high voltage wire has an applied switching voltage (300V peak to peak) and is placed within proximity of a test signal wire to observe the coupling between them for EMC/EMI applications. I am however having an issue figuring out which physics interface(s) and domain/boundary conditions I should be incorporating into the model to achieve the expected outcome. The HV wire potential is set to a square waveform and I should be observing spikes in the signal wire potential at the rise and falls. I have played around with ES and EC to no avail and before I start poking around further on my own, I figured some guidance would be a better option to get started</p> <p>All of my previous COMSOL experience has been with microfluidics reasearch so I'm a little unsure changing things up but any help would be much appreciated!</p> Thu, 26 Jun 2025 13:09:47 +0000 4.2025-06-26 13:09:47.353212 Bulk acoustic streaming imputing the equations https://www.comsol.com/forum/thread/353202/bulk-acoustic-streaming-imputing-the-equations?last=2025-06-26T12:29:18Z <p>Hello everyone.</p> <p>I am trying to reproduce an acoustic streaming simulation using COMSOL version 6.2. With the domain and boundary couplings, I am not able to achieve the results presented in the article: the values I obtain show a difference of up to 10⁻³ orders of magnitude. For this reason, I am trying to manually introduce the equations as the author did. I have used all parameters identical to those of the author. Could anyone with experience in acoustic streaming and manual equation implementation help me? Below are my results and the author’s results. I have run tests using both the thermoviscous acoustics and pressure acoustics modules.!</p> <p>Equations: https://drive.google.com/file/d/1Pjtt3LQDhihuySxl2Bi06AUSFii_ZOeM/view?usp=sharing</p> <p>Article: https://drive.google.com/file/d/1Oi59P2okPOBGToxr3XVfNY94yljk7Bo7/view?usp=sharing</p> Thu, 26 Jun 2025 12:28:45 +0000 4.2025-06-26 12:28:45.353202 Quarter-wave Impedance Transformer https://www.comsol.com/forum/thread/353201/quarter-wave-impedance-transformer?last=2025-06-26T09:31:32Z <p>Request for Broadband/Narrowband Quarter-Wave Transformer Model (.mph File)</p> <p>Dear COMSOL Community, I hope you're doing well. I'm currently working on a project involving quarter-wave impedance transformers and would greatly appreciate your help. I'm looking for a COMSOL .mph file that demonstrates both narrowband (single-section) and broadband (multi-section or tapered) λ/4 transformer designs operating around 2.5 GHz on an FR4 substrate (εᵣ = 4.4, 1.6 mm thick), matching 50 Ω to 100 Ω. If you have an existing model or could share one, it would help me validate my S-parameter results, Smith chart plots, and field distributions. I'd be happy to credit your contribution and share my findings in return. Please let me know if you can assist or point me to relevant resources..</p> <p>Thank you for your time and expertise! Best regards,</p> Thu, 26 Jun 2025 05:06:42 +0000 4.2025-06-26 05:06:42.353201 Rotating permanent maget https://www.comsol.com/forum/thread/353192/rotating-permanent-maget?last=2025-06-25T21:45:12Z <p>hi,</p> <p>I'm trying to rotate permanent magnet mechanically, and observe the distribution of magnetic field due to the rotation.</p> <p>I'm trying with moving mesh-rotating domain and magnetic fields-magnet. As a result, magnet rotates mechanically, but the magnetic flux density is fixed as a initial state.</p> <p>I want to know why it works like this.</p> <p>Thank you,</p> Wed, 25 Jun 2025 21:45:12 +0000 4.2025-06-25 21:45:12.353192 Mu metal magnetic shielding and the transition boundary condition https://www.comsol.com/forum/thread/353182/mu-metal-magnetic-shielding-and-the-transition-boundary-condition?last=2025-06-26T23:53:17Z <p>I am trying to model magnetic shielding with mu metal, and from this comsol seminar https://www.comsol.com/video/modeling-electromagnetic-shielding-in-comsol-multiphysics, I am told to use the transition boundary condition to model this.</p> <p>My question is, why is this a valid way to model magnetic shielding? Looking at the documentation for the transition boundary condition, there is no mention of magnetic fields.</p> <p>Thanks</p> Wed, 25 Jun 2025 19:38:55 +0000 4.2025-06-25 19:38:55.353182 Coil/Magnet Simulation https://www.comsol.com/forum/thread/353172/coilmagnet-simulation?last=2025-06-25T17:28:46Z <p>I am modeling an electro-magnet and comparing the results with some measurements. The results are fairly accurate except as you approach the area close to the boundary between the steel and the air domain.</p> <p>I am just using a tetrahedral mesh. Is there a particular approach I need to take for this boundary?</p> Wed, 25 Jun 2025 17:28:46 +0000 4.2025-06-25 17:28:46.353172 grad div A - weak expression? https://www.comsol.com/forum/thread/353171/grad-div-a-weak-expression?last=2025-06-25T15:56:13Z <p>Hi!</p> <p>When having 3 dependent vector-components: Ax, Ay, Az. Is</p> <p>(Axx+Ayy+Azz)*(test(Axx)+test(Ayy)+test(Azz))</p> <p>the correct weak expression for grad div A?</p> <p>Or splitted in 3 input-fields:</p> <ul> <li>(Axx+Ayy+Azz)*test(Axx)</li> <li>(Axx+Ayy+Azz)*test(Ayy)</li> <li>(Axx+Ayy+Azz)*test(Azz)</li> </ul> <p>Nice greetings</p> Wed, 25 Jun 2025 15:53:48 +0000 4.2025-06-25 15:53:48.353171