Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Fri, 08 Aug 2025 22:10:55 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Releasing light from a moving particle in solution? https://www.comsol.com/forum/thread/367972/releasing-light-from-a-moving-particle-in-solution?last=2025-08-08T22:10:55Z <p>Hello, I'm attempting to model light emission from a phosphorescent particle in a fluid flow. The flow and the particle motion are no problem. Modeling the release of light however is proving to be difficult. My thought was to solve the fluid flow in a stationary manner, then use a segregated solver to first update the position of the particle within the fluid, followed by updating the position of the ray release point based on that new particle position. And that's where I'm stuck and am open to suggestions. Thanks.</p> Fri, 08 Aug 2025 22:10:55 +0000 4.2025-08-08 22:10:55.367972 Method for determining the mobility tuning parameter in phase-field modeling of two-phase flow https://www.comsol.com/forum/thread/367963/method-for-determining-the-mobility-tuning-parameter-in-phase-field-modeling-of-two-phase-flow?last=2025-08-08T14:36:32Z <p>In the Technical Support Knowledge Base, it is stated that when simulating two-phase flow problems using the phase-field method, the mobility tuning parameter can be calculated based on the velocity (as shown in the figure), rather than on the fluid viscosity, interface thickness parameter, and characteristic length scale. Is there any published reference that demonstrates the reliability of this algorithm?</p> Fri, 08 Aug 2025 14:35:21 +0000 4.2025-08-08 14:35:21.367963 Simulating Residual Stress of Thin Films on Silicon Wafer by Thickness Changing https://www.comsol.com/forum/thread/367962/simulating-residual-stress-of-thin-films-on-silicon-wafer-by-thickness-changing?last=2025-08-08T12:22:10Z <p>Hello!</p> <p>I am trying to simulate the stress (or strain) that is obtained from</p> <p>the fabrication process, and</p> <p>the experimental process (temperature evaluation).</p> <p>Initially, there is a silicon wafer. On top of it, there is a supporting SiO₂ layer. On this support layer, VO₂ is deposited using a sputtering system. I assume that all thin films inherently have an initial intrinsic stress from the deposition process. Based on previous studies, I have found that the magnitude of this stress depends on the difference in lattice parameters between the substrate and the film, as well as on the film thickness. The fabrication process is performed at room temperature.</p> <p>Moreover, after deposition, the film is tested by measuring its resistance while the temperature is increased from 25 °C to 100 °C. I would like to observe how the stress/strain in the film changes as the temperature varies.</p> <p>Currently, I am using COMSOL 5.3, and my procedure consists of the following steps:</p> <ol> <li>Fabrication Process (Goal: To show the initial stress distribution across the structure/geometry)</li> </ol> <p>I assume that the wafer has negligible (zero) stress initially. After the second film is deposited, I use the Solid Mechanics module with a Stationary study.</p> <p>I add another layer (m1) on top of the silicon wafer in the geometry.</p> <p>I set the initial stress and initial strain in the silicon to zero.</p> <p>I set the initial stress in the deposited layer to the given intrinsic stress, and the initial strain in the deposited layer to the calculated value from the lattice parameter difference:</p> <p>(lattice parameter difference, such as strain=(a_m1 - a_film1)/(a_film1) ).</p> <p>I would like to simulate cases where the top VO₂ layer has thicknesses of 10 nm, 30 nm, 50 nm, 70 nm, and 100 nm, and to show both:</p> <p>the average stress applied over the entire surface area, and</p> <p>the local stress distribution.</p> <p>There is no temperature change and no external force or strain applied to the film. So, this simulation should ideally show the stress distribution that develops in the geometry due to the deposition process — specifically, the residual stress along with the initial intrinsic stress.</p> <p>In addition, I would like to visualize stress vectors — arrows indicating the magnitude and direction of stress. I am not sure how to do this. I tried using an arrow array with (d.stress1x, d.stress1y), but the arrow directions did not match the expected theoretical results.</p> <p>My questions for this step are:</p> <p>Can the von Mises stress values obtained from this simulation be considered valid evidence of the residual stress formed in the thin film?</p> <p>Are there any additional assumptions or considerations that should be added to make this simulation more realistic?</p> <ol start="2"> <li>Experimental Process (Temperature Increase) I use the Solid Mechanics and Thermal Stress modules with a Stationary study.</li> </ol> <p>Assuming the same structure as in Step 1 (Si + SiO₂ + VO₂), I apply a temperature change from 25 °C to 100 °C to the thin-film system.</p> <p>The boundary condition is set to room temperature.</p> <p>The initial temperature is set to 100 °C.</p> <p>For the same VO₂ thicknesses (10 nm, 30 nm, 50 nm, 70 nm, 100 nm), I want to observe the average stress over the surface area and the local stress distribution as the temperature changes.</p> <p>I would like to know:</p> <p>Is this the correct way to set the temperature change in COMSOL?</p> <p>What exactly is the meaning of reference temperature and ambient temperature in COMSOL?</p> <p>General Question I would like to know if this is the best approach to obtain the stresses in the layers after a fabrication process. Is it possible to automatically use the simulation results from one step as the initial conditions for the next process step? For example, after simulating the first fabrication step, could I then add a new layer to the geometry and assign it an initial intrinsic stress while preserving the stress state of the existing layers from the previous step?</p> <p>Thank you!</p> <p>If you’d like, I can also prepare a clean, concise version optimized for COMSOL’s discussion forum style so it’s both detailed and easy for others to respond with technical advice. That would make it much more likely to get expert replies.</p> Fri, 08 Aug 2025 12:22:10 +0000 4.2025-08-08 12:22:10.367962 Need Help with Suction-Based Climbing Robot Simulation https://www.comsol.com/forum/thread/367951/need-help-with-suction-based-climbing-robot-simulation?last=2025-08-07T20:38:32Z <p>Hi everyone,</p> <p>I'm working on simulating a suction-based climbing robot using COMSOL Multiphysics. My objective is to check whether the robot will stick to a vertical surface or slip based on applied suction.</p> <p>Project Details:</p> <p>Suction pressure: –15,750 kPa applied to each suction pad</p> <p>Robot weight: 117 N</p> <p>I want to simulate how the robot behaves under gravity and suction force—whether it stays adhered or begins to slide.</p> <p>I'm confused about contact pairs and setting up proper interaction between the robot body and the wall.</p> <p>Also, deciding between stationary and time-dependent studies is a bit unclear.</p> Thu, 07 Aug 2025 20:38:32 +0000 4.2025-08-07 20:38:32.367951 Pipe flow and pump https://www.comsol.com/forum/thread/367942/pipe-flow-and-pump?last=2025-08-07T13:12:27Z <p>Hi there, can someone please share how to set a pump with inlet and outlet of a pipe flow model (gas, not liquid) with the goal of simulating the pressure losses due to elbows and pipe length, please. The flow rate and ultimate vacuum of the pump are set, trying to work out how to achieve this flow rate reduction / pressure difference drop when piping gets very long. thanks for you help. I found the liquid example in pipe, but not anything with pump and gas. any reference to some documentation is appreciated.</p> Thu, 07 Aug 2025 13:12:27 +0000 4.2025-08-07 13:12:27.367942 tcd.kappaxx-zz in the Tertiary Current Distribution governing Equations https://www.comsol.com/forum/thread/367931/tcdkappaxx-zz-in-the-tertiary-current-distribution-governing-equations?last=2025-08-07T12:49:40Z <p>Hi All,</p> <p>I took a deep dive on porous electrode reaction node equation view and i saw electrolyte conductivity term tcd.kappaxx/xy/xz/yx/.../zz. I tried find and replace (ctrl + F) for this variable but i could not find what this variable do and how does this contribute to the overall tertiary current distribution physics.</p> <p>does anyone know how COMSOL uses this term? or is it just a post-processing variable?</p> Thu, 07 Aug 2025 12:43:27 +0000 4.2025-08-07 12:43:27.367931 How to stimulate the electrode on the semiconductor module? https://www.comsol.com/forum/thread/367893/how-to-stimulate-the-electrode-on-the-semiconductor-module?last=2025-08-06T05:59:24Z <p>Hi guys,</p> <p>I want to stimulate a ITO-ETL-PVSK-HTL-FTO Perovskite solar cells by using the semiconductor module of COMSOL to investigate quantities like electrical potential, concentration of holes and electrons, and etcs, and I want all layers are included. Now I encounter a problem, which is I couldn't include FTO in my model although I can include ITO.</p> <p>The first thing came into my mind for this issue is that maybe it is due to the PN effects on HTL(P)-FTO(N), such that there exists an large energy level gap on their interface, so the holes in HTL could hardly move into FTO, which then fail to solve the continuity equation on that boundary. However, after some adjustments on the electric affinity of FTO and HTL, I was almost close that gap(left a &lt;0.5eV energy gap), the stimulation failed again.</p> <p>As for the other b.c.s and i.c.s, I set 0V on the top of ITO, and a scanned volt Vapp on the bottom of FTO, and doping ITO/FTO with 1e20[1/cm^3] in N-type, HTL with 1e18[1/cm^3] in P-type, and ETL with 1e18[1/cm^3] in N-type.</p> <p>Thanks Pals</p> Wed, 06 Aug 2025 05:57:05 +0000 4.2025-08-06 05:57:05.367893 How to define the contact angle in a model https://www.comsol.com/forum/thread/367871/how-to-define-the-contact-angle-in-a-model?last=2025-08-04T13:30:05Z <p>Hello there, I am trying to simulate droplet impact on solid stationary particle. I am finding it difficult to define contact angle. I used wetting wall BC to give values of contact angle but it doesn't matter whatever value i give in contact angle, I am not able to see it in output, it feels like the contact angle value which i give has no effect upon simulation. Please guide me where i am doing wrong. Thanks</p> Mon, 04 Aug 2025 11:29:20 +0000 4.2025-08-04 11:29:20.367871 PML Wavelength https://www.comsol.com/forum/thread/367832/pml-wavelength?last=2025-08-03T22:02:27Z <p>Hello I'm doing a structural analysis in Comsol using PML. The analysis is in the frequency domain, and I'm unsure which wavelength to use in PML.</p> <p>Another question is, when I select the Comsol option to use the wavelength based on the physics of the problem, is there any way I can access that wavelength?</p> Sun, 03 Aug 2025 22:02:27 +0000 4.2025-08-03 22:02:27.367832 Schur complement of the global stiffness matrix https://www.comsol.com/forum/thread/367831/schur-complement-of-the-global-stiffness-matrix?last=2025-08-03T07:46:19Z <p>I am trying to calculate the Schur complement of the global stiffness matrix, I have already exported the matrix through the livelink. To calculate the Schur complement of the matrix, I have to figure out which part of the matrix corresponds to which node, therefore, are there any way for me to get how comsol assemble the matrix? Besides, I know that comsol has a schur complement solver, are there any way for me to perform this on the global matrix? (e.g. I got two same cascaded units, and I only need to calculate one stiffness matrix and cascaded them through the schur complement)</p> Sun, 03 Aug 2025 07:46:19 +0000 4.2025-08-03 07:46:19.367831 Silica Precipitation https://www.comsol.com/forum/thread/367823/silica-precipitation?last=2025-08-03T02:50:44Z <p>I'd like to know how to achieve discontinuous precipitation of silica. My idea is to use the dissolution and precipitation of silica to change the porosity and permeability of the fractures, thereby achieving a discontinuous precipitation effect. I'd like to ask if this can be achieved.</p> Sun, 03 Aug 2025 02:50:44 +0000 4.2025-08-03 02:50:44.367823 How to integrate over infinite domain or scaling coordinate system https://www.comsol.com/forum/thread/367821/how-to-integrate-over-infinite-domain-or-scaling-coordinate-system?last=2025-08-04T13:32:07Z <p>Hello!</p> <p>Every integration I tried didn't recognize or consider the stretching of an infinite or scaling domain. What is the right or appropriate function or way to integrate over stretched scales? Whether in Results or in Component.</p> <p>Thank you.</p> <p>P.S. Datasets->Emped 1D/2D seemed a good way or workaround, but the 'Output space expression' doesn't recognize used component functions or expression operators, and I don't want to use redundancy or a workaround.</p> <p>Nice greetings</p> Sat, 02 Aug 2025 19:03:24 +0000 4.2025-08-02 19:03:24.367821 Non Hermitian Acoustic Model https://www.comsol.com/forum/thread/367811/non-hermitian-acoustic-model?last=2025-08-02T00:09:48Z <p>I'm summarizing my whole work.</p> <p>With COMSOL 6.2. Non-Hermitian Study with Balanced Loss and gain with only COMSOL Weak Form PDE. I have an Hamiltonian, H=[0 (v+gamma)+w.exp(-ik);(v-gamma)+w.exp(-ik) 0]. I tried weak form of equation.</p> <p>Model Details: 1. Parameter: L=60[mm], kx=pi/L, h1=5[mm], r=5[mm] g=1[1/m], c_air=343[m/s], rho_air=1[kg/m^3], k=1 [1/m].</p> <ol start="2"> <li><p>Geometry: Rectangle1 (Width L/2, Height h1, Position, x=0, y=0); Rectangle2 (Width L/2, Height h1, Position, x=L/2, y=0); Circle1(Radius r, Position, x=L/4 y=h1/2), Circle2(Radius r, Position, x=3L/4 y=h1/2). Then Union. Then delete Entities to delete internal boundaries inside the circle.</p></li> <li><p>Materials: Now we have 5 domains. Domain 2 is the channel between between circles A (domain 4) and B (domain 5). We used user defined materials. Material Type: Non-Solid, Speed of sound, c=c_air and density, rho=rho_air. All the domains have same material properties.</p></li> <li><p>In Component 1> Definitions>Identity Boundary Pair 1, I selected Source boundary as Left (1) boundary and Destination boundary as Right (10) Boundary.</p></li> <li><p>Weak form of PDE: Applied to Domain all Domain. Weak Form PDE 1&lt; Weak Expressions: - (test(px)<em>px + test(py)</em>py)+ ((2<em>pi</em>freq/c_air)^2)<em>test(p)</em>p.</p></li> </ol> <p>Then took Weak Form PDE 2 and selected only Domain 2 and put expression: i<em>g</em>test(p)*px. This is non-reciprocity term.</p> <p>Next, for Periodic Condition, I used Weak Form PDE (w) >Pair> Weak Contribution. Then at Pairs section selected the predefined "Identity Boundary Pair 1". And at Weak expression field, wrote expression as "test(p)<em>(p - dest(p)</em>exp(i<em>kx</em>L))".</p> <ol start="6"> <li><p>Mesh: Free Triangular with Predefined size 'fine'.</p></li> <li><p>Study 1: Parametric Sweep: g=0:0.01:1 and kx=0:0.1*pi/L:pi/L. Step1: Eigenvalue, Desired number of eigenvalues 6 and Search for eigenfrequencies around 1+1i[rad/s].</p></li> </ol> <p>I run the simulation. There was no error. But, the periodic condition "test(p)<em>(p - dest(p)</em>exp(i<em>kx</em>L))" is not working. How to solve ?</p> Sat, 02 Aug 2025 00:09:48 +0000 4.2025-08-02 00:09:48.367811 Simulating Grain Evolution with Surface Heating in COMSOL https://www.comsol.com/forum/thread/367802/simulating-grain-evolution-with-surface-heating-in-comsol?last=2025-08-01T14:47:17Z <p>Hello,</p> <p>I'm new to using COMSOL. I’ve already defined the geometry and assigned materials to a cubic sample. Now, I would like to simulate how the grain structure evolves when heat is applied to the outer surfaces of the cube.</p> <p>Could you please guide me on how to set up this simulation?</p> <p>Thank you. Nafish (PhD. Student)</p> Fri, 01 Aug 2025 14:47:17 +0000 4.2025-08-01 14:47:17.367802 NACA 0012 transient https://www.comsol.com/forum/thread/367791/naca-0012-transient?last=2025-08-01T13:04:59Z <p>hello dear community</p> <p>i was trying to do time dependent study but unfortunately always show inconsistent initial values even though i followed the steps of the model that is provided by the comsol community i would like to ask for guide and what is the exact issue here</p> Fri, 01 Aug 2025 12:55:32 +0000 4.2025-08-01 12:55:32.367791 Heat transfer from housing to fluid https://www.comsol.com/forum/thread/367761/heat-transfer-from-housing-to-fluid?last=2025-08-01T09:43:07Z <p>I've been struggling with what would seem a fairly simple heat transfer model.</p> <p>I have a domain with a power loss. Above that is another domain which represents a housing, within which is a cooling channel. I've been trying to calculate the power dissipated to the fluid to correlate to another FEA package.</p> <p>When I calculate dissipated power from temperature rise of the fluid, I get more power than what is introduced to the model from the power loss domain.</p> <p>All walls are insulated, so all power should be going into the fluid minus the power to increase each component temperature.</p> <p>I've increased mesh density but the overall result hasn't changed which leads me to believe the problem is more fundamental.</p> <p>Can anyone share some insight?</p> Fri, 01 Aug 2025 09:43:07 +0000 4.2025-08-01 09:43:07.367761 What is the meaning of (nitf1.qwf_u)? https://www.comsol.com/forum/thread/367723/what-is-the-meaning-of-nitf1qwfu?last=2025-07-31T12:42:48Z <p>I just know this formula for calculate the power of exchange but i do not know the exact formula contained in it. I will appreciate it, please help me.</p> Thu, 31 Jul 2025 01:00:13 +0000 4.2025-07-31 01:00:13.367723 Quantification of Loss Due to Evanescent Phenomenon in Underground-to-Aboveground RF Communication https://www.comsol.com/forum/thread/367712/quantification-of-loss-due-to-evanescent-phenomenon-in-underground-to-aboveground-rf-communication?last=2025-07-29T21:46:26Z <p>Hi everyone,</p> <p>I am simulating underground-to-aboveground (UG-to-AG) RF communication using the RF Module in COMSOL. Specifically, I placed a dipole antenna underground and evaluated the power both just below and above the soil-air interface to study the evanescent wave phenomenon and quantify related losses.</p> <p>As we know, evanescent waves occur when the incident angle exceeds the critical angle at a dielectric boundary (in this case, from soil to air), preventing the wave from propagating into the upper medium.</p> <p>However, in the case of a dipole antenna, which emits a spherical radiation pattern, it is unclear how to define or compute a unique incident angle. I am wondering:</p> <p>What is the correct way to verify the presence of evanescent waves in this scenario?</p> <p>Can the incident angle be inferred from the phase of the field (e.g., arg(emw.Ez)) or perhaps by tracking the direction of the Poynting vector near the interface?</p> <p>How do we quantify evanescent loss, and how can we distinguish it from reflection loss in COMSOL simulations?</p> <p>Any guidance or references on how to confirm evanescent behavior and quantify associated losses in full-wave simulations like COMSOL would be highly appreciated.</p> <p>Thanks in advance!</p> Tue, 29 Jul 2025 21:45:05 +0000 4.2025-07-29 21:45:05.367712 Simple model not converging https://www.comsol.com/forum/thread/367692/simple-model-not-converging?last=2025-07-30T07:21:34Z <p>Hi all,</p> <p>I am trying to model electric field shielding with a copper box that has some holes in it. I feel as though this should be a very simple simulation for COMSOL to run, but for some reason my convergence plot plateaus before the specified tolerance of the solver. I have tried doing very fine meshing, and this did not help.</p> <p>Does anyone know what I can do about this?</p> <p>Thanks</p> Tue, 29 Jul 2025 15:33:35 +0000 4.2025-07-29 15:33:35.367692 Importing "STEP file" into geometry of COMSOL showing no geometry? https://www.comsol.com/forum/thread/367652/importing-step-file-into-geometry-of-comsol-showing-no-geometry?last=2025-07-29T10:04:04Z <p>Please if someone can help with this matter?</p> Tue, 29 Jul 2025 09:30:04 +0000 4.2025-07-29 09:30:04.367652