Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Sat, 28 Jun 2025 14:16:24 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ 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-06-28T16:45:34Z <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 Coulomb gauge in temw (RF - Electromagnetic Waves, Transient)? https://www.comsol.com/forum/thread/353161/coulomb-gauge-in-temw-rf-electromagnetic-waves-transient?last=2025-06-25T19:14:39Z <p>The below post is related to an <a href="//www.comsol.com//forum/thread/117141/rf-transient-governing-equation">archived discussion (RF-transient governing equation)</a></p> <hr /> <blockquote> <p>Someone could explain why the Comsol considers grad (div A) = 0 in the RF-transient module (also called temw)?</p> <p>...</p> <p>Why Comsol considers "grad(div A) = 0" ???</p> </blockquote> <p>Wondered the same.</p> <p>Nice greetings</p> Wed, 25 Jun 2025 15:46:06 +0000 4.2025-06-25 15:46:06.353161 How to Model adhesively bonded Single Lap Joint in COMSOL using Cohesive Zone Modelling? https://www.comsol.com/forum/thread/353141/how-to-model-adhesively-bonded-single-lap-joint-in-comsol-using-cohesive-zone-modelling?last=2025-06-27T07:53:16Z <p>Dear COMSOL Support Team,</p> <p>I hope this message finds you well.</p> <p>My name is Abhi, from Indian Institute of Technology Mandi, Himachal Pradesh, India, we are blessed to be customer of COMSOL Multiphysics. I am currently working on modeling an adhesively bonded single lap joint using COMSOL Multiphysics. I have attempted to implement a Cohesive Zone Model (CZM) based on the Mixed Mode Delamination of Composite tutorial provided by COMSOL. or <strong>Should I go for zero thickness element to resolve the problem? or any mathematical formulation required for the Simulation study?</strong></p> <p>However, I am encountering convergence errors during the simulation. I am validating my model against a published research paper (attached for your reference), and I have also included a screenshot of the specific error I am facing.</p> <p>Please let me know if more data required,</p> <p>I would greatly appreciate your guidance in resolving this issue.</p> <p>Thank you for your support.</p> <p>Best regards, Abhi</p> Wed, 25 Jun 2025 10:26:23 +0000 4.2025-06-25 10:26:23.353141 Epoxy Resin Curing Process for Basin-Type Insulators Application ID: 137951 https://www.comsol.com/forum/thread/353132/epoxy-resin-curing-process-for-basin-type-insulators-application-id-137951?last=2025-06-25T09:17:05Z <p>I'm trying to re-create the <a href="https://www.comsol.com/model/epoxy-resin-curing-process-for-basin-type-insulators-137951">Epoxy Resin Curing Process for Basin-Type Insulators Application</a> from scratch in COMSOL 6.3, but I get the following error when I try to compute my version:</p> <pre><code>Undefined variable. - Variable: comp1.cr - Geometry: geom1 - Domain: 2 Failed to evaluate Jacobian of expression. - Expression: dvol*(R*(pi*(comp1.ht.d*(2*comp1.ht.dflux_materialR)))) Failed to evaluate Jacobian of expression. - Expression: (2*(comp1.ht.dflux_materialR*test(comp1.TR)+comp1.ht.dflux_materialZ*test(comp1.TZ))*comp1.ht.d*pi*R)*(dvol) </code></pre> <p>I've had the original version and my version open side-by-side and have tried to go through to find any differences, but can't find any.</p> <p>I've added a zipped version of my .mph file.</p> <p>Any suggestions as to how I might resolve this error would be greatly appreciated.</p> <p>I'm new to COMSOL and just completed a 2-day training course last week and I'm now trying to decide if COMSOL is the right software for my PhD.</p> Wed, 25 Jun 2025 09:17:05 +0000 4.2025-06-25 09:17:05.353132 How to create a nanofluid https://www.comsol.com/forum/thread/352961/how-to-create-a-nanofluid?last=2025-06-24T12:41:13Z <p>Greetings! I have a problem to simulate a nanofluid flow over a surface in COMSOL.</p> <p>How can I create a nanofluid combinations of Water + Al2 O3 (with sizes typically of 1-100 nm) suspended in liquid.</p> <p>I was wondering what libraries do I need to include in the model and how to get started.</p> <p>Thanks in advance.</p> Tue, 24 Jun 2025 03:48:25 +0000 4.2025-06-24 03:48:25.352961 3D PNP model: Time-dependent solver fails to converge (Membrane potential simulation) https://www.comsol.com/forum/thread/352951/3d-pnp-model-time-dependent-solver-fails-to-converge-membrane-potential-simulation?last=2025-06-23T20:45:53Z <p>Dear COMSOL Community,</p> <p>I hope you are doing well. I’m currently working on a 3D simulation of membrane potential using a coupled Poisson–Nernst–Planck (PNP) model in COMSOL Multiphysics 6.3.</p> <p>I would greatly appreciate any advice or suggestions regarding the issue described below. Thank you in advance for your time and support.</p> <hr /> <p>I’m trying to simulate the membrane potential using the following physics interfaces:</p> <ul> <li>Electrostatics (ES)</li> <li>Transport of Diluted Species (TDS)</li> <li>Multiphysics coupling: Electromigration in Diluted Species</li> </ul> <p>Two ion species (K⁺ and Cl⁻) are defined with appropriate charge numbers, diffusion coefficients, and initial concentrations inside and outside the cell. The membrane is modeled as a dielectric region (TDS excluded), and the outer solution is modeled as a large domain to approximate a reservoir.</p> <p>The initial values are set as: - V = 0 V - c_K = 150/5 mol/m³ (inside/outside) - c_Cl = 20/120 mol/m³ (inside/outside)</p> <p>However, the <strong>time-dependent solver fails to converge</strong> with the following error message:</p> <blockquote> <p>"Failed to find consistent initial values.<br /> Last time step is not converged."</p> </blockquote> <hr /> <p>Could anyone kindly suggest: 1. How to diagnose inconsistent initial values in this context? 2. Techniques to stabilize the time-dependent solver in a PNP model? 3. Whether a working 3D PNP example involving ion transport through a membrane is available?</p> <p>Thank you very much for your help!</p> Mon, 23 Jun 2025 20:40:25 +0000 4.2025-06-23 20:40:25.352951 COMSOL Not Utilizing CPU – Only Memory. Why? (Lamb Wave Simulation Issue) https://www.comsol.com/forum/thread/352942/comsol-not-utilizing-cpu-only-memory-why-lamb-wave-simulation-issue?last=2025-06-23T19:32:22Z <p>Hi everyone,</p> <p>I’m currently running a <strong>Lamb wave simulation in a plate</strong> using COMSOL Multiphysics. The original model length was <strong>50 cm</strong>, and it used to take roughly <strong>1 day</strong> to complete on a system with <strong>32 GB RAM</strong>. I recently increased the model size to <strong>550 cm</strong> and upgraded my system to <strong>96 GB RAM</strong>, expecting improved performance.</p> <p>However, I’m seeing <strong>very slow simulation speeds</strong>. The simulation is around 45% complete after more than 10 days, and it <strong>seems stuck for the last 4 days</strong>. Monitoring system performance via the Windows Task Manager, I noticed:</p> <ul> <li>Memory usage is high, but</li> <li>CPU usage is almost idle, which is confusing.</li> </ul> <p>It looks like COMSOL is not utilizing the CPU at all, or only minimally, which might explain the delay. Could anyone guide me on:</p> <ol> <li>Why COMSOL is not using the CPU efficiently?</li> <li>Whether increasing RAM alone helps at this stage?</li> <li>What other options are available to increase simulation speed? I checked and read about Client-Server mode and parallel computing but don't know more about these.</li> </ol> <p>Attachment size limit does not permit me to attach my .mph file. I am sharing a drive link instead. Thanks.</p> <p>https://drive.google.com/drive/folders/1UBSIzMQ_S8zAQYrtZTkPg-NehMtbakC2?usp=drive_link</p> <p>I am struggling with study-2 simulation speed. Would clearing study 1 results and then running study 2 simulation help increase the speed?</p> <p>Any advice on optimizing hardware or solver settings would be greatly appreciated!</p> <p>Thanks in advance!</p> Mon, 23 Jun 2025 19:32:22 +0000 4.2025-06-23 19:32:22.352942 Periodic Boundary Condition in General Form PDE -- No Solution for very Simple Equation https://www.comsol.com/forum/thread/352941/periodic-boundary-condition-in-general-form-pde-no-solution-for-very-simple-equation?last=2025-06-25T09:32:07Z <p>Dear COMSOL community,</p> <p>I have a lack in understanding solving PDE with PBC, which I can break down to a very simple example, i.e. finding a solution for <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAAAvCAQAAAAvSxz6AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBhcPJxR0UltJAAAGSUlEQVR42u2c63mjOhCG39knDeiUoBaUErQlkBLYEnAJuASnhLgEU4IpIZQQSpjzg4vlCzG2hWH3yfjH+ipekBjNfDNZUX7sb7OX7z4UR0KNZa3V3KA/drCzSRNP1UyRGLyuQDw7edV6btQf6+xX+EJSyQEvH+IARw6gBRY3N+iwiREvdm6Kp57xYU+ThErL5jKw51Vr8VqAGL54bT5ZnkmGocbi+LNUxuim/YM9u/55Th483yjLfJDhesov7Nw8z3mE7nHNKnjl25XsMfpn7qU1aJ5ur11jSOfGeZINrOAcVRQcuYJZ6hpGA+8QPP+3H0H0KJYUKHAU7TsOqyvA08WTKYb3NrpMqLWYec29EUa1bWIivvMT/dJcjR5xUotD1rtHcXzwristdI3DUYplx4eoKB/tFp/pGsjan+TMHrPptls2kgBbAEnJoGVrot6FpCvRyFrXYvnC944mQc+DDxxe4aMJUbDokpwm+54rU5T2VTY3V0AYjaxzjxnVias7d3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cLWQL3xxoCz+ftnZgva28EOVyTy0Yb+J1mN3H2iXopKeTfmA7nsmDLpBfWyfzdPhjJy3NuLGlmelY+cS3vu5YQXJXSzNdW/jg0H6uP8ogvVbHemDsTdza9T2sZKRk5Kd3fMh2vDJycjwZru/lN+TkJAoZeYcwb4d/6BHad0x4mk1pHsPHbXyTtBuE3usByqF2A8e+HzBlx35IWMW18mjy/D1t4JQCkRWHYtue6QX1F8ekbEN+sex467OCus1hLgirYtlhGk1mDvnr3I5F1k6v00rel9KZGZvy+7bwC8KqVkQpEka0Y5H1oNfVLKZtPS7lt23htwqr89iZyNqv3OX8rUFcyjFt4aOF1RmtVQ8u6HVLskiUY9rCe2F1/ibwQetWrqVuC/V+gZMXifIXgJZcaAsXLypOTN/AnA7+Wcb81rmYQ7O1X+D/dRCJsgtE3tgI1FiSoMz3nbC6LFuRSY2lZCsZ5VAl6t+g7KvgYvA4ijCGFIPVEsRE686Y0LqikljMAu+yiJR/Vd/jjzX26/EhfuzZ9j92RR1RIG+L0AAAAC10RVh0aWNjOmNvcHlyaWdodABDb3B5cmlnaHQgQXJ0aWZleCBTb2Z0d2FyZSAyMDExCLrFtAAAADF0RVh0aWNjOmRlc2NyaXB0aW9uAEFydGlmZXggU29mdHdhcmUgc1JHQiBJQ0MgUHJvZmlsZRMMAYYAAAAidEVYdHBzOkhpUmVzQm91bmRpbmdCb3gAMTMxeDI4KzI0MCs2MjZ4eiU9AAAAHnRFWHRwczpMZXZlbABQUy1BZG9iZS0yLjAgRVBTRi0yLjBB+TMTAAAAAElFTkSuQmCC" />. The height and width of the 2D simulation domain is <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAMCAQAAADFGyU3AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBhQLCjB9x+JFAAAAqklEQVQY043QQXHEQAxE0eetEDCFoeBAGArGYgq7EBIIi8EUTMEQbAidwzizlVwS6SRVS7+lIf6O2z80RBgt7kpatRjD6Nk7Ee7h7iPCJEooDksT3RgmK4oTVHt2svu0NdobxqxDMXsHbQROezeeFbMt2yXaut+X6IKsMBSlb/p5XTjMEarj6lRTdOPwTVf7dE3HDu3jQ7V4KE7VblM9cv7CXYASobxALb8A+QdZ1qrMReEAAAAtdEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IEFydGlmZXggU29mdHdhcmUgMjAxMQi6xbQAAAAxdEVYdGljYzpkZXNjcmlwdGlvbgBBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUTDAGGAAAAIHRFWHRwczpIaVJlc0JvdW5kaW5nQm94ADExeDcrMzAwKzYzOdl7ld4AAAAedEVYdHBzOkxldmVsAFBTLUFkb2JlLTIuMCBFUFNGLTIuMEH5MxMAAAAASUVORK5CYII=" />, and at the top and bottom a Dirichlet BC (<img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAARCAQAAAA1DjeiAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBhQKEDtb+qshAAABI0lEQVQ4y72U4XmDIBCG3+uTBViBFegIrMAKdgQygh0hGaEZoY4QR4gj1BGuP0DEpP4xsecP7wG51+87QJT94+0fGHtBxIndFSJBWgxOTgWkL36w3HLmuKbs9Uoil/z7PUjYx65Q5SMe4JB9NDQYzjokVxm12wgx1CttBSHqUVoiHwC0fN6vFYf5s+ioffWVX8z1lRJxdIAl6bBYHnUE1qJnPdysxGgnlsA7AJ4h2VaHHjeZN0BuvHZAoM/CHVv7kYrOtroEOZQBX0r7x46AxJWeLDTqIOCmTQyMS4jjDHNHJOoS1a1B7uJS5dNOKyf1hlcUWlQhYDeeeF9OvOUHo2gFafjCE/Fc8cQnLpbICYPlG5dHqkmTtCjT+4n7K9IkFYryCzSk6zNA4ue0AAAALXRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCBBcnRpZmV4IFNvZnR3YXJlIDIwMTEIusW0AAAAMXRFWHRpY2M6ZGVzY3JpcHRpb24AQXJ0aWZleCBTb2Z0d2FyZSBzUkdCIElDQyBQcm9maWxlEwwBhgAAACF0RVh0cHM6SGlSZXNCb3VuZGluZ0JveAAzMHgxMCsyOTArNjM5Ym7fwwAAAB50RVh0cHM6TGV2ZWwAUFMtQWRvYmUtMi4wIEVQU0YtMi4wQfkzEwAAAABJRU5ErkJggg==" />) should be applied, while at the left and right site a periodic BC should be applied.</p> <p>Integrating above equation twice, <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAMCAQAAAAuLJ40AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBhQKEDtb+qshAAAAnklEQVQY04XQTXHDQAwF4G89JWAKS8EUloIpmEIopBBaCqFgCoaQQKghvBzsycTuIdJFGr15PyrxqbqPCF9QepPebx5QRmvmN0yEa7j6ybbdTdu0dUcZzKhWKFU1H5RCC1UMESb3d47oyIzRkgUMJ45XovY6NMsp0m7xzxi7YA2XgxBYN7Mm8iij2+kv+DaVzUcrTc3tn1DotX1qx0RPFJhUQbTzBDkAAAAtdEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IEFydGlmZXggU29mdHdhcmUgMjAxMQi6xbQAAAAxdEVYdGljYzpkZXNjcmlwdGlvbgBBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUTDAGGAAAAIHRFWHRwczpIaVJlc0JvdW5kaW5nQm94ADEweDcrMzAxKzYzOSWVY64AAAAedEVYdHBzOkxldmVsAFBTLUFkb2JlLTIuMCBFUFNGLTIuMEH5MxMAAAAASUVORK5CYII=" /> is given as <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASkAAAAvCAQAAAAVvvSgAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBhcPJxR0UltJ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gbSKIbkLjOvErAEVPWIXwWci7RlFrLHE5VF9Nc9tPyOH8rR78YPKWkJy3Wvyxbc/59EvvVLaf/oRy9YqDhk+Byifryy7LXtpz+p3L0i6FayhFW7e0GSKRoOm1CNiy5LHs1y+l/OEd/GB3JdCO+oGzdP8V6z974rvoqHd8NQ28J1r+Ho7/t0bLx8suy+5bTr83x/QkcvWFku6YkVVGz6nGUb941BQn5nDe6u8rIEbMloMCRk+FYXeD9Ezh6vNrHXlItQe1kyvRq+eMXUYXmEmDW+vT/BI6ervT1b4le8IufsjT0hR+D/wEpqZRoZPFl/QAAAC10RVh0aWNjOmNvcHlyaWdodABDb3B5cmlnaHQgQXJ0aWZleCBTb2Z0d2FyZSAyMDExCLrFtAAAADF0RVh0aWNjOmRlc2NyaXB0aW9uAEFydGlmZXggU29mdHdhcmUgc1JHQiBJQ0MgUHJvZmlsZRMMAYYAAAAidEVYdHBzOkhpUmVzQm91bmRpbmdCb3gAMTc4eDI4KzIxNys2MjbHhziZAAAAHnRFWHRwczpMZXZlbABQUy1BZG9iZS0yLjAgRVBTRi0yLjBB+TMTAAAAAElFTkSuQmCC" /> and from the Dirichlet BC we get <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAARCAQAAAA1DjeiAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBhQKEyttYOiGAAABL0lEQVQ4y72UbW3EMAyGH09HIBRCIRQyCDkIpdCD0EHoKByEFsIKYYVwgeD9aPoRXXuaUm3JH8uW/H44jih/f97+AYPLc0oaHOj7mbbiiDq+UKI3BswJgCANBiet2LnlzqWjUcoulu8UOb6maH8mnqFYSM090R9AwoFd4oG+GCRs4oiHbPBiqYABx6CxGMRkBG0GIo6Gq0bxVHw+qXMHTyFqZqz4rDpkSsTQcdUI2ovZMStwdF5Pz22VNIzaz1z0CURvheaNsA4+LOz9iaFPTVdj3QRygeR4vxR2DJD6aD1zjToKuPkRA3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hgAAACF0RVh0cHM6SGlSZXNCb3VuZGluZ0JveAAyOHgxMCsyOTErNjM5hJRZCAAAAB50RVh0cHM6TGV2ZWwAUFMtQWRvYmUtMi4wIEVQU0YtMi4wQfkzEwAAAABJRU5ErkJggg==" />.</p> <p>However, when implementing this in the COMSOL general form PDE interface and solving using a Stationary Solver, I do not get the result but an error "Failed to find a solution. The relative error (0.0092) is greater than the relative tolerance.", even not when I use the calculated solution as initial values. However, when replacing the periodic BC at the left and right Interface with a Dirichlet BC <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAARCAQAAAA1DjeiAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBhQKEDtb+qshAAABI0lEQVQ4y72U4XmDIBCG3+uTBViBFegIrMAKdgQygh0hGaEZoY4QR4gj1BGuP0DEpP4xsecP7wG51+87QJT94+0fGHtBxIndFSJBWgxOTgWkL36w3HLmuKbs9Uoil/z7PUjYx65Q5SMe4JB9NDQYzjokVxm12wgx1CttBSHqUVoiHwC0fN6vFYf5s+ioffWVX8z1lRJxdIAl6bBYHnUE1qJnPdysxGgnlsA7AJ4h2VaHHjeZN0BuvHZAoM/CHVv7kYrOtroEOZQBX0r7x46AxJWeLDTqIOCmTQyMS4jjDHNHJOoS1a1B7uJS5dNOKyf1hlcUWlQhYDeeeF9OvOUHo2gFafjCE/Fc8cQnLpbICYPlG5dHqkmTtCjT+4n7K9IkFYryCzSk6zNA4ue0AAAALXRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCBBcnRpZmV4IFNvZnR3YXJlIDIwMTEIusW0AAAAMXRFWHRpY2M6ZGVzY3JpcHRpb24AQXJ0aWZleCBTb2Z0d2FyZSBzUkdCIElDQyBQcm9maWxlEwwBhgAAACF0RVh0cHM6SGlSZXNCb3VuZGluZ0JveAAzMHgxMCsyOTArNjM5Ym7fwwAAAB50RVh0cHM6TGV2ZWwAUFMtQWRvYmUtMi4wIEVQU0YtMi4wQfkzEwAAAABJRU5ErkJggg==" />, I get the expected result. Therefore, I have two questions:</p> <ul> <li>Why don't I get any result when using periodic BC at the left and right interface?</li> <li>Why does the periodic BC not overwrite the default Zero Flux 1 BC, but contribute to it? I also implemented what is suggested <a href="https://www.comsol.com/forum/thread/329871/periodic-boundary-condition-for-boundary-pde">here</a>, which then overwrites the Zero Flux 1 BC, but I get the same error as using the implemented Periodic Condition.</li> </ul> <p>Attached is a file of the simulation.</p> <p>Thank you in advance!</p> Mon, 23 Jun 2025 15:30:49 +0000 4.2025-06-23 15:30:49.352941 How to extract the spot diameter as a scalar? https://www.comsol.com/forum/thread/352931/how-to-extract-the-spot-diameter-as-a-scalar?last=2025-06-23T09:52:24Z <p>Hello.</p> <p>I am currently using COMSOL for research purposes. I want to know how to extract the spot diameter as a scalar obtained in 3D simulation of ray optics or possibly the function which computes it, as I want to pass it to the optimization function of the study. Can someone guide me how to do this?</p> Mon, 23 Jun 2025 09:52:24 +0000 4.2025-06-23 09:52:24.352931 Ensure mesh has only Tet-10 elements https://www.comsol.com/forum/thread/352922/ensure-mesh-has-only-tet-10-elements?last=2025-06-25T09:39:12Z <p>I have a new app for the Apple Vision Pro that shows FE mesh and FE results in an immersive environment, but only for tet-10 elements. I have figured out how to use LiveLink Matlab to export all tet-10 elements that are created using the "Free Tet" mesher. However, when I display the mesh with the Vision Pro app, it shows a large portion of the mesh, but not all. I believe that's because of the "boundary and edge elements" that are created with the "Free tet" mesher. These are, possibly, triangular and line elements? Can I force the "Free tet" mesher (or another mesher in Comsol) to only generate tet-10 elements?</p> Sun, 22 Jun 2025 20:41:23 +0000 4.2025-06-22 20:41:23.352922 Simulation of Wire Laser Additive Manufacturing (WLAM) https://www.comsol.com/forum/thread/352911/simulation-of-wire-laser-additive-manufacturing-wlam?last=2025-06-22T16:27:56Z <p>I am learning about WLAM process simulation including thermal history of the layering process, deformation, stress, shape prediction of the layering layer... Currently, I have been able to create a material model outside the available library, create a laser source model moving in different directions, simulate and get the results. However, I have not been able to perform the layering process (for example: 4-layer deposition). I look forward to receiving everyone's help.</p> Sun, 22 Jun 2025 16:27:56 +0000 4.2025-06-22 16:27:56.352911