Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Sat, 13 Sep 2025 02:44:48 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ How to Export Mode Shapes (Vertical Displacement) in COMSOL 5.2 https://www.comsol.com/forum/thread/368802/how-to-export-mode-shapes-vertical-displacement-in-comsol-52?last=2025-09-13T02:44:48Z <p>Hi everyone,</p> <p>I’m currently modeling a plate because I want to obtain its mode shapes and corresponding natural frequencies. I’ve been able to get those results, but now I’d like to export the mode shapes (specifically the vertical displacement ? as a function of ? and ?) and I’m not sure how to do it.</p> <p>In the Results tab, I see Surface 1, and under that, I have Deformation, but I can’t find a way to export the data. I’m using version 5.2.</p> <p>Any guidance would be greatly appreciated.</p> <p>Thanks in advance</p> Sat, 13 Sep 2025 02:44:48 +0000 4.2025-09-13 02:44:48.368802 Why does 2D static deformation plot show displacement magnitude smaller than the Y-axis displacement? https://www.comsol.com/forum/thread/368792/why-does-2d-static-deformation-plot-show-displacement-magnitude-smaller-than-the-y-axis-displacement?last=2025-09-12T18:59:27Z <p>In this model, the color-scale (displacement magnitude, ~0.1mm) deformation does not match the XY spatial deformation of the plot (~20mm). Can someone help me understand how the displacement magnitude is different from what is plotted in XY space?</p> Fri, 12 Sep 2025 17:09:34 +0000 4.2025-09-12 17:09:34.368792 Force and torque change with conditions https://www.comsol.com/forum/thread/368783/force-and-torque-change-with-conditions?last=2025-09-13T12:03:03Z <p>One type of simulation (multibody dynamics) I want to achieve is to apply a certain external force and torque on an object, with the requirement that the magnitude of the applied external force and torque changes continuously with displacement. It should be such that the magnitude of the force and torque is just enough to cause displacement. How should I set this up?</p> Fri, 12 Sep 2025 13:51:44 +0000 4.2025-09-12 13:51:44.368783 Material Properties Reference https://www.comsol.com/forum/thread/368781/material-properties-reference?last=2025-09-13T11:52:31Z <p>Hello,</p> <p>I am working COMSOL Multiphysics 6.3 for quiet a while now and would say I have quiet a bit of experience.</p> <p>However I have one big issue. I can not get the references for material properties from the COMSOL library. I tried multiple approaches to get that information:</p> <p>1) As described in the Material Library User guide: In Materials -> Browse Materials -> Select Material and Property. The property reference window just displays no text at all for any material or property I select.</p> <p>2) Checking in File -> help -> documentation -> Comsol Multiphysics -> Reference Manual -> Materials -> Module-Specific Material Libraries: The source listed here for the piezoelectric materials is the efunda website, which in itself has some books listed but not property specific and non of the books seems to have matching properties to the one COMSOL uses. Some values may be the same but never the set of values I list below. That applies for the CRC Handbook, the MEMS handbook and the Macmillan properties.</p> <p>3) Checking the online reference manual -> materials -> module specific material databases. There are no sources named for piezoelectric materials and the ones for MEMS are the same as on the efunda webpage but as I said they do not match the values in COMSOL. For example youngs modulus for gold is 70e9 in COMSOL but in the books listed 78e9.</p> <p>I want references for Youngs Modulus, Poisson ratio and density for: Au, Pd, SiO2 I want references for Coupling matrix, elasticity matric, relative permittivity and density for: Lithium Niobate and Gallium Arsenide</p> <p>How do I obtain proper sources? Is there a bug in the first option I list? That seems to be the way one is supposed to get that information.</p> <p>Thanks for any help.</p> Fri, 12 Sep 2025 13:24:37 +0000 4.2025-09-12 13:24:37.368781 Lumped port problem (Element 1 should be placed between two conductive boundaries) https://www.comsol.com/forum/thread/368761/lumped-port-problem-element-1-should-be-placed-between-two-conductive-boundaries?last=2025-09-12T18:20:13Z <p>When I placed the lumped port in the CPW design the error showed - "Subfeature Uniform Element 1 should be placed between two conductive boundaries. - Feature: Uniform Element 1 (ue1) " - I placed the lamped port in between the perfect electric conductor boundary, still this error message came and stopped the process. Can anyone check the file attached and give me the advise to correct this? I already go through the examples COMSOL provide, but can not understand the problem. Also the ground and ports are not connected to each other (separated by a air gap).</p> Thu, 11 Sep 2025 13:53:51 +0000 4.2025-09-11 13:53:51.368761 1D-Plot the Deformation of a Line / Edge https://www.comsol.com/forum/thread/368751/1d-plot-the-deformation-of-a-line-edge?last=2025-09-11T20:45:33Z <p>Hi again,</p> <p>I wanna plot the deformation (shape) of an outer edge / line of a 3D-structure before and after applying an external load. The undeformed shape I obtain via a 1D-plot using the expression z over x or the arc-length out of an edge 3d node under results. The displacement I obtain via a 3D-cut line. But how can I obtain the position z over the length x in the deformed state? I´m only able to get the undeformed state. But the information about these coordinates must be available in the results, since the 3D-Plot shows the deformation. Maybe one can use the mesh nodes along that line/edge? Pls give me a hint, I´m dealing with that topic for 4 days now.</p> <p>Thanks,</p> <p>BR Sven</p> Thu, 11 Sep 2025 12:18:02 +0000 4.2025-09-11 12:18:02.368751 Comsol Multiphysics 4.2a for Windows https://www.comsol.com/forum/thread/368712/comsol-multiphysics-42a-for-windows?last=2025-09-09T19:16:49Z <p>Good afternoon everyone. I hope you are all well.</p> <p>I have a permanent license for Comsol Multiphysics version 4.2a, but I can't find the installation CD for this version.</p> <p>This version isn't available on the Comsol website. Can anyone help me? Thank you in advance. Best regards;</p> Tue, 09 Sep 2025 17:47:38 +0000 4.2025-09-09 17:47:38.368712 Automated Mesh-Based Reassignment of surface Boundaries in COMSOL https://www.comsol.com/forum/thread/368652/automated-mesh-based-reassignment-of-surface-boundaries-in-comsol?last=2025-09-08T16:36:02Z <p>Hi all,</p> <p>I’m working on a AC/DC COMSOL model where I need to move the terminal and ground boundaries to different spots along a specific surface in my geometry. Right now, I pre-define several possible boundaries and manually assign the conditions for each run, but this gets unwieldy for automated or parametric studies.</p> <p>I’m looking for a more automated (or programmatic) way to do this, ideally using outputs from each simulation to update the positions of these boundaries for the next iteration.</p> <p>Specifically, I’m interested in any method that allows me to reassign boundaries based on the mesh. The boundaries themselves don’t have to “move” geometrically, as long as I can programmatically select new mesh nodes or elements as the new terminal or ground (using the initial surfaces as a reference and translating the assignment from there), that would be perfect.</p> <p>Has anyone done something similar, or does anyone know of features, best practices, or scripting approaches (using MATLAB/LiveLink, Java API, etc.) that could help? My current model uses manual pre-tagged surfaces, but I’d love to streamline this process.</p> <p>I have attached my current model where the surfaces are pre-defined and assigned manually. Right now, I pre-define several possible circular surfaces and manually assign the terminal and ground to the top two circular surfaces. For each new simulation, I want these boundaries to shift to the next two circles, and continue in this way. I would greatly appreciate any guidance or resources to help automate this process.</p> <p>Thanks in advance for any ideas or suggestions!</p> Mon, 08 Sep 2025 16:36:02 +0000 4.2025-09-08 16:36:02.368652 1D-Plot from 3D Symmetry Data https://www.comsol.com/forum/thread/368651/1d-plot-from-3d-symmetry-data?last=2025-09-08T14:45:53Z <p>Hi,</p> <p>I got a simple model of a roller under load. Due to the symmetry along the length of the roller, just the half is simulated via a symmetry node and visualized via a 3d mirror node and a 3d edge in the results data set. That works as it should for the 3d evaluation. But if i wanna evaluate (plot) the displacement (shape) of the outer body edge of the roller, I just can pick the one half of the original split half geometry model. So now the question: Is it possible to "copy" or "mirror" also the symmetric displacement (shape) data to show the whole geometry's displacement (shape) at the 1d-Plot? Btw, a 3d line doesn´t work, since the outer shape of the roller is not straight but curved.</p> <p>Thanks for any recommendations,</p> <p>BR Sven</p> Mon, 08 Sep 2025 14:45:53 +0000 4.2025-09-08 14:45:53.368651 Measuring Interface position as a function of Time in COMSOL (Two-Phase Flow, Level Set) https://www.comsol.com/forum/thread/368641/measuring-interface-position-as-a-function-of-time-in-comsol-two-phase-flow-level-set?last=2025-09-08T11:31:55Z <p>Hello everyone,</p> <p>I am modeling a wicking phenomenon in COMSOL Multiphysics using the Two-Phase Flow, Level Set method with Laminar Flow. My main challenge is extracting the wicking height (or interface position) as a function of time.</p> <p>I have attempted to use the Cut Line method to track the fluid-fluid interface (phils = 0.5), but so far I have not been able to properly obtain the wicking height vs. time.</p> <p>If anyone has experience with this or knows a reliable way to correlate the interface position with time in COMSOL, I would greatly appreciate your guidance.</p> <p>Thank you in advance for your help!</p> Mon, 08 Sep 2025 11:31:55 +0000 4.2025-09-08 11:31:55.368641 Convergence issue using Richard's equation https://www.comsol.com/forum/thread/368552/convergence-issue-using-richards-equation?last=2025-09-02T17:17:22Z <p>Hi everyone,</p> <p>I am working on a hydraulic model. The geometry of my model is shown in the attached Figure. I am using Richard's equation. There are host rock that occupies most of the model, a fault shown as the narrow pipe, and other formations at the top right.</p> <p>The general water flow process is that the inflow is through the top boundary with topography and outflow is through right boundary and top boundary when water table intercepts the surface, which means that pressure head at the top is higher than zero.</p> <p>For boundary conditions, a constant precipitation was applied at the top boundary with topography, which is in green in the figure. A pressure head of 0 Pa was applied at the top of fault. For the rest top part, a previous layer was applied and it will be applied a big conductance when pressure head is higher than zero. Otherwise, a conductance of 0 will be applied.</p> <p>The main object of these settings was to ensure that the location of the water table can be dynamic determined by the precipitation rate and permeability instead of applying a constant head at the top.</p> <p>However, when I use Time-dependent solver for cases that don't have a steady state, the solver does not converge/converges slowly. The solving progress usually stays at 4% and does not move on. If anyone has any insights about how to make it converge or improve my model, i would really appreciate it! Please let me know if more information is needed. Thank you!</p> <p>Best, Zihao</p> Tue, 02 Sep 2025 16:48:09 +0000 4.2025-09-02 16:48:09.368552 Implementing Direction-Dependent Etching Velocity in COMSOL Deformed Geometry https://www.comsol.com/forum/thread/368481/implementing-direction-dependent-etching-velocity-in-comsol-deformed-geometry?last=2025-08-30T16:29:07Z <p>Hi everyone,</p> <p>I am trying to reproduce the chemical etching tutorial from COMSOL (link: https://www.comsol.com/model/chemical-etching-44481 ). In the tutorial, they used Prescribed Normal Mesh Velocity in Deformed Geometry to describe the etching velocity, where the velocity value is constant. In my case, I would like to define a non-uniform etching velocity, meaning that the velocity in the x-direction is different from the velocity in the y-direction. I tried some approaches, but they didn’t work. Could you please give me some suggestions on how to implement this?</p> <p>Thank you so much!</p> Sat, 30 Aug 2025 16:29:07 +0000 4.2025-08-30 16:29:07.368481 Color legend https://www.comsol.com/forum/thread/368453/color-legend?last=2025-09-10T01:47:49Z <p>I wanted to change the height and position of the color legend, but I couldn't find it</p> Sat, 30 Aug 2025 03:36:53 +0000 4.2025-08-30 03:36:53.368453 Undefined Value in Temperature Field (NaN/Inf in comp1.T) https://www.comsol.com/forum/thread/368441/undefined-value-in-temperature-field-naninf-in-comp1t?last=2025-08-29T10:01:39Z <p>I am currently working on a numerical simulation of a plasma torch using COMSOL Multiphysics. The goal of the simulation is to model the behavior of a plasma jet generated by an electric arc discharge between an anode and a cathode. As part of the setup, argon gas is injected through the torch, which becomes ionized due to the high-temperature environment created by the electric discharge. This ionized gas forms a plasma jet that exits the torch and interacts with an open boundary, representing ambient surroundings or downstream flow.</p> <p>The simulation includes the following coupled physics:</p> <p>Electric currents to model the arc discharge.</p> <p>Laminar or turbulent fluid flow for argon gas transport.</p> <p>Heat transfer to capture thermal effects and plasma temperature distribution.</p> <p>Open boundary conditions to allow outflow of plasma without artificial reflections.</p> <p>However, when I run the model using the Stationary Solver, I encounter the following error message:</p> <p>Feature: Stationary Solver 1 (sol1/s1) Undefined value found. Detail: Undefined value found in the equation residual vector. There are 2590 degrees of freedom giving NaN/Inf in the vector for the variable comp1.T. At coordinates: (0.0176092, 0.298922), (0.0143478, 0.3), (0.0163046, 0.298921), ...</p> Fri, 29 Aug 2025 10:01:39 +0000 4.2025-08-29 10:01:39.368441 Extracting data in 3d format https://www.comsol.com/forum/thread/368431/extracting-data-in-3d-format?last=2025-08-29T10:55:36Z <p>So far, I have been extracting abs(emwHz) values for given parameter in a 2D cutplane in my loop antenna model. I would like to extract it in a 3D grid format.</p> <p>However, most methods of trying a grid 3D dataset has resulted in errors, where Hz is an undefined variable, like as shown below.</p> <p>"Undefined variable. - Variable: comp1.emw.Hz - Global scope Failed to evaluate expression. - Expression: comp1.emw.Hz"</p> <p>Is there a way to overcome this error, or if not, to obtain Hz values in a 3d format?</p> Thu, 28 Aug 2025 15:59:56 +0000 4.2025-08-28 15:59:56.368431 LiveLink for Creo is very slow https://www.comsol.com/forum/thread/368421/livelink-for-creo-is-very-slow?last=2025-08-28T15:25:30Z <p>It seems that the time required to import a model from PTC Creo to COMSOL increases exponentially with the number of components.</p> <p>At some amount of surfaces, or solids, or boundaries, or whatever - I have not managed to figure out what exactly triggers the slowdown - the time required seems to go to infinity.</p> <p>Looking at the status bar a ticker walks leisurely like "generating associativity for entity 7734 of 12995" and sometimes it just stops at "processing selections" and waits for half an hour. Or fails entirely after prolonged waiting. Which is odd since I have no selections defined in Creo.</p> <p>Importing the same model as a STEP is massively faster, but then I lose associativity with all the rest of the features, boundary loads, shell thicknesses, et cetera - and have to rebuild it every time.</p> <p>Can this be improved? I have no high hopes, since I suspect it is a consequence of the Java interface to Creo - which is why I post it here as a concern and suggestion rather than a support issue.</p> Thu, 28 Aug 2025 09:24:57 +0000 4.2025-08-28 09:24:57.368421 High aspect ratio https://www.comsol.com/forum/thread/368411/high-aspect-ratio?last=2025-08-28T08:58:07Z <p>I have a fracture that is represented in terms of a layer in porous media of domain size 1500<em>1500</em>500m and the fracture is situated in center. I'm not able to create proper mesh. Also, the mesh that i have created, the solution is not converging for it.</p> Thu, 28 Aug 2025 08:58:07 +0000 4.2025-08-28 08:58:07.368411 Particle tracing module https://www.comsol.com/forum/thread/368383/particle-tracing-module?last=2025-08-27T08:08:14Z <p>Can particle position be referenced as an independent variable in the electrostatic module?</p> Wed, 27 Aug 2025 08:08:14 +0000 4.2025-08-27 08:08:14.368383 Simulating Electrocapillary effect https://www.comsol.com/forum/thread/368372/simulating-electrocapillary-effect?last=2025-08-26T16:22:22Z <p>I am trying to simulate droplet motion under Electrocapillary Force. I have two electrolytes, one as the droplet and the other as the continuous phase. I tried to couple the TDS and ES physics to form the EDL, but the droplet motion does not occur. Do I need to define surface tension based on the Lippmann equation as well, or is creating the EDL alone sufficient to change the surface tension?I am using a 2D geometry and applying a DC voltage. I have set velocity inlet and pressure outlet as boundary conditions, but at the inlet the velocity is 0​.</p> <p>I define space charge density in each species as : F_Const( C_cation-C_anion).</p> Tue, 26 Aug 2025 15:24:28 +0000 4.2025-08-26 15:24:28.368372 Trial Passcode https://www.comsol.com/forum/thread/368362/trial-passcode?last=2025-08-26T15:18:52Z <p>Hi guys,</p> <p>I am trying to download a trial version but its asking the Passcode which I don't have, can any one please help me with this.</p> Tue, 26 Aug 2025 14:33:18 +0000 4.2025-08-26 14:33:18.368362