Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Sun, 11 Jan 2026 18:06:48 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Frequency study not converging https://www.comsol.com/forum/thread/370311/frequency-study-not-converging?last=2026-01-11T18:06:48Z <p>Coil geometry analysis and stationary analysis is being done and coming correctly. While doing the frequency study the solution is not converging, is there any problem in the geometry or some settings i have to change.</p> Sun, 11 Jan 2026 18:06:48 +0000 4.2026-01-11 18:06:48.370311 Modeling radiative loss to the ambient environment for a system operating in vacuum conditions https://www.comsol.com/forum/thread/370301/modeling-radiative-loss-to-the-ambient-environment-for-a-system-operating-in-vacuum-conditions?last=2026-01-11T17:49:47Z <p>Hi,</p> <p>I am modeling the temperature distribution in a Hall Thruster, to be operated in vacuum conditions (either in space or in a vac chamber). I am using Surface-to-Surface radiation to model radiative transfer between various thruster interfaces. However, the thruster has a radiator that is meant to radiate heat into the ambient environment. My question is, does S2S radiation account for this or do I need to separately define Surface-to-Ambient radiation at the external boundaries of the thruster?</p> <p>Thank you in advance :-)</p> Sun, 11 Jan 2026 17:48:54 +0000 4.2026-01-11 17:48:54.370301 Thermal expansion for cryostat model https://www.comsol.com/forum/thread/370292/thermal-expansion-for-cryostat-model?last=2026-01-11T17:44:09Z <p>Hi there,</p> <p>I am new to using COMSOL and I am setting up a simulation to test the cooling capabilities of my cryostat. I have built up the model slowly, starting with a basic simulation to model the cooling power of my cryostat then making it more advanced to incorporate radiation and other sources of loss.</p> <p>The final step that I am trying to incorporate into the model is thermal expansion specifically to test whether our sample will contract away from some surfaces due to thermal expansion. I have run an initial simulation however the results showed that every part of my model was connected together so they all contracted together, rather then showing whether the sample contracts away from other parts. From looking online, I think the issue is that I used "form union" rather than "form assembly". I have tried again to run the simulation using form assembly however it is not progressing past t = 0 in the time dependant study.</p> <p>I am wanting help to set up this simulation properly to incorporate thermal expansion of the parts, and allow them to contract away from each other. Since the simulation is working properly when I use "form union" I am wanting to learn how to change the model to the "form assembly" situation. I am also curious to know if there is a way I can see what is causing my simulation to stall at t = 0 without waiting for hours to get an error message.</p> <p>I am using COMSOL 6.3 on Ubuntu 24.04. I am happy to provide as much detail about the system as needed.</p> Sun, 11 Jan 2026 17:44:09 +0000 4.2026-01-11 17:44:09.370292 Material data ordering in Solid Mechanics simulations: Voigt vs. Standard https://www.comsol.com/forum/thread/370282/material-data-ordering-in-solid-mechanics-simulations-voigt-vs-standard?last=2026-01-09T21:02:58Z <p>I'm simulating mechanical resonators made of anisotropic materials and am struggling to understand COMSOL's expected input for the material's elasticity tensor.</p> <p>Under the Linear Elastic Material node, there's a dropdown to choose "Material data ordering" and can be toggled to select either "Standard" or "Voigt". Under the Materials node, you can either specify a material's "Elasticity matrix", or its "Elasticity matrix, Voigt notation."</p> <p>I ran the same study on the same component 4 times with all possible permutations of the toggles above, and I'm not understanding how to interpret the results.</p> <p>Study 1: "Standard" ordering and "Elasticity matrix." Study 2: "Standard" ordering and "Elasticity matrix, Voigt notation." Study 3: "Voigt" ordering and "Elasticity matrix." Study 4: "Voigt" ordering and "Elasticity matrix, Voigt notation."</p> <p>Studies 1 and 3 gave identical results, while studies 2 and 4 also gave identical results. This makes it seem like the "Material data ordering" toggle has no effect on simulations, so what does it do? I understand that changing between "Elasticity matrix" and "Elasticity matrix, Voigt notation" while inputting the same tensor values changes the order of the shear terms, so seeing different results between those studies was expected.</p> <p>In each case, I set the elasticity matrix to be assigned from the material rather than choosing "User defined." Is the toggle really only necessary when inputting "User defined" material properties?</p> <p>I compared these 4 studies with a study where the "Material symmetry" was set to "Crystal" and inputted the c_ij values for the elasticity tensor (in Voigt notation); and this study gave identical results to studies 2 and 4.</p> <p>What is the "proper" way to set the "Material data ordering" and input elasticity tensors in these simulations?</p> <p>Thanks!</p> Fri, 09 Jan 2026 20:56:29 +0000 4.2026-01-09 20:56:29.370282 Running COMSOL server on Linux cluster, LiveLink for MATLAB on local Windows machine https://www.comsol.com/forum/thread/370281/running-comsol-server-on-linux-cluster-livelink-for-matlab-on-local-windows-machine?last=2026-01-09T13:42:31Z <p>Dear all, my system is configured as follow:</p> <p>I work on a windows laptop, I access a UNIX workstation via native windows Remote Desktop. I do not have access to the folders there from windows (I tried to map the workstation to windows with <em>popd</em> and <em>net</em>, with no success, maybe it would work installing Samba on the workstation, but I cannot). Can I access the files on the workstation with a Comsol Livelink Matlab command?</p> <p>I tried as follows:</p> <ul> <li><p>on the workstation I start the comsol server</p> <pre><code> ./comsol mphserver -user myself -passwd mypwd </code></pre></li> <li><p>on the laptop I start matlab&amp;Livelink and I connect to the comsol server</p> <pre><code> mphstart("the.correct.ip", thecorrectport, "myself", "mypwd") </code></pre></li> </ul> <p>I can mphload a model from the local laptop, for example with</p> <pre><code>model=mphload('myModelwithResults.mph'); </code></pre> <p>and for example re run solutions on the comsol server, but I would like to have the model located on the workstation and loaded it from there, for example</p> <pre><code>model=mphload('//the.correct.ip/home/myself/myModelwithResults.mph'); </code></pre> <p>but it does not work. What is the correct syntax for mphload (and then I assume is the same for mphsave, I would like to be able to save the model on the workstation, too).</p> <p>I can run matlab directly on the workstation, but I am interested in the specific configuration I mention here.</p> <p>Thanks,</p> Fri, 09 Jan 2026 10:08:10 +0000 4.2026-01-09 10:08:10.370281 How to couple the built-in PID controller with the induction heating? https://www.comsol.com/forum/thread/370272/how-to-couple-the-built-in-pid-controller-with-the-induction-heating?last=2026-01-08T22:30:53Z <p>Hi All,</p> <p>I am trying to add the built-in PID controller to my induction heating system. I chose a domain point probe and monitored this probe's temperature as my PID controller's input. Then, I got an output whose unit is "volt" as the input of the induction coil. However, no matter what the target temperature that I set, the model always cut off the output at the very first beginning no matter I set "big" or "small" time step.</p> <p>I also checked with the convergence plot and found that it didn't seem to be converged over time. I also downloaded the COMSOL's official induction heating demo and tried to add the PID controller into it and replace the input of the coil with the output of the controller, but it failed too.</p> <p>I really have no idea how to address it and really appreciate any suggestions you give to me.</p> <p>Thanks.</p> Thu, 08 Jan 2026 22:30:53 +0000 4.2026-01-08 22:30:53.370272 Convert an image into geometry https://www.comsol.com/forum/thread/370271/convert-an-image-into-geometry?last=2026-01-08T18:29:35Z <p>Dear all,</p> <p>I have a question regarding the possibility to convert an image of a steel microstructure in a geometry. How can I do that ? Is it needed to use an Add-in ?</p> <p>thank you.</p> Thu, 08 Jan 2026 16:53:43 +0000 4.2026-01-08 16:53:43.370271 triboelectric nanogenerators https://www.comsol.com/forum/thread/370263/triboelectric-nanogenerators?last=2026-01-08T15:25:15Z <p>Hello everyone, I'm currently researching triboelectric nanogenerators. Their principle involves a PTFE film fixed at one end oscillating vertically under wind energy at a certain wind speed. This periodic flapping against fixed copper plates at the top and bottom generates charge transfer, thereby producing electricity. In COMSOL, I first attempted a fluid-structure interaction simulation by replicating the oscillating beam case from the COMSOL library. However, the calculation consistently diverges. Does anyone know how to configure this correctly? Kindly help me, thanks!</p> Thu, 08 Jan 2026 15:25:15 +0000 4.2026-01-08 15:25:15.370263 How to obtain unbalance response plot in COMSOL? https://www.comsol.com/forum/thread/370231/how-to-obtain-unbalance-response-plot-in-comsol?last=2026-01-07T11:25:46Z <p>I am working on similar case of "Simply supported rotor", I am unable to plot the unbalance response plot. Kindly help me.</p> Wed, 07 Jan 2026 11:25:46 +0000 4.2026-01-07 11:25:46.370231 Far‑field radiation from magnetoelectric antenna driven by piezoelectric–piezomagnetic coupling (no electrical port) https://www.comsol.com/forum/thread/370211/farfield-radiation-from-magnetoelectric-antenna-driven-by-piezoelectricpiezomagnetic-coupling-no-electrical-port?last=2026-01-07T10:12:50Z <p>Hello everyone, I am working on a magnetoelectric (ME) antenna model in COMSOL Multiphysics and I would appreciate guidance on the correct strategy to compute the far‑field radiation. Model description The antenna is composed of: grounded Mo bottom electrode, piezoelectric AlN layer, magnetostrictive FeGaB layer The surrounding medium is a spherical air domain (inner sphere, and outer pml sphere) The physics interfaces used in the near‑field study are:Electrostatics (ES), Solid Mechanics (SM), Magnetic Fields (MF) with the following multiphysics couplings:Piezoelectricity (ES ↔ SM), Piezomagnetism / magnetostriction (SM ↔ MF) The system is solved in the frequency domain. A harmonic voltage is applied across the piezoelectric layer, generating strain that propagates into the magnetostrictive layer and produces a time‑varying magnetization. An external bias magnetic field is also applied in the air domain. Importantly, this antenna is not electrically fed (no lumped port, wave port, or impressed current), as the source of radiation here is the antenna due to the magentization evolution in FeGaB. <strong>My Question: I would like to compute the far‑field radiation pattern of this antenna.</strong> I added the Electromagnetic Waves, Frequency Domain (EMW) interface and tried to use COMSOL’s near‑to‑far‑field transformation, but all far‑field quantities (e.g. emw.normEfar) evaluate to zero. I understand that: 1. Far‑field calculations in EMW require a non‑zero electromagnetic near field (E, H) 2. EMW does not directly couple to Magnetic Fields, Solid Mechanics, or Electrostatics 3. Variables such as mf.Mx, mf.Hx, or es.V are not accessible inside EMW as sources I attempted to introduce equivalent magnetic or electric current sources based on the magnetization, but EMW does not recognize variables from the MF interface, even when defined through component variables.</p> <p><strong>Questions</strong> 1. What is the recommended COMSOL workflow to compute far‑field radiation from a mechanically driven magnetoelectric antenna that has no electrical port? 2. Is the correct approach to: Perform a first study to compute the magnetization, then use a second EMW‑only study with an equivalent current (calculate it in matlab based on the output magnetization or field that i wil get due to the near field study)? 3. Are there any built‑in features or best practices in COMSOL for handling radiation from magnetization‑driven sources (e.g., magnetic dipole–type antennas)?</p> <p>Any guidance, references, or example models would be greatly appreciated. Best regards, Rayan</p> Tue, 06 Jan 2026 13:32:35 +0000 4.2026-01-06 13:32:35.370211 Defining non-design regions for topology optimization of organic geometries https://www.comsol.com/forum/thread/370201/defining-non-design-regions-for-topology-optimization-of-organic-geometries?last=2026-01-06T07:41:03Z <p>Good evening,</p> <p>I am designing an orthopedic, handle-like device intended to be held in the hand, and the final step of my workflow is topology optimization.</p> <p>The geometry is generated from a 3D scan of the hand; therefore, most of the dimensions are non-parametric and the shape is highly organic. A portion of the device is in direct contact with the hand and its external shape must be preserved for ergonomic reasons.</p> <p>I would like to perform topology optimization while keeping this contact region unchanged. However, due to its organic shape, this portion cannot be easily isolated using simple geometric primitives such as boxes, cylinders, or spheres. I can select the contact surface itself (I have partitioned the surface were I need), but I am unsure how to correctly partition the volume so that this region is excluded from the design domain.</p> <p>Is it possible to perform topology optimization while leaving a surface (and an underlying thickness of material) untouched? If so, what is the recommended approach to define the non-design region in this case?</p> <p>I am attaching a screenshot of the device; the highlighted surface corresponds to the hand–contact area.</p> <p>Thank you very much in advance for your help.</p> Mon, 05 Jan 2026 16:58:42 +0000 4.2026-01-05 16:58:42.370201 Error occurs when saving newly created COMSOL models https://www.comsol.com/forum/thread/370183/error-occurs-when-saving-newly-created-comsol-models?last=2026-01-01T19:56:20Z <p>An error occurs when saving a newly created model in COMSOL. Models created previously can be opened and run without any issues, but saving a new immediately triggers this error. What could be the cause, and how can this issue be resolved? Thank you. The attached picture shows in detail.</p> Thu, 01 Jan 2026 07:19:51 +0000 4.2026-01-01 07:19:51.370183 How to Model Two-Photon Absorption https://www.comsol.com/forum/thread/370182/how-to-model-two-photon-absorption?last=2026-01-05T15:59:40Z <p>Hi, I am trying to model the two-photon absorption (TPA) process in a nanostructure using COMSOL Multiphysics. For describing light propagation, I am using the Wave Optics Module.</p> <p>My main question is how many physics interfaces are required to properly model this process .</p> <p>I would greatly appreciate any guidance on the choice of appropriate physics interfaces and the practical steps needed to implement two-photon absorption in COMSOL.</p> <p>In addition, if anyone could point me to an example model or a COMSOL application that demonstrates two-photon absorption, or more generally multiphoton absorption, I would be very grateful.</p> Wed, 31 Dec 2025 08:02:27 +0000 4.2025-12-31 08:02:27.370182 Memory Issue https://www.comsol.com/forum/thread/370181/memory-issue?last=2026-01-06T16:01:54Z <p>I am doing 3D simulation that is not symmetric, using the mf physics , coil geometry analysis and stationary study. Coil geometry analysis have 2,192,126 DOF and Stationary study have 19,338,394 DOF.</p> <p>I have used domain wise mesh maximum upto fine and with a total of around 12 GB physical memory.</p> <p>I am using segregated and iterative solver of stationary study. But my simulation is stucking. I am doing the simulation using i5 processor and 16 GB RAM. Further I have to do frequency analysis.</p> <p>Can you tell is this the memory issue? If yes, how much is recommendable memory for this much DOF.</p> Wed, 31 Dec 2025 05:19:25 +0000 4.2025-12-31 05:19:25.370181 There is no Option for "Hide for Physics" in View under Definitions in COMSOL-6.3. https://www.comsol.com/forum/thread/370171/there-is-no-option-for-hide-for-physics-in-view-under-definitions-in-comsol-63?last=2025-12-29T22:43:23Z <p>Hi COMSOL users !</p> <p>I am using COMSOL 6.3 version.</p> <p>I want to hide some edges in the geometry for the visualization purposes to plot the contour plots.</p> <p>In model builder in the definition section under the view option , there is option for 'hide for geometry' but there is no option for 'hide for physics'.</p> <p>How can I enable this option for better contour plots in post processing without intermittent lines/edges ?</p> <p>Thanks.</p> Sat, 27 Dec 2025 14:31:01 +0000 4.2025-12-27 14:31:01.370171 modeling aid https://www.comsol.com/forum/thread/370151/modeling-aid?last=2025-12-22T15:50:01Z <p>Hello, I need your help with a model. I want to model a polystyrene nanoparticle (d=20 nm) in water on Comsol.</p> <ol> <li>What are the vibration effects?</li> <li>The medium should be water.</li> <li>The excitation type is opto-thermal/light excitation.</li> <li>Particle point/average displacement vs. time.</li> <li>Maximum RMS displacement vs. time.</li> <li>Q-factor / damping extraction.</li> <li>Pressure field p(x,t) in fluid.</li> <li>Fourier transform (FFT) of pressure/potential time series → spectrum.</li> <li>Mode shape snapshots (in time or from modal analysis).</li> <li>Acoustic energy flow / power.</li> <li>Phase vs. time or vs. frequency</li> <li>Parameter scans (sensitivity plots)</li> <li>Spatial cross-sections / field maps (p(x,t) or u(x,t))</li> <li>If optothermal: Temperature(t) at particle &amp; fluid + thermoelastic stress.</li> </ol> <p>How do I model these and visualize the vibration and time-dependent relationships in graphs? Thank you very much for your help...</p> Mon, 22 Dec 2025 15:50:01 +0000 4.2025-12-22 15:50:01.370151 Create Diffraction order using Livelink for matlab https://www.comsol.com/forum/thread/370141/create-diffraction-order-using-livelink-for-matlab?last=2025-12-22T09:50:50Z <p>Hello, I want to create a diffraction order in using livelink in matlab. I could not find a command that describe how to create it. pasted bellow my lines of code in matlab:</p> <p>%%%%% Assign Boundary Variables%%%%%% bL = 1; % left boundary -> inpot port bR = 12; % right boundary -> output port bB = 2; % bottom boundary -> periodic (Floquet) bT = 3; % top boundary -> periodic (Floquet)</p> <p>%%%% Floquet periodic BC (y-direction) %%%%</p> <p>pc1 = ewfd.create('pc1','PeriodicCondition',1); pc1.selection.set([bB, bT]); pc1.set('PeriodicType','Floquet'); pc1.set('kFloquet', {'k0<em>cos(theta)', 'k0</em>sin(theta)', '0'});</p> <p>%%% input port (left) %%% port1 = ewfd.create('port1','Port',1); port1.selection.set(bL); port1.set('PortType','Periodic'); % port1.set('ModeType','PlaneWave'); port1.set('PortExcitation','on'); port1.set('E0', {'0','1','0'}); % Ey polarization doR1 = port2.create('doR1','DiffractionOrder',1); doR1.set('m',1); doR1.set('n', 0);</p> <p>%%% output port (right) %%% port2 = ewfd.create('port2','Port',1); port2.selection.set(bR); port2.set('PortType','Periodic'); port2.set('ModeType','PlaneWave'); port2.set('PortExcitation','on'); doT1 = port2.create('doT1','DiffractionOrder',2); doT1.set('m', 1); doT1.set('n', 0);</p> <p>Regards Hammam</p> Mon, 22 Dec 2025 09:32:11 +0000 4.2025-12-22 09:32:11.370141 Modelling of carbonate dissolution https://www.comsol.com/forum/thread/370132/modelling-of-carbonate-dissolution?last=2025-12-20T20:31:30Z <p>Hi all,</p> <p>Thank you for your assistance. I am trying to model moving of boundaries as a result of carbonate dissolution in COMSOL. Is it possible anyone can help me with a file to get started with or a step by step approach to get a simple model (single pore model) done?</p> <p>Sincerely, E.A</p> Sat, 20 Dec 2025 20:31:30 +0000 4.2025-12-20 20:31:30.370132 Union/Assembly https://www.comsol.com/forum/thread/370111/unionassembly?last=2025-12-20T21:12:27Z <p>I am doing magnetic field study and made one U structure rectangular coil with an Air Domain. When I am forming a union, current is flowing is 1 or 2 legs of the coil and not in all 3,and forming magnetic field according to those conductors. When I am forming assembly, magnetic field is not being generated in Air but current is flowing in every conductor, How to resolve this issue!!!</p> Fri, 19 Dec 2025 07:48:30 +0000 4.2025-12-19 07:48:30.370111 The symmetry precision problem https://www.comsol.com/forum/thread/370103/the-symmetry-precision-problem?last=2025-12-18T13:52:59Z <p>Recently I'm using Comsol for BEM of static electric field. I found when the geometry is symmetric, there will always be a ~0.0001V asymmetry of the calculation results when the voltage of a specific electrode is set 1V. It remains even if I set the physical field as a symmetric one, and I also tried to reduce relative tolerance from 1e-3 to 1e-4, and it failed to fix that as well. Is this inherent to Comsol? I'll appreciate it if someone could help me with that.</p> Thu, 18 Dec 2025 01:52:20 +0000 4.2025-12-18 01:52:20.370103