Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Tue, 14 Apr 2026 17:58:50 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Carry Over of pre stress for parametric optimisation while using Livelink for Solidworks https://www.comsol.com/forum/thread/371541/carry-over-of-pre-stress-for-parametric-optimisation-while-using-livelink-for-solidworks?last=2026-04-15T06:55:18Z <p>I aim to perform a simulation that involves compliant mechanisms (mechanisms that achieve their motion due to their elasticity). Specifically, I am interested in orthoplanar mechanisms. These are flat sheets that have specific cuts to enable motion in perpendicular to plane direction. I have created a Livelink for Solidworks to allow ease of modelling and parametrization.</p> <p>I have 4 layers of orthoplanar flexure mechanisms. I want to perform a simulation in 2 phases. Phase 1 involves the assembly of orthoplanar flexures. But the catch is the top most orthoplanar flexure and the bottom most orthoplanar flexure are to be pre deflected. The other 2 flexures in the middle are in neutral position. Phase 2 is analysis phase for which I want to connect all four orthoplanar flexures. That is the top most connects to the middle, middle connects to lower middle, lower middle flexure connects to lower most. But for me in phase 2 it is important that the top most and bottom most are pre deflected and pre stressed. So at end of this phase two of my flexures are deflected and two are not deflected. But they are all connected together at the end of this phase.</p> <p>How can I do this in the most effective way. Keep in mind I am using Livelink for Solidworks and am aiming to perform optimisation on design parameters. I have tried to use remesh deformed configuration but realised that this would not contain the pre stress that I would need. It would be great if you could provide a simple easy-to- implement solution that would integrate in my current workflow with minimal changes.</p> Tue, 14 Apr 2026 17:58:50 +0000 4.2026-04-14 17:58:50.371541 complex band structure https://www.comsol.com/forum/thread/371531/complex-band-structure?last=2026-04-13T17:32:16Z <p>I am studying complex band structure of a 1D two-layer periodic unit cell consisting of:</p> <p>One elastic layer One viscoelastic layer (with damping)</p> <p>My goal is to compute and plot:</p> <p>Real part of wavenumber (Re(k)) vs frequency Imaginary part of wavenumber (Im(k)) vs frequency</p> <p>to identify attenuation regions (band gaps).</p> Mon, 13 Apr 2026 17:32:16 +0000 4.2026-04-13 17:32:16.371531 state space extraction from heat transfer models https://www.comsol.com/forum/thread/371521/state-space-extraction-from-heat-transfer-models?last=2026-04-13T14:54:41Z <p>Hello</p> <p>I am trying to extract state space models of a 2D heat transfer models with phase change and radiation boundary condition, my input is laser beam and output is a pyrometer defined as a Gaussian weighted integration over an oval area on the surface.</p> <p>the issue is that while extracting state space model with pyrometer the deviation between state space and FEM is very large while when using a point probe for extraction the deviation is not much, can you please help me have a better state space for pyrometer?</p> <p>I use mphstate for model extraction</p> Mon, 13 Apr 2026 14:54:41 +0000 4.2026-04-13 14:54:41.371521 Electromagnetic simulation on non reciprocal magneto plasmonic material https://www.comsol.com/forum/thread/371501/electromagnetic-simulation-on-non-reciprocal-magneto-plasmonic-material?last=2026-04-13T13:04:12Z <p>Hello everyone,</p> <p>I am positing on this forum because I am new to COMSOL software and I am actually working on meta surfaces. The article I work on is about magneto plasmonic where they use a dielectric material in which they put a ring of MO material in which there is a silver disk inside.</p> <p>The thing is even though I understand and know the physics concepts behind I have no idea on how to simulate it on COMSOL so I tried to be helped with some tutorial and GPT but it is actually way too difficult since I think it's already advanced simulations.</p> <p>I tried to create the structure in 2D but, after that, I have absolutely no idea what type of physics, study and mesh I should use and why.</p> <p>Can someone help me with that or give me some examples or link to tutorial to that type of study?</p> <p>The article name is "Nonreciprocal isolator based on a plasmonic magneto-optical resonator" if that could help.</p> <p>I also attach my model file.</p> <p>Thanks.</p> Mon, 13 Apr 2026 11:17:39 +0000 4.2026-04-13 11:17:39.371501 simulation of a Steam Generator https://www.comsol.com/forum/thread/371461/simulation-of-a-steam-generator?last=2026-04-10T20:12:08Z <p>Good Evening all,</p> <p>Me and my team have been perfecting this geometry from a year, and have finally arrived at this model for a steam generator (SG).</p> <p>The SG is a straight shell and tube type heat exchanger, where water enters into the SG via the central inlet and exits out as steam.</p> <p>The water stream is pressurised to 80bars. The water is heated through natural convection with the help of lead.</p> <p>While, the appropriate physics have been added, while trying to simulate it with stationary, and time-dependant studies, our workstation runs out of memory due to the high number of DOFs that are being created even at the coarsest level.</p> <p>Kindly help us regarding this, on how to simplify this model, or simulate this. We need the heat transfer and fluid profiles for this SG.</p> <p>The file for this SG model has been attached below:</p> <p>the mph file is 29MB even with the physics removed (it was 1.9GB with the physics and extra-coarse mesh) ...... what do I do?</p> Fri, 10 Apr 2026 18:55:35 +0000 4.2026-04-10 18:55:35.371461 Pressure Field - CFD https://www.comsol.com/forum/thread/371452/pressure-field-cfd?last=2026-04-10T12:22:30Z <p>Are the pressure field results from the CFD simulation static pressure or total pressure?</p> Fri, 10 Apr 2026 02:38:54 +0000 4.2026-04-10 02:38:54.371452 Compression plots https://www.comsol.com/forum/thread/371442/compression-plots?last=2026-04-10T16:35:14Z <p>Hello,</p> <p>I am simulating a model to see the interaction of electric field of a tip (like AFM tips) on a electrostriction substrate surface. In the model, I am trying to insert a defect in the material. I need a plot of the strain or compression the surface suffers when the tip is polarized, which characterizes a electrostriction effect. But in the plot I could not find a way to plot the strain in 2D, just the stress. How can I plot the plot equivalent a compression effect in th results?</p> <p>I have another question regarding the electrostriction effect: how can I add this effect? I used the coupling for electrostriction and added the Q electrostriction tensor, is this enough? It seems to me that I am missing something.</p> <p>I am sending a printscreen of the physics I am aplying to my model, as the geometry of my problem too.</p> <p>Hope someone can help, thank you. Hugs, TMV</p> Thu, 09 Apr 2026 18:19:54 +0000 4.2026-04-09 18:19:54.371442 Message (plus 1 internal DOFs) https://www.comsol.com/forum/thread/371441/message-plus-1-internal-dofs?last=2026-04-10T16:20:22Z <p>What is the meaning of the message "(plus 1 internal DOFs)" ? Is it something I should be concerned about?</p> Thu, 09 Apr 2026 15:57:12 +0000 4.2026-04-09 15:57:12.371441 Plasma time periodic https://www.comsol.com/forum/thread/371432/plasma-time-periodic?last=2026-04-09T15:45:51Z <p>Hello,</p> <p>I am trying to simulate a CCP plasma, I looked into the COMSOL examples and they use cross sections for evaluating the coefficient rates, but instead I want to use rate constants which are dependents from the electron temperature. I tried to put directly in the equation space for the rate constant as ptp.Te, but I am having problems with division by zero. I am trying to see where is the zero problem, but I am not finding, can someone help me?</p> <p>Thank you,</p> <p>TMV</p> Thu, 09 Apr 2026 14:28:39 +0000 4.2026-04-09 14:28:39.371432 Wrong Q factor https://www.comsol.com/forum/thread/371431/wrong-q-factor?last=2026-04-14T07:09:00Z <p>I am simulating 1/4 of a SiN membrane suspended with 4 thin arms and clamped to the surrounding substrate, the membrane is very thin (100nm) but very wide and long (high aspect ratio managed using Swept function in the mesh) and the entire structure has an isotropic damping equal to 1/Q where Q is set to 100.</p> <p>Performing an eigenfrequency study, I am expecting to find for all the modes a value of Q (that COMSOL evaluates automatically) equal to the value I set (100). Unfortunately, for the fundamental mode this doesn't happen; precisely, the Q of the fundamental mode is sometimes higher (120,130,150) and sometimes smaller (70, 80) than 100. In addition, every time I launch a new simulation run (even though I do not change nothing) the value of Q (and consequently the Real and Imaginary parts of the eigenfrequency) changes.</p> <p>Is it normal? Is it a big issue?</p> Thu, 09 Apr 2026 10:27:00 +0000 4.2026-04-09 10:27:00.371431 Installation problem COMSOL Multiphysics 6.3 https://www.comsol.com/forum/thread/371412/installation-problem-comsol-multiphysics-63?last=2026-04-06T14:29:41Z <p>When I am installing COMSOL Multiphysics 6.3, I face these kinds of error: for reference I am attaching the screenshoot of an error.</p> Mon, 06 Apr 2026 13:50:32 +0000 4.2026-04-06 13:50:32.371412 COMSOL 6.4 Error https://www.comsol.com/forum/thread/371411/comsol-64-error?last=2026-04-06T13:57:38Z <p>Cannot set up file java error java.lang runtime.exception.invalidroot directory cd : c</p> Sun, 05 Apr 2026 10:47:39 +0000 4.2026-04-05 10:47:39.371411 component variables and global parameters for this .mph file https://www.comsol.com/forum/thread/371392/component-variables-and-global-parameters-for-this-mph-file?last=2026-04-07T20:18:39Z <p>I have access to v6.2, and this simuulation is uploaded to the COMSOL application gallery only as 6.4. I can still use the .txt file containing all of the formatted equations for rpi model phase change at the wall and in the 3d space as well as corresponding heat transfer equations. The phase change is modeled in the formatted equations that are defined in the parameters and in the variables.</p> <p>Can someone using v6.4 send a .txt export of all of the parameters and variables?</p> <p>This is the simulation i am referencing from the application gallery: https://www.comsol.com/model/subcooled-nucleate-boiling-with-extended-rpi-model-113081</p> Thu, 02 Apr 2026 21:34:37 +0000 4.2026-04-02 21:34:37.371392 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-03T02:13:50Z <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