Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Tue, 21 Jan 2025 19:43:47 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Problems in Lunar Drilling Mechanical Model https://www.comsol.com/forum/thread/348251/problems-in-lunar-drilling-mechanical-model?last=2025-01-21T19:43:47Z <p>Hi,</p> <p>I am implementing a mechanical model to characterize the interaction between a drill and lunar regolith. I am basing the model in a paper that has analytical and test results so I can validate it later. From the simulations I need to retrieve the reaction Force and Torque between the drill and the regolith, considering that the former rotates and penetrates with defined velocities.</p> <p>Initially I wanted to have a time-dependent study, but after trying for a couple of months without getting any results, I decided to move to a stationary case to assess both the force and torque at different depths. After some time I could make it converge and give what seems to be good results.</p> <p>However, COMSOL does not allow to include a prescribed velocity of the drill in the stationary case (which makes sense) but I need to find a way to include a condition that recreates this velocity. I have tried to include a prescribed deformation, but I am not getting the results I expected.</p> <p>I would like to ask for some recommendation to include a condition that recreates this penetration speed in the stationary case or, if possible, some advice to make the time-dependent solver converge. I am attaching a Google Drive link to the model in case you need it.</p> <p>Thank you so much in advance!</p> <p>(Link: https://drive.google.com/file/d/1GaoCKnW7yVVwVJ1-vpFyl1yktSUpQzp9/view?usp=sharing )</p> Tue, 21 Jan 2025 19:43:47 +0000 4.2025-01-21 19:43:47.348251 Piezoresistive Pressure Sensor Voltage Readout https://www.comsol.com/forum/thread/348241/piezoresistive-pressure-sensor-voltage-readout?last=2025-01-22T02:37:12Z <p>Hi everyone,</p> <p>I drew a piezoresistive pressure sensor with 4 ressitors (R1,R2,R3,R4) which are piezoressistive material. I want to build also a readout circuit with wheatstone bridge to simulate voltage output when pressure applied.</p> <p>However, I cannot connect an electircal cirrcuit to solid materials in COMSOL. with electrical circuit module, it only defines nodes. but I have no idea which nodes will corresponds to my resistors in 3D solid sketch? Which module should I use to do this analysis? Can anybody help please?</p> <p>![https://hizliresim.com/qjsaz59]</p> Tue, 21 Jan 2025 19:03:38 +0000 4.2025-01-21 19:03:38.348241 How do you use scaling factors? https://www.comsol.com/forum/thread/348221/how-do-you-use-scaling-factors?last=2025-01-19T11:35:35Z <p>I am trying to add custom boundary conditions to the built-in Pressure Acoustics (frequency domain) interface using weak contributions.</p> <p>I see that the weak expressions in the pressure acoustics node contain a scaling factor equal to 1/omega^2.</p> <p>I don't really understand the effect of including this scaling factor and don't know if I need to include it in the weak contributions that I want to add.</p> <p>Can anyone shed some light on what the scaling factor is for and how to know when to use it, or point me in the direction of some references where I can learn more?</p> <p>Thanks</p> Sat, 18 Jan 2025 15:16:36 +0000 4.2025-01-18 15:16:36.348221 Field lines penetrating through conductors in 2D electrostatics simulation https://www.comsol.com/forum/thread/348212/field-lines-penetrating-through-conductors-in-2d-electrostatics-simulation?last=2025-01-18T08:55:02Z <p>Hi all,</p> <p>I'm seeing unexpected behavior in a basic 2D electrostatics simulation. Setup:</p> <pre><code>Top electrode: Straight line with center gap (set to 100V) Bottom electrode: Parabolic curve f(x) = ax² (set to Ground) Air domain between electrodes </code></pre> <p>Issue: Electric field lines are penetrating through the conductor surfaces, particularly:</p> <pre><code>Going straight through the bottom curved electrode Curving up beyond the top plate surface </code></pre> <p>This seems physically incorrect - field lines should terminate perpendicular to conductor surfaces. Am I missing a key boundary condition or material property to properly define these as perfect conductors?</p> <p>Currently using:</p> <pre><code>Electrostatics physics interface Ground condition boundary condition on bottom curve Electric Potential boundary condition (100V) on top lines </code></pre> <p>I have attached a picture of the plot which shows this issue. The field lines are clearly penetrating through the top and bottom conductors.</p> <p>Any insights on how to fix this unwanted field penetration would be appreciated!</p> Sat, 18 Jan 2025 08:11:40 +0000 4.2025-01-18 08:11:40.348212 The returned solution does not converge https://www.comsol.com/forum/thread/348143/the-returned-solution-does-not-converge?last=2025-01-17T18:53:25Z <p>Hello, I would like to ask for some advice. I am currently using the electromagnetic field physics field to build an antenna with a frequency set at 4 GHz. I want to observe the antenna gain of this antenna at 4 GHz, but during the calculation process, it gets stuck at 70% and the calculation becomes very slow. Eventually, it reports an error. I coarsened the mesh division, but the result is still the same. I also modified the relative tolerance in the solver, but the result remains the same. Could you please tell me what factors might be causing this? Error: -The steady-state solver 1 (sol1/s1) failed to find a solution. The linear iteration diverged. The returned solution does not converge. Not all parameter step sizes were returned. How to solve it ? Thank you very much!</p> Fri, 17 Jan 2025 03:28:41 +0000 4.2025-01-17 03:28:41.348143 Form union ruining resolution https://www.comsol.com/forum/thread/348141/form-union-ruining-resolution?last=2025-01-20T11:52:43Z <p>I have an electrode around which I put an air cube to simulate the e-field. I noticed that the last "Form Union" in the geometry node makes the previously curvy electrode full of edges, distorting the simulation results. I tried to adjust the repair tolerance to the smallest available value without success. Is there another way to keep the resolution of the geometry?</p> Thu, 16 Jan 2025 19:09:08 +0000 4.2025-01-16 19:09:08.348141 Lithium Plating Model https://www.comsol.com/forum/thread/348111/lithium-plating-model?last=2025-01-16T13:19:30Z <p>I am trying to simulate lithium plating model for porous electrode. I am getting solution for stationary case but not getting solution for time dependent case. What could be the reason?</p> Thu, 16 Jan 2025 13:19:30 +0000 4.2025-01-16 13:19:30.348111 Unable to Couple Tds and Semi Modules to model a MOSFET device https://www.comsol.com/forum/thread/348072/unable-to-couple-tds-and-semi-modules-to-model-a-mosfet-device?last=2025-01-15T22:13:34Z <p>Hey everyone,</p> <p>I'm trying to model impurity diffusion (Dopant) into Si substrate using Transport of Diluted Species (Tds) and the MOSFET device from the obtained diffused impurity profile using the Semiconductor (Semi) modules. I am able to successfully model dopant diffusion using the Tds module, but unable to transfer this dopant profile to Semi module to assign doping regions under the source and drain parts of the MOSFET device.</p> <p>Here's what I tried: Tried to insert the concentration variable (comp1.c) from Tds module into the Semi module under analytical doping section and got the following error:</p> <p>-Undefined variable.</p> <ul> <li><p>Variable: comp1.c</p></li> <li><p>Geometry: geom1</p></li> <li><p>Domain: 6</p></li> </ul> <p>Is the error due to "comp1.c" being an internally generated variable which the Semi module cannot access? Is there any other way to transfer dopant diffusion profile from Tds module to Semi module? Any hints would be greatly helpful. Thanks!</p> Wed, 15 Jan 2025 22:11:41 +0000 4.2025-01-15 22:11:41.348072 How to Assign Random Numbers for Particle Release at Inlet in Particle Tracing? https://www.comsol.com/forum/thread/348051/how-to-assign-random-numbers-for-particle-release-at-inlet-in-particle-tracing?last=2025-01-15T08:11:06Z <p>Hi everyone,</p> <p>I'm working on a Particle Tracing for Fluid Flow simulation, and I need to assign random numbers as the input for the number of particles per release at the inlet. My goal is to generate a different random value for each release interval.</p> <p>Is there a way to achieve this directly in COMSOL, perhaps using expressions or built-in functions like rand()? If not, are there alternative approaches, such as defining variables or importing external data, to accomplish this?</p> <p>Any advice or examples would be greatly appreciated!</p> <p>Thanks in advance!</p> Wed, 15 Jan 2025 08:11:06 +0000 4.2025-01-15 08:11:06.348051 Unexpected discrepancy when solving a plate bending problem using weak form PDE module https://www.comsol.com/forum/thread/348041/unexpected-discrepancy-when-solving-a-plate-bending-problem-using-weak-form-pde-module?last=2025-01-17T13:43:41Z <p>Hi there,</p> <p>I am trying to solve the deformation of a boundary clamped thin circular plate bearing uniform pressure. This problem possesses axisymmetry, but I also tried to solve it in 2D space (<strong>model 2D</strong>) besides in the 1D axisymmetric space (<strong>model 1D</strong>) for validation. Please note that <strong>only the Kirchhoff-Love plate model is employed in model 2D, model 1D, and the analytical solution</strong>.</p> <p>The value of bending stiffness <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAARCAQAAACcev82AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfoDBsLNSGWJjPZAAAAtklEQVQoz5WSURGDMAyGv3AzUAuxwCSgpVpqAQ2zMAlDAkgACdnDxi1pB3e0L23y39/ka8S4srpLam7+IhkN2YWHbSFiYdNj5O9ZKcz0IV/JM4a6e2E+k49VOv1eM6xpdeAZSt3A9xPkoihTg6M/AjlAdJcE3qCrfBZbGgMfCY3NjE3rRvpLBo0UDBIr5QBkzfxD3XtHec08s8Y/jXJXOYnCK75l2D5iUlAUlbITYrJ7O5Fybd7fNwe3o/qxOOQAAAAtdEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IEFydGlmZXggU29mdHdhcmUgMjAxMQi6xbQAAAAxdEVYdGljYzpkZXNjcmlwdGlvbgBBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUTDAGGAAAAIXRFWHRwczpIaVJlc0JvdW5kaW5nQm94ADE0eDEwKzI5OSs2MzkMJDOGAAAAHnRFWHRwczpMZXZlbABQUy1BZG9iZS0yLjAgRVBTRi0yLjBB+TMTAAAAAElFTkSuQmCC" /> is assigned directly, instead of calculated through Young's modulus, so <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAARCAQAAACcev82AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfoDBsLNSGWJjPZAAAAtklEQVQoz5WSURGDMAyGv3AzUAuxwCSgpVpqAQ2zMAlDAkgACdnDxi1pB3e0L23y39/ka8S4srpLam7+IhkN2YWHbSFiYdNj5O9ZKcz0IV/JM4a6e2E+k49VOv1eM6xpdeAZSt3A9xPkoihTg6M/AjlAdJcE3qCrfBZbGgMfCY3NjE3rRvpLBo0UDBIr5QBkzfxD3XtHec08s8Y/jXJXOYnCK75l2D5iUlAUlbITYrJ7O5Fybd7fNwe3o/qxOOQAAAAtdEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IEFydGlmZXggU29mdHdhcmUgMjAxMQi6xbQAAAAxdEVYdGljYzpkZXNjcmlwdGlvbgBBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUTDAGGAAAAIXRFWHRwczpIaVJlc0JvdW5kaW5nQm94ADE0eDEwKzI5OSs2MzkMJDOGAAAAHnRFWHRwczpMZXZlbABQUy1BZG9iZS0yLjAgRVBTRi0yLjBB+TMTAAAAAElFTkSuQmCC" /> and Poisson ratio <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAQAAAAXSy9vAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfoDBsLDgzvS4CUAAAAgElEQVQY04WPQRXCQAwF5+MAC7FQC7WAhSIBC1hYJGChWKiErYVKCAcSunuA5pJ5mZf/Ejn/6sSx1qiiWUMO9ZQFOo7DiGMNnz+c4cbqa/CFh2/9dqEE2Z7jX12ZgmbuKUPvG9wypdUTNXon87SBl0yFza/933JAlYWlubfXv+sNY7tTd76OgZYAAAAtdEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IEFydGlmZXggU29mdHdhcmUgMjAxMQi6xbQAAAAxdEVYdGljYzpkZXNjcmlwdGlvbgBBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUTDAGGAAAAH3RFWHRwczpIaVJlc0JvdW5kaW5nQm94ADl4NyszMDErNjM5sXcjOgAAAB50RVh0cHM6TGV2ZWwAUFMtQWRvYmUtMi4wIEVQU0YtMi4wQfkzEwAAAABJRU5ErkJggg==" /> in this case are considered independent.</p> <p>It seems <strong>there is something wrong with model 2D</strong>: i) the model is hard to converge; ii) even if it converged, the deflection would be <strong>larger</strong> than theoretical prediction and show dependence on Poisson ratio. To be specific, the center deflection predicted by model 2D monotonically decreases toward the analytical solution as Poisson ratio decreases from 0.5 to -1.</p> <p>By comparison, <strong>model 1D works well</strong>. It agrees with the analytical solution regardless the value of Poisson ratio.</p> <p>I would appreciate if you could give me a hint.</p> <p>Best,</p> <p>HC L</p> <hr /> <p>If we take a=2, q=1, D=1000, and an arbitrary nu, the center deflection is theoretically 2.5e-4.</p> <p>details about model A (the picture is also attached below): <img src="https://sm.ms/image/vG36zHqfxSabrML" alt="model A" /></p> <p>details about model B (the picture is also attached below): <img src="https://sm.ms/image/f9eJgburnykt3YZ" alt="model B" /></p> <hr /> <p>Post was updated on 2025.01.16 to provide more details.</p> Wed, 15 Jan 2025 02:39:22 +0000 4.2025-01-15 02:39:22.348041 Unexpected Displacement Change in Gear and Rack Calculations https://www.comsol.com/forum/thread/348022/unexpected-displacement-change-in-gear-and-rack-calculations?last=2025-01-14T14:24:59Z <p>Hi everyone,</p> <p>When analyzing a simple straight gear and rack model, I applied a fixed displacement to one of the gears to drive the entire system. The goal was to validate the correctness of the model.</p> <p>However, I encountered Unexpected Sudden Displacement Changes, as shown in the figure below. For reference, a sketch of the system is also attached.</p> <p>Please let me know if you need any additional information. I would greatly appreciate any guidance on resolving this issue. Thank you!!</p> Mon, 13 Jan 2025 23:36:04 +0000 4.2025-01-13 23:36:04.348022 How to make a uniform magnetic flux density https://www.comsol.com/forum/thread/348021/how-to-make-a-uniform-magnetic-flux-density?last=2025-01-13T21:03:56Z <p>Hi all, I'm trying to model a magneto-mechanical interaction (my focus is on the structure) and I need to apply a uniform magnetic flux density in a cube of air (which is my domain) in the z direction. Is there a way to do it? I've tried different things (magnetic potential, magnetic field and others) but they don't work. Thank you for your help</p> Mon, 13 Jan 2025 16:55:14 +0000 4.2025-01-13 16:55:14.348021 How should I set up the MUMPS solver? https://www.comsol.com/forum/thread/347993/how-should-i-set-up-the-mumps-solver?last=2025-01-13T16:43:58Z <p>In my solution model, the degree of freedom to be solved is 26032722, and the physical memory of the workstation used is 512G. However, when using the mumps solver, it always utilizes virtual memory, and the usage of virtual memory exceeds the physical memory, even if there is a substantial amount of free physical memory. This greatly slows down the speed of computation. How should this issue be addressed?</p> Mon, 13 Jan 2025 09:38:00 +0000 4.2025-01-13 09:38:00.347993 Transformer oil electrode configuration model https://www.comsol.com/forum/thread/347991/transformer-oil-electrode-configuration-model?last=2025-01-13T05:47:35Z <p>Hello, I am working on a model involving transformer oil using the following physics interfaces in COMSOL:</p> <p>Electrostatics - for simulating the electric field. Transport of Diluted Species - to analyze charge movement and density. Heat Transfer - to incorporate the thermal effects in the oil. Despite setting up the physics, I am unable to observe charge density or the progression of charge movement in the oil. I suspect the issue lies in assigning the appropriate parameters, boundary conditions, or coupling mechanisms between the modules.</p> <p>Could you please assist me in configuring the model correctly? Specifically, I need guidance on:</p> <p>Defining charge density and its initialization in the Transport of Diluted Species module. Proper coupling between Electrostatics and Transport of Diluted Species for space charge effects. Setting suitable material properties (e.g., permittivity, diffusion coefficients, reaction rates). Any tips for observing charge density changes in the oil. I have attached a picture for reference that I want to model like that. I look forward to your advice and suggestions to resolve this issue.</p> <p>Best regards,</p> Mon, 13 Jan 2025 05:47:10 +0000 4.2025-01-13 05:47:10.347991 Guidance on Setting Up Ring Modulator Simulation (Semiconductor + Wave Optics Modules) https://www.comsol.com/forum/thread/347961/guidance-on-setting-up-ring-modulator-simulation-semiconductor-wave-optics-modules?last=2025-01-12T18:07:29Z <p>Hello everyone,</p> <p>I am currently working on simulating a silicon microring modulator and would appreciate some guidance. My ultimate goal is to analyze the device's electrical and optical behavior, including carrier dynamics, electric field distribution, and the overlap between the optical mode and the depletion region. I have already gone through the PN_Junction 1D example and some tutorials on the Wave Optics Module, so I have a basic understanding of how these modules function.</p> <p>Here’s what I have done and what I am trying to achieve:</p> <p>What I Have: Simulation Goals:</p> <p>Model a microring modulator with Z-shaped doping and calculate: The depletion region under reverse bias. The electric field distribution. Optical mode overlap with the depletion region. Use the results to estimate modulation efficiency (e.g., <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAAUCAQAAACD6m1VAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpAQwSLQ5SGXYUAAABVklEQVRIx72W4W2EMAyFP1e3AB3BK2SFrEBHyArXEegIdyt0BUZoRjhGKCO4P3qQhAOUouocIQUbeH7xs4UYz7SXp6JxApBuurX3aTf5kqfOJKCPX5vNMAwCRjDSouFWemoXHqNbj02HOQBjkYdyteuhE1Pgcz00wUXAFZHWPg4WyDFa3IWzkhly5hgzAE+/FUrKjImdKNhwDEsUJW5FE9yYFEU4fJDgoY7dHU7a7ccrbKdyizYXBWlwVgEnKt+pXwt2O2/n7H4lfKb+IHXpWFZOGgl5/DTvRkDFE5cqXTcbeF3lVlYulAqf4awXUDQfPNKSchvtrSKLonLSoIvks+Fj3NBiGHV4LvfLVQ2wG5d5r3zRlvFThtwTi26L1osyWC++SjwdDkXvAnJ4RlsOsyyzdiXbDsVtDdy/r6wRbG2sehtoHhV42HYrEbgYNNh/sZPn/jz8ALjVHL21+nbpAAAALXRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCBBcnRpZmV4IFNvZnR3YXJlIDIwMTEIusW0AAAAMXRFWHRpY2M6ZGVzY3JpcHRpb24AQXJ0aWZleCBTb2Z0d2FyZSBzUkdCIElDQyBQcm9maWxlEwwBhgAAACF0RVh0cHM6SGlSZXNCb3VuZGluZ0JveAAzM3gxMisyOTArNjM33L4IsgAAAB50RVh0cHM6TGV2ZWwAUFMtQWRvYmUtMi4wIEVQU0YtMi4wQfkzEwAAAABJRU5ErkJggg==" />). Background Preparation:</p> <p>Completed the PN_Junction 1D example to understand carrier dynamics and doping profiles. Practiced using the Wave Optics Module to simulate mode profiles in waveguides. the paper i want to reproduce is : DOI: 10.1038/s41467-024-45301-3</p> <p>My Current Plan: Geometry Setup:</p> <p>Create a 2D model of a microring with a Z-shaped doping profile. Include p-doped, n-doped, and intrinsic regions with appropriate geometrical dimensions. Doping Profile:</p> <p>Define doping levels for the p-type and n-type regions (e.g., <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARsAAAAZCAQAAACrm0IVAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpAQwSLQ5SGXYUAAAERUlEQVRo3u2a75WyOhCHn7nnNpC3hNwS0kLeEtgS2BKwBChBS9ASsAQtQUqQEuZ+EJB/Kii4usffftgDxGTykEwmQ0T56KOx+venDbgssYRsdA8ghpA9jo1mM7TkcGT4srX30PP49BDSF/0jJEDxxVVc/F/P0tYOqxBw+OlevyafLqF/fnrOXJKudFO7DMTM2NhpBuXM2cbEeiqfDqEXXqRaZu9kgWE7R+X6DUDI4qe7ebdm5dMl1Bg2EmKBTFfFtSUsfjY5ULHtVVgc+aWVWb8kZUnG1zxYxOHhOvRn0hlLaG4+bUKi7YdrLH80L64NKasS1HRACHH6t3YnwLHF4EnOYET5q1sASfkGljj+K227q+XTqz8rO/dNPOvrtT+HznBC0/MZTKgTaHmUqHYnnji4csRE7Ehr92wZauHY1e4XIR9haRHLum0TWWSr2vV67fPTGUfoOXz6CLVDYqtbtqXzBTE8NHa70r0uNGnVGrEpn4IEV36+Z/oNpj/1Vwxl6HdJs9N5mNAcfHoI9e2kNljx1Q9mCrIaqmPI8QASSgwEEoOuMBKKlwDb2D9Mow0bCcQTk+jt3j6fTi+hJ/LpIdSIbcTidQVyZHOKnSWeKdxL4bxyn9fo9pOGbZasEyRaQjLAaCKWCMsCg8MACRBgMaxupfHEYbq1d9p6Ep17CPXzmYtQcwNezp4VkSzGhFbiLuQ88tt512runrTH95XSrOt+xbHmS/cgTmJdyIIDnkwTkCURuSYgASl/rtswKDt8N51nEOrjMx+h5rApt3wrIkKSvrVbfK8jv7bajpUbXDKukt0xgOayxxRuOic6odCNrC9YPU4D6FzRryLUHDYFBs1kS0jSXbvFkSLdaiZ11gODOrF4ys3hd0+B/WNb0Y6u0BFDRMSqKGPoeKPfRagWEoutmXMK/FzHgQZFPD2lMqg5cDd4L2CpvcqeuGTSQXOdjuZsQL91oQtdkLH+3YTq3sZTReG6kpigXa2EJES47v5Bokvfc27PMs0E3LntOTa1E+gWnZrv0UTido73dxGqDxvTcFkrouY3GrHkmsu+lUU8afvQZ8D6pnHwdxXdSn4ewuJmPvRwgw6uFaPYlk/4XYSqTKBh2coMKq5xJ1YU0ikyo6SNHKivcqCWI2ZwLSGHsnRh3a46QhCfW6A6YDAwJ3po51oH0Dme28Cjw3vxfoS0HDbEHDiyxNYeNc5uELAkJmbXBHgHkJglR44sicv2iFhisKTNlzEAS0qAJ8JgiVEOxEV/lBiLZ42SEo4YNsdW32/TcWijfDqmF+9GSIce08JUXyUeRHLlZUWE98xRfP11TmRNMLJ8VJu5hsO4V/t+hIYWqxam9zoDdzeWkQsx68r1G9JxDv8d/wYc0xJPiD3tDMTjsXMm1V9B4sZ8axJLiGcjcXHje57zvK+k1nmbjwAk0uSnbXhtfYbNR3foZY+gf/TK+h9oGwBBUMODBQAAAC10RVh0aWNjOmNvcHlyaWdodABDb3B5cmlnaHQgQXJ0aWZleCBTb2Z0d2FyZSAyMDExCLrFtAAAADF0RVh0aWNjOmRlc2NyaXB0aW9uAEFydGlmZXggU29mdHdhcmUgc1JHQiBJQ0MgUHJvZmlsZRMMAYYAAAAidEVYdHBzOkhpUmVzQm91bmRpbmdCb3gAMTcweDE1KzIyMCs2Mzb2XI3MAAAAHnRFWHRwczpMZXZlbABQUy1BZG9iZS0yLjAgRVBTRi0yLjBB+TMTAAAAAElFTkSuQmCC" /> Use the Analytic Doping Model or custom doping profiles. Electrical Simulation:</p> <p>Apply reverse bias to simulate the depletion region and calculate the electric field distribution. Optical Simulation:</p> <p>Use the Wave Optics Module to calculate the optical mode overlap with the depletion region. What I Need Help With: Combining Physics:</p> <p>How should I combine the Semiconductor Module (for electrical analysis) with the Wave Optics Module (for optical mode simulation)? For example, how can I transfer the depletion region and electric field results to the optical simulation for overlap analysis? Modeling Z-shaped Doping:</p> <p>What’s the best approach to define the Z-shaped doping profile? Should I use the Analytic Doping Model, or is there a better way to implement such geometry-specific doping? Boundary Conditions:</p> <p>For the electrical part, what boundary conditions should I use for the metal contacts and the waveguide cladding? Are there any best practices for ensuring accurate results in depletion region modeling? Performance Tips:</p> <p>Are there any specific meshing or solver settings I should pay attention to when dealing with a microring structure (e.g., fine meshing in the depletion region or specific solvers for coupled physics)?</p> Sun, 12 Jan 2025 18:07:29 +0000 4.2025-01-12 18:07:29.347961 Extracting data from Global 1 https://www.comsol.com/forum/thread/347951/extracting-data-from-global-1?last=2025-01-12T10:46:32Z <p>Hi everyone, I would like to extract the data from Global 1, which contains two line graphs (Voltage 1 and Voltage 2), into one file. I need the output to include three columns: one for the x-axis values and two for Voltage 1 and Voltage 2, respectively. Thank you for your assistance! Cordially,</p> Sun, 12 Jan 2025 10:46:32 +0000 4.2025-01-12 10:46:32.347951 Auxiliary data refresh https://www.comsol.com/forum/thread/347941/auxiliary-data-refresh?last=2025-01-11T13:56:12Z <p>Hello everyone, the button to refresh all nodes doesn't work, is it normal ? I have to refresh in every single node.</p> <p>Only me ?</p> Sat, 11 Jan 2025 13:56:12 +0000 4.2025-01-11 13:56:12.347941 Layer addition on additive manufacturing (SLM) process https://www.comsol.com/forum/thread/347931/layer-addition-on-additive-manufacturing-slm-process?last=2025-01-11T10:38:07Z <p>I'm trying to model a SLM process on COMSOL and I'm finding some issues on simulating the layer addition. For an initial test, I have the substrate and 2 more layers (the laser travels 3 times). In order to simulate their addition, I created piecewise functions that are 1 when the layer is active and 10e-15 when it's innactive, and I multiplied the physical properties of the material by the function. See images below to make it clearer. The GIF shows a zoom on the layers to better see the laser pass. However, when I use a point probe to measure the temperature inside the layers, it increases even when the layer in question is not supposed to be active. The plot below show the temperature in 3 points. Laser pass time is 0.36 seconds.</p> <p>For the boundary conditions, the bottom surface has a fixed temperature (ambient), the sides have convection, the top has radiation to the ambient and also convection (but the convection I could only select the last layer surface, the software doesn't let me select the others). But even if theses conditions are not really correct, I think that the points I presented should have the increase in temperature they are showing when the layer is inactive, as you can see I multiplied the material properties by the function.</p> <p>Does anyone have an idea of what is wrong?!</p> Sat, 11 Jan 2025 10:38:07 +0000 4.2025-01-11 10:38:07.347931 LiveLink for MATLAB: mpheval evaluates data far scarcer than mesh https://www.comsol.com/forum/thread/347913/livelink-for-matlab-mpheval-evaluates-data-far-scarcer-than-mesh?last=2025-01-21T13:18:24Z <p>It seems that mpheval evaluates data with a density far scarcer than that of the actual FEA mesh. How to control the density on which mpheval evaluates? Same question for mphinterp.</p> Sat, 11 Jan 2025 05:04:11 +0000 4.2025-01-11 05:04:11.347913 Guidance on Adaptive Closed-Loop Stimulation Current Simulation https://www.comsol.com/forum/thread/347902/guidance-on-adaptive-closed-loop-stimulation-current-simulation?last=2025-01-11T08:20:16Z <p>Hello,</p> <p>I am working on a simulation project involving adaptive closed-loop stimulation in using LiveLink to integrate feedback from the system to control the terminal source (electrode stimulation). I would appreciate any insights or guidance from the community. Specifically, I am interested in simulating an electrode-based stimulation system (interpolated waveform function as a terminal) where the current is applied adaptively based on feedback from the system. The feedback could be related to electric fields, voltage changes, or other measurable parameters.</p> <p>Key questions: * Can anyone provide insights on implementing adaptive feedback control in COMSOL, particularly how to modify the electrode stimulation dynamically in response to field data (e.g., based on measured voltage)? * Are there any known issues or common pitfalls when solving time-dependent simulations that involve feedback from the electric field or voltage measurements?</p> <p>If anyone has successfully implemented adaptive control systems or closed-loop stimulation in COMSOL using LiveLink for MATLAB, I would love to hear about the methods or algorithms you used.</p> Fri, 10 Jan 2025 19:25:23 +0000 4.2025-01-10 19:25:23.347902