Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Wed, 01 Apr 2026 14:58:52 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Laminar Flow Not Affecting Electroanalysis Results — Dean Flow Not Observed https://www.comsol.com/forum/thread/371382/laminar-flow-not-affecting-electroanalysis-results-dean-flow-not-observed?last=2026-04-01T17:46:42Z <p>I am modeling a microfluidic electrochemical system in COMSOL using a two-step study: (1) a stationary Laminar Flow (spf) solution to obtain the velocity field, followed by (2) a time-dependent Electroanalysis (tcd) study for cyclic voltammetry (CV). The intention is for the velocity field from the laminar flow solution to be used in the electroanalysis step so that convection influences species transport and, consequently, the electrochemical response.</p> <p>However, I am not observing any change in the CV results when varying flow rate or channel curvature (including geometries where Dean flow is clearly present in the velocity field). The concentration profiles at the working electrode appear unchanged across different flow conditions, suggesting that convection is not being accounted for in the electroanalysis solution.</p> <p>In the time-dependent study step, Laminar Flow is unchecked (not solved), and I have set “Values of variables not solved for” to use the solution from the stationary study. Despite this, the electroanalysis results remain insensitive to flow.</p> <p>Is there something I may be missing in properly coupling the laminar flow solution to the electroanalysis physics (e.g., enabling convection in species transport, required multiphysics coupling, or solver configuration)? Any guidance would be greatly appreciated.</p> Wed, 01 Apr 2026 14:58:52 +0000 4.2026-04-01 14:58:52.371382 Explicitly Modeling Reference Electrode https://www.comsol.com/forum/thread/371372/explicitly-modeling-reference-electrode?last=2026-04-01T14:43:12Z <p>Hello everyone,</p> <p>I am attempting to model a three electrode Microfluidic Electrochemical Sensor (MES). I am able to model the working and counter electrodes and get some results, but I believe they are incorrect. One reason I am thinking is because I am not explicitly assigning a boundary condition to the reference electrode. Is there a way to explicitly assign a boundary for the reference electrode and assign the correct physics? Any help would be greatly appreciated. I am using the electroanalysis physics.</p> Wed, 01 Apr 2026 14:43:12 +0000 4.2026-04-01 14:43:12.371372 How to extract the stiffness matrix K in multi-body dynamics (mbd) Transient simulation using MATLAB? https://www.comsol.com/forum/thread/371343/how-to-extract-the-stiffness-matrix-k-in-multi-body-dynamics-mbd-transient-simulation-using-matlab?last=2026-04-01T12:11:34Z <p>As the title indicates, when I attempted to use the mphmatrix function, I encountered an error: "The solution does not contain an active Variables node"</p> Wed, 01 Apr 2026 08:49:15 +0000 4.2026-04-01 08:49:15.371343 How are global evaluations of the displacement field done in a solid mechanics simulation? https://www.comsol.com/forum/thread/371341/how-are-global-evaluations-of-the-displacement-field-done-in-a-solid-mechanics-simulation?last=2026-04-01T11:21:01Z <p>I am doing an <strong>eigenfrequency</strong> study of a <strong>solid mechanics</strong> system. I have defined some variables, let's call them A and B, which depend on the "<strong>solid.disp</strong>" variable from the "Solid Mechanics>Linear Elastic Material" node (that is to say, the mechanical displacement magnitude) and the "<strong>displacement field</strong>", the dependent variable in the "solid mechanics" node. I then evaluate A and B under a "results>derived values><strong>global evaluations</strong>" node. Now my question is, how will A and B be evaluated? The mechanical displacement should change as the mechanical system resonates, right? So is the solid.disp used in the global evaluation the maximum of the displacement magnitude or is it something else?</p> <p>I am asking because I expect A > B and instead get A &lt; B so maybe I am missunderstanding something about how the variables are evaluated. For both variables, A and B, involves an integral over the same spatial domain and B involves a derivative of the "displacement field".</p> Wed, 01 Apr 2026 07:57:16 +0000 4.2026-04-01 07:57:16.371341 RF Magnetron sputtering solving errors https://www.comsol.com/forum/thread/371322/rf-magnetron-sputtering-solving-errors?last=2026-03-31T18:40:06Z <p>Facing the following errors while solving, I need help with this.</p> <p>Failed to find a solution. Singular matrix. Returned solution is not converged. Not all parameter steps returned.</p> Tue, 31 Mar 2026 10:44:14 +0000 4.2026-03-31 10:44:14.371322 "Divergence error" when simulating EM interaction between a Hall plate and a coil https://www.comsol.com/forum/thread/371281/divergence-error-when-simulating-em-interaction-between-a-hall-plate-and-a-coil?last=2026-03-31T13:00:09Z <p>Hello everyone,</p> <p>I am currently working on simulating the electromagnetic interaction between a Hall plate and a surrounding coil in an IC, and I have run into a persistent convergence issue.</p> <p>My coil model contains very small gaps (typically &lt; 0.5 μm), and the coil itself is made of wide, thin metal (width ~30 μm, thickness ~0.5 μm). Because of this high aspect ratio, my simulation consistently fails with a Maxwell divergence error (e.g., divergence cleaning failed). Increasing the mesh density did not solve the problem; it only led to a severe out-of-memory (OOM) issue.</p> <p>I have tried the following troubleshooting steps, but none of them resolved the error:</p> <ol> <li>Using a Custom Mesh Sequence: I applied a "Free Triangular" mesh to the coil surfaces and used a "Swept" mesh across its thickness. For the remaining domains (the spherical air domain and the Hall plate), I used a "Free Tetrahedral" mesh.</li> </ol> <ul> <li>Result: This effectively reduced the total number of mesh elements and memory load, but the divergence error still occurred.</li> </ul> <p>2.Using "Remove Details" in Geometry: I tried using the Remove Details operation to eliminate small geometrical features in the air gap region.</p> <ul> <li>Result: The divergence error persists.</li> </ul> <p>These are the approaches I could think of so far, but I am certain I must be overlooking a critical setting (perhaps a specific boundary condition for thin structures?). Has anyone encountered a similar issue or can point me in the right direction to debug this?</p> <p>Thank you very much for your help!</p> Tue, 31 Mar 2026 06:05:59 +0000 4.2026-03-31 06:05:59.371281 Implementing the floquet periodic condition in lshell https://www.comsol.com/forum/thread/371251/implementing-the-floquet-periodic-condition-in-lshell?last=2026-03-30T08:23:34Z <p>Hello, I have been trying to draw the dispersion curves of a layered composite material using the shell interface, which includes the floquet boundary condition, and I have obtained some results. But, it seems that the layered shell interface is better suited for this purpose, the problem am facing is that there is no implemented floquet boundary condition in lshell. Is there a way i can implement it easily. Thank you very much</p> Mon, 30 Mar 2026 08:17:24 +0000 4.2026-03-30 08:17:24.371251 Fixing Divergence Caused by Modeling Ambient Air Heated by Furnace https://www.comsol.com/forum/thread/371242/fixing-divergence-caused-by-modeling-ambient-air-heated-by-furnace?last=2026-03-30T05:54:16Z <p>Hello All</p> <p>I am a research intern who is attempting to model the effects of boring a hole into a furnace utilized at our lab as we wish to know how hot the surroundings will become due to this hole. I have had no issues creating the geometry, and the simulation converges and behaves just fine when it is just the furnace with the bored hole, but once I add a block of air above the furnace to model the ambient air around this bored hole my simulation consistently diverges.</p> <p>To help picture the study I have attached a screen-shot of the model in question. The rectangle on top is the block of air causing divergence.</p> <p>I am running a stationary multi-physics study of heat transfer in fluids and laminar flow. For physics, the air in question is assigned laminar flow and ambient initial conditions. Gravity is on, and as the air is a boundary of the simulation, I have assigned it the boundary condition of heat flux just like the rest of outer layer of the model to simulate convective cooling of this block of air from the ambient air around it thats not being explicitly included in the geometry.</p> <p>To preface I am not well versed in FEA nor PDE's, so I am sorry if my question seems trivial or foolish. This problem also seemed quite simple to me but I cannot get anything to converge for the life of me so I am hoping someone who knows anything could potentially help. If any more information is needed, please ask and I will specify.</p> <p>Thank you</p> Mon, 30 Mar 2026 05:54:16 +0000 4.2026-03-30 05:54:16.371242 Modeling Temperature Stability for Vaccine Transportation Using Dry Ice https://www.comsol.com/forum/thread/371231/modeling-temperature-stability-for-vaccine-transportation-using-dry-ice?last=2026-03-26T19:04:32Z <p>Hello everyone,</p> <p>I am interested in modeling temperature distribution for vaccine transportation using dry ice in insulated containers. Since vaccines require strict cold chain conditions, maintaining a consistent low temperature during transit is critical.</p> <p>I would like to understand how we can simulate:</p> <p>Heat transfer inside an insulated box Sublimation effect of dry ice (CO₂ phase change) External temperature impact during transportation</p> <p>Is it possible in COMSOL Multiphysics to couple heat transfer with phase change for dry ice cooling? If yes, which physics interface or module would be most suitable for this type of simulation?</p> <p>Additionally, if anyone has experience with real-world cold chain applications (such as pharmaceutical logistics), I would appreciate insights on practical parameters to consider.</p> <p>From a practical perspective, reliable dry ice supply and proper insulation are commonly used in the industry to maintain temperature stability during transport.</p> <p>Looking forward to your suggestions and guidance.</p> <p>Thank you.</p> Wed, 25 Mar 2026 13:41:15 +0000 4.2026-03-25 13:41:15.371231 Electrostriction simulation https://www.comsol.com/forum/thread/371222/electrostriction-simulation?last=2026-03-25T13:40:50Z <p>Hello,</p> <p>I am trying to simulate the compressive strain caused by an electric field, but I am having problems to have the strain plotted in 2D graphs. I think I am doing wrong at somepoint in the plot, because I am getting the opposite I was expecting for a strain graphs in 2D. Could someone help me with this? What is the variable name for strain when I am plotting it?</p> Wed, 25 Mar 2026 13:40:50 +0000 4.2026-03-25 13:40:50.371222 Modeling 3-phase Toluene (LNAPL) transport and biodegradation across vadose and saturated zones: Physics interface selection https://www.comsol.com/forum/thread/370963/modeling-3-phase-toluene-lnapl-transport-and-biodegradation-across-vadose-and-saturated-zones-physics-interface-selection?last=2026-03-19T13:06:40Z <p>Hi everyone,</p> <p>I am developing a model to simulate 3-phase Toluene (LNAPL) transport and natural attenuation—including volatilization and Monod-based biodegradation—across both vadose and saturated zones.</p> <p>Which physics interfaces should I use to best capture this process? Specifically, is it better to couple "Multiphase Flow in Porous Media" with "Transport of Diluted Species in Porous Media", or is there a more numerically efficient approach to handle the air-water-oil distribution and phase-specific reaction kinetics?</p> <p>I am particularly concerned with correctly representing the capillary fringe and the transition of toluene from a separate liquid phase to dissolved and gaseous phases. Any advice or relevant examples from the Application Gallery would be greatly appreciated.</p> Thu, 19 Mar 2026 13:06:40 +0000 4.2026-03-19 13:06:40.370963 Exposure to an RF Electromagnetic Pulse https://www.comsol.com/forum/thread/370961/exposure-to-an-rf-electromagnetic-pulse?last=2026-03-21T17:24:08Z <p>Hello there!</p> <p>I am a newcomer to COMSOL Multiphysics and I am currently attempting to set up a simulation involving the exposure of a object to a radiofrequency (RF) electromagnetic pulse. The primary objective is to study the thermal and electromagnetic physical parameters (temperature, EF distribution). I am aware that the appropriate tool for this type of problem is the RF Module; however, I remain uncertain as to which of its physics interfaces best suits my case. Having briefly reviewed the available options, I have identified interfaces such as Electromagnetic Waves, Frequency Domain (emw) and Electromagnetic Waves, Time Explicit, among others, but I lack the background to determine which most accurately captures the physics of RF pulse propagation. I am also encountering difficulties in correctly defining the boundary conditions. Specifically, I am unsure <strong>how to set up the RF pulse excitation source</strong> and how to handle the outer boundaries of the computational domain. I have come across conditions such as Scattering Boundary Conditions and Perfectly Matched Layers (PML), which appear to be relevant for suppressing spurious reflections at the domain boundaries, but I have not yet been able to understand how to apply them correctly within the context of my model.</p> <p>In light of the above, I would be most grateful if members of this community could direct me towards:</p> <ol> <li><p>Official COMSOL tutorials or Application Library models addressing RF exposure. Should any member of the community have already addressed a similar problem and be willing to share a worked example or provide direct guidance, I would be most grateful for their contribution;</p></li> <li><p>Guidance on which physics interface within the RF Module is most suitable for this class of problems;</p></li> <li><p>Introductory documentation or methodological references appropriate for users approaching coupled electromagnetic–thermal modelling for the first time.</p></li> </ol> <p>Any guidance, even of a general or preliminary nature, would be of considerable value at this stage. Thank you in advance for your time and expertise.</p> <p>Kind regards</p> Thu, 19 Mar 2026 09:37:45 +0000 4.2026-03-19 09:37:45.370961 Mass conservation violation in a stirred reactor https://www.comsol.com/forum/thread/370951/mass-conservation-violation-in-a-stirred-reactor?last=2026-03-18T19:16:01Z <p>Hi,</p> <p>I would like to simulate a stirred reactor for an aqueous reaction. The stirrer is a huge plate, and the reaction occurs on the surface of this plate. For the flow regime, first, I solve the Frozen Rotor problem. Then, I use the Frozen Rotor solution as the initial condition for a time-dependent study. To study mixing and reaction, I use the flow field obtained from the time-dependent simulation, and I solve another time-dependent study</p> <p>I am considering an irreversible reaction, for example: A → B. At some point, the concentration of A starts to accumulate inside the reactor, while the concentration of B begins to decrease (which is physically impossible). The trends appear to be very symmetrical. If I disable the reaction, the concentrations becomes stable. There is no accumulation in this case.</p> <p>I asked ChatGPT about possible reasons for this behavior. I have tried changing the mesh density, adjusting the time steps, and switching the convective term to conservative form (which led to a numerical instability/explosion), and none of these worked for me.</p> <p>Therefore, I would like to ask whether you have encountered this type of problem before, and what the possible causes or solutions might be.</p> <p>Thank you for your time and support.</p> Wed, 18 Mar 2026 16:01:55 +0000 4.2026-03-18 16:01:55.370951 Trial passcode https://www.comsol.com/forum/thread/370941/trial-passcode?last=2026-03-16T12:34:16Z <p>Can you provide me with a trial code so I can test it out and see if it's suitable for my project?</p> Mon, 16 Mar 2026 09:48:52 +0000 4.2026-03-16 09:48:52.370941 Problem about Deformation of a Biomedical Stent with Simulation https://www.comsol.com/forum/thread/370933/problem-about-deformation-of-a-biomedical-stent-with-simulation?last=2026-03-14T16:19:20Z <p>Hello guys, I encountered a problem when conducting the mechanical simulation of a bracket and would like to seek advice from everyone. In the reference case, due to the symmetry of the bracket, only a 1/24 model was established for calculation; however, my own bracket structure is not completely symmetrical, so I hope to directly establish and calculate the entire bracket model. But when using the complete model, an error occurs during the solution process: "The iteration for finding the elastic-plastic strain variable did not converge." I would like to ask what usually causes this situation? Is it a problem with material parameters, boundary conditions, contact settings, or mesh/solver settings? If you have similar experience, please share some troubleshooting ideas. Thank you very much.</p> Sat, 14 Mar 2026 16:19:20 +0000 4.2026-03-14 16:19:20.370933 Photodetector Simulation https://www.comsol.com/forum/thread/370931/photodetector-simulation?last=2026-03-18T04:48:15Z <p>I am modelling photodetector and I want to define the refractive index (nk file) for the material but after adding the file in the interpolation when ever i add to the material it is not working</p> Fri, 13 Mar 2026 13:34:01 +0000 4.2026-03-13 13:34:01.370931 Coaxial cavity resonator https://www.comsol.com/forum/thread/370921/coaxial-cavity-resonator?last=2026-03-13T14:52:14Z <p>I am trying to model a coaxial RF resonator cavity. It consists of hollow outer and inner cylindrical conductors (copper) and are shorted on the two ends by a copper caps. I added impedence boundary conditions to include the losses. I have added Eigenfrequency study. The issue is, when I "compute", I am getting this error: Undefined variable.</p> <ul> <li><p>Variable: comp1.emw.Qfactor</p></li> <li><p>Global scope</p></li> </ul> <p>Failed to evaluate expression.</p> <ul> <li><p>Expression: comp1.emw.Qfactor</p></li> <li><p>Feature: Eigenfrequencies (emw)</p></li> </ul> <p>Can you please explain me what am I missing? Also, apart from this error, how should I proceed with this modeling?</p> Fri, 13 Mar 2026 05:24:42 +0000 4.2026-03-13 05:24:42.370921 Charge Particle Tracing Module https://www.comsol.com/forum/thread/370861/charge-particle-tracing-module?last=2026-03-12T14:07:39Z <p>Hi everyone, I’m working on an electron discharge model using the Electrostatics and CPT modules. The setup involves two particles with opposite polarity approaching each other in vacuum and before contact, a field emission‑driven discharge begins between them. I want to model a continuous electron discharge in CPT. At the moment, I need to manually specify the emission time steps, but ideally I want the particle generation and release to be determined automatically by the local electric field strength on each small element. Since the discharge current density depends on the field intensity, I would like the solver to create particles based on this field‑dependent emission rate, using whatever time steps the solver naturally takes. Is there a way to set up CPT so that emission is continuous and governed directly by the evolving electric field, rather than prescribing fixed release times?</p> Tue, 10 Mar 2026 16:09:59 +0000 4.2026-03-10 16:09:59.370861 High-Velocity Single Particle Impact and Shear instability https://www.comsol.com/forum/thread/370851/high-velocity-single-particle-impact-and-shear-instability?last=2026-03-10T16:11:59Z <p>Hi everyone, I'm currently working on a high‑velocity impact simulation using the Solid Mechanics interface with the Johnson–Cook plasticity model. I keep running into repeated failures in the elastoplastic update.</p> <p>Here is a summary of the situation:</p> <p>Material model: Johnson–Cook A = 90 MPa B = 292 MPa n = 0.31 C = 0.025 m = 1.09</p> <p>Mesh: ~0.25 µm element size (≈ d/100 for a 25 µm particle) Loading: the particle starts with an initial velocity and travels across a small gap before contacting the substrate Time stepping: explicit, Δt ≈ 3×10⁻14 Local method: Backward Euler (Damped) Mass matrix: lumped Explicit time stepping - Verlet Method with Adams-Bashforth 2 Auxiliary solver. Steps taken by solver: Manual - ts.</p> Tue, 10 Mar 2026 15:58:00 +0000 4.2026-03-10 15:58:00.370851 Parameter estimation - Results which yield physically meaningful information https://www.comsol.com/forum/thread/370841/parameter-estimation-results-which-yield-physically-meaningful-information?last=2026-03-12T11:09:44Z <p>Hi COMSOL community!</p> <p>I have an issue I am sure several others have experienced, where I use COMSOL to model a physical system, though the numerical output does not necessarily make any sense.</p> <p>Specifically, I use the PDE interface to define my equations and the parameter estimation option to model my experimental data. This is a diffusion problem, where I have time dependent diffusion data (loss/gain of concentration [mol/m^3] over time [s]) for several temperatures. I can model this data with Fick's second law, with the diffusion coefficient as the fitting variable, though it will naturally change with temperature.</p> <p><strong>My goal is to model these data sets simultaneously, with a global objective function describing the Arrhenius relationship between the diffusion coefficient and the temperature.</strong> This way, all the individual diffusion coefficients will change such that they change linearly based on the temperature change. My current model only allows to do one temperature at a time, after which I must change settings to another temperature, and so on. This can yield odd diffusion coefficients, which do not necessarily follow the expected Arrhenius behaviour, hence my wish to circumvent the issue.</p> <p><strong>A main issue is that I cannot seem to "access" the final value of the diffusion coefficient (from the parameter estimation).</strong> I cannot say e.g.: D_trend = [sol1.conpar10 sol2.conpar10 sol3.conpar10]; <em>%where conpar10 is a name for the diffusion coefficient</em></p> <p>and that this vector should change linearly with temperature.</p> <p>This issue is also applicable to other issues, such as heat conduction, structural or fluid mechanics, or any problem where several fitting results should follow a trend with respect to either a temperature, pressure, or any other parameter.</p> <p>Thank you for any and all input.</p> Tue, 10 Mar 2026 11:06:22 +0000 4.2026-03-10 11:06:22.370841