Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Wed, 23 May 2018 12:35:24 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Freezing through convergence Plots https://www.comsol.com/forum/thread/178571/freezing-through-convergence-plots?last=2018-05-23T12:35:24Z <p>According to</p> <p>http://cn.comsol.com/forum/thread/105901/comsol-5-2-gets-stuck-after-some-time?last=2017-04-26T18:39:50Z</p> <p>Comsol freezes occasionally when plots are created while solving, including the convergence plots. For my model (SST Flow, around 1,500,000 elements, 128 GB RAM), it happend three times in a row. After disabling the plots, it works pretty good.</p> <p>Is there a possibility to see the convergence plots after the simulation is finished? Or see at least the Errors? They are not even shown in the progress when the convergence plots are disabled.</p> <p>It´s pretty important for me, because I use two different rampings (viscosity and and a wire gauze), and i often only find a soluation when i use the interation number as a criteria.</p> <p>Please don´t suggest to upgrade the version to 5.3, I use Comsol for my Master Thesis, and the Prof is not willing to pay for the new version...</p> Wed, 23 May 2018 12:35:24 +0000 4.2018-05-23 12:35:24.178571 how to plot circularly polarized light https://www.comsol.com/forum/thread/178563/how-to-plot-circularly-polarized-light?last=2018-05-23T09:07:34Z <p>Hi</p> <p>I recently simulate phase metasurface : when a** left** circularly polarized light reflect on this metasurface, the reflected light would be a ** right** circularly polarized light. Here are some question</p> <p>1) .How to describe left and right circularly polarized light the like "ewfd.Ex" and "ewfd.Ey" in COMSOL? (I want to know the reflected angle/reflection direction of the light beam.)</p> <p>2)In "far field" of comsol ,we only get ewfd.normEfar. Could I plot right circularly polarized component in far field?</p> Wed, 23 May 2018 09:04:09 +0000 4.2018-05-23 09:04:09.178563 Pressure drop calculation https://www.comsol.com/forum/thread/178561/pressure-drop-calculation?last=2018-05-23T11:10:49Z <p>How to calculate the change in pressure in a closed cavity due to volume change?</p> Wed, 23 May 2018 08:04:21 +0000 4.2018-05-23 08:04:21.178561 Error in elPlastic element. https://www.comsol.com/forum/thread/178553/error-in-elplastic-element?last=2018-05-23T08:04:09Z <p>I ran a geomechanical model and I got this Error "Error in elPlastic element. - Detail: Lambda non positive for plastic point" , I decreased the time step and tighten the convergence tolerances acccording to an apply in this fourm. However, it didn't work.</p> <p>Could anyone tell me why this error happens. I used plasticity model.</p> Wed, 23 May 2018 03:17:23 +0000 4.2018-05-23 03:17:23.178553 Basic Resistance measurement at EC with probes https://www.comsol.com/forum/thread/178542/basic-resistance-measurement-at-ec-with-probes?last=2018-05-23T12:07:06Z <p>Hi there, Everybody keeps asking this question but still no any simple answer here or anywhere alse, How such powerful software can't measure resistance between two points on the wire like simple multi meter can do. If this is EC simulation stationary or time dependent. Can somebody show how to set up resistance measurement between two points in few clicks, without formulas or manual calculation, just want to pick up two surfaces and click "measure resistance". Thanks!</p> Tue, 22 May 2018 21:27:49 +0000 4.2018-05-22 21:27:49.178542 Discretization tool not available https://www.comsol.com/forum/thread/178522/discretization-tool-not-available?last=2018-05-22T15:13:29Z <p>Hi, I'm attempting to switch the discretization in a solid mechanics beam problem from linear to quadratic lagrange elements (or back again.) From what I understand most people can see the discretization option under the solid mechanics dropdown menu, but I do not. I have tried restarting the geometry etc from scratch several times, and I could not find a similar issue in previous forum articles. Please advise!!</p> <p>I have linked screenshots of my COMSOL console, vs. a friends' who can see the discretization option.</p> Tue, 22 May 2018 14:57:37 +0000 4.2018-05-22 14:57:37.178522 Energy loss in symmetric heated turbulent flow https://www.comsol.com/forum/thread/178511/energy-loss-in-symmetric-heated-turbulent-flow?last=2018-05-22T11:56:58Z <p>Hello,</p> <p>I created a simplified model which just simulates the flow of heated air through a pipe, heating up a small piece of the pipe-wall.</p> <p>It´s completley symmetric, so I decided to use the symmetrie line in the center. For the further application of the Model, I cant reduce the problem to a 2D-Axiasymmetric model.</p> <p>The transferred heat from the gas to the pipe wall seemed to be way to low. My Calculations showed that the energy which is lost by the hot air is several times bigger than the energy which heated up the pipe.</p> <p>Checking the heat fluxes of the system revealed that energy goes through the symmetry and "disappears".</p> <p>Removing the cut-line and simulating with the whole cross-section gives a correct result ( less than 3% difference between theory and simulation).</p> <p>Are there any wrong boundary conditions? Why do those heat-fluxes out of the System appear? Or is it a problem in Comsol?</p> <p>About the Simulation:</p> <p>Run Study 2 (solves the flow)</p> <p>Enable the 3 Multiphysics (Flow does not converge while those physics are enabled, though they are deactivated in the solver for this solution is not activated)</p> <p>Run Study 4 (solves the temperature for 20 sec, pipe should be heated to around 22 degC)</p> <p>Changes done in full cylinder: - Disabling workplane 1, Partition Domain 1, Delete Entities 1 - Adding the new Boundaries to the Boundary Layer Mesh</p> <p>Same procedure to run like the first model. Now the pipe heats up to nearly 27 degC.</p> <p>Thanks for any help!</p> <p>If you have any further remarks or suggestions about the model, feel free to answer :-)</p> Tue, 22 May 2018 11:56:58 +0000 4.2018-05-22 11:56:58.178511 Coupling between rf and electric currents https://www.comsol.com/forum/thread/178501/coupling-between-rf-and-electric-currents?last=2018-05-22T11:30:22Z <p>I would like to set a fixed potential in the rf module. If I use the lumped port I can set a potential, but this only applies if wave exication is enabled. When I activate this, my model becomes very complicated and the solver takes a very long time. To avoid this, I wanted to define the potential with the electrica currents physic. The problem is that the defined potential in electrican current module does not exist in the rf module. Because the two modules are not coupled. The question is can the two modules be coupled? And if so, could someone show me how? In the appendix is a model example.</p> <p>I would be very grateful for any idea!!!</p> Tue, 22 May 2018 11:30:22 +0000 4.2018-05-22 11:30:22.178501 Edge rotation for shell with prestressed eigenfrequency analysis always gives 0 https://www.comsol.com/forum/thread/178491/edge-rotation-for-shell-with-prestressed-eigenfrequency-analysis-always-gives-0?last=2018-05-22T15:35:50Z <p>Hello! I'm having troubles trying to evaluate the rotation of one edge of a shell element around the axis parallel to it (in my case, the z axis). I'm running a prestressed eigenfrequency study, i.e., a two-step study with stationary and eigenfrequency steps. Trying to plot <em>shell.thZ</em> (or any other <em>shell.th</em>) gives a clean 0.0 over the whole shell surface.</p> <p>Funny thing is, if I use a different study with only an eigenfrequency analysis (no stationary one), I get reasonable values for the same variable .</p> <p>Am I forgetting or overlooking something obvious? Thank you in advance to anyone who will shed a light on this!</p> Tue, 22 May 2018 10:01:30 +0000 4.2018-05-22 10:01:30.178491 Far-field calculation of a duct outlet https://www.comsol.com/forum/thread/178481/far-field-calculation-of-a-duct-outlet?last=2018-05-23T11:46:08Z <p>Hello,</p> <p>I'm working on a model of a duct that has an outlet into a room, which is modeled as a semi-infinite space. A diagram of the 3D model is attached. The black part is the duct, the grey part is the room, which is surrounded by a PML (blue area). Both domains are filled with air. At the far end of the duct, I have added an incident plane wave.</p> <p>I want to know the far field pressure in the room. However, I haven't been able to get good results from the far-field calculation. I just want to know the far field pressure in the room, but in my results all I see is a peak in the direction where the source is located.</p> <p>Obviously I'm making a mistake in setting up my far-field calculation. But I don't have the faintest idea what I'm doing wrong. I'm hoping you can help me out. I've attached my COMSOL model. In this model the domain modeling the room has a larger radius than the duct, which is slightly different than in the attached diagram.</p> <p>I hope someone can help me. Thanks in advance.</p> <p>Kind regards,</p> <p>Thijs Hekman</p> Tue, 22 May 2018 08:30:57 +0000 4.2018-05-22 08:30:57.178481 Convergence criteria of the nonlinear solver are met but not all linear solver conditions are fulfilled. https://www.comsol.com/forum/thread/178441/convergence-criteria-of-the-nonlinear-solver-are-met-but-not-all-linear-solver-c?last=2018-05-21T15:53:39Z <p>I was running Semiconductor module. The solver is fully coupled (constant Newton).</p> <p>The simulation shows the following warning:</p> <p>"Convergence criteria of the nonlinear solver are met but not all linear solver conditions are fulfilled."</p> <p>Anyone has the same issue? Please help.</p> <p>Thanks</p> Mon, 21 May 2018 15:53:39 +0000 4.2018-05-21 15:53:39.178441 Magnetic field and Thermal study Combined https://www.comsol.com/forum/thread/178431/magnetic-field-and-thermal-study-combined?last=2018-05-22T07:22:44Z <p>Hi,</p> <p>I am currently simulating a model (magentic field study) to evaluate the heat source distribution surrounding an copper inductor cavity and wanted to consider these heat sources asinput for my thermal model .</p> <p>There is no problem in magnetic field study , can see the surface loss density plot (mf.Qsrh) but when i assign this mf.Qsrh value in thermal model as assigned heat flux I am getting some errors while comuting thermal study ,</p> <ol> <li>I can see same intial temperature at all time steps</li> <li>If not the above error (1) , getting error as undefined variable on boundaries (boundaries where heat flux is assigned) </li> </ol> <p>I am attaching my model here , kindly let me know what is the nature of this error.</p> <p>P.S - I have also included a PID study in this , however dont feel PID is reason for this error . Correct me if I am wrong</p> Mon, 21 May 2018 14:46:54 +0000 4.2018-05-21 14:46:54.178431 Supercapacitor https://www.comsol.com/forum/thread/178423/supercapacitor?last=2018-05-21T04:12:18Z <p>Hey.I am trying to model supercapacitor but get some difficulties.Could someone who have already succeed in it kindly give me some guidance or share some details with me.I would very appreciate it.</p> Mon, 21 May 2018 04:12:18 +0000 4.2018-05-21 04:12:18.178423 Conjugate Heat Transfer for Turbulent Flow problem https://www.comsol.com/forum/thread/178422/conjugate-heat-transfer-for-turbulent-flow-problem?last=2018-05-21T03:47:04Z <p>Hello,</p> <p>I have seen that you have helped a lot of people many times about different types of problems in COMSOL, that's why I'm contacting you.</p> <p>I study the aerothermal effects of a CubeSat which comes back to earth. First, I made lot of assumptions to simplify my model.</p> <p>I began to learn COMSOL few weeks ago. First I made a model with laminar flow, I imposed a velocity for the inlet and open boundaries for the outlet. It worked.</p> <p>Them, I add conjugate heat transfert for laminar and it worked too.</p> <p>But when I study the turbulent flow I don't understand why it doesn't work ...</p> <p>I have the message below :</p> <p>Failed to find a solution. Segregated Step 2 Singular matrix.</p> <p>There are 409 void equations (empty rows in matrix) for the variable comp1.T. at coordinates: (0.221669,0.25,0.551122), (0.227749,0.25,0.542537), (0.225979,0.241028,0.546981), (0.220487,0.240859,0.555651), (0.225796,0.258812,0.547148), ... There are 409 void equations (empty rows in matrix) for the variable comp1.nitf1.TWall. at coordinates: (0.233762,0.240739,0.538702), (0.234585,0.25,0.535845), (0.227749,0.25,0.542537), (0.24I have seen that you have helped a lot of people many times about different types of problems in COMSOL, that's why I'm contacting you.</p> <p>I study the aerothermal effects of a CubeSat which comes back to earth. First, I made lot of assumptions to simplify my model.</p> <p>I began to learn COMSOL few weeks ago. First I made a model with laminar flow, I imposed a velocity for the inlet and open boundaries for the outlet. It worked.</p> <p>Them, I add conjugate heat transfert for laminar and it worked too.</p> <p>But when I study the turbulent flow I don't understand why it doesn't work ...</p> <p>I have the message below :</p> <p>Failed to find a solution. Segregated Step 2 Singular matrix.</p> <p>There are 409 void equations (empty rows in matrix) for the variable comp1.T. at coordinates: (0.221669,0.25,0.551122), (0.227749,0.25,0.542537), (0.225979,0.241028,0.546981), (0.220487,0.240859,0.555651), (0.225796,0.258812,0.547148), ... There are 409 void equations (empty rows in matrix) for the variable comp1.nitf1.TWall. at coordinates: (0.233762,0.240739,0.538702), (0.234585,0.25,0.535845), (0.227749,0.25,0.542537), (0.242123,0.25,0.531499), (0.25,0.25,0.53), ... In Segregated Step 2: Returned solution is not converged.</p> <p>Please can you help me.</p> <p>You will find my model attached.2123,0.25,0.531499), (0.25,0.25,0.53), ... In Segregated Step 2: Returned solution is not converged.</p> <p>Please can you help me.</p> <p>You will find my model attached.</p> Mon, 21 May 2018 03:47:04 +0000 4.2018-05-21 03:47:04.178422 temperature gradient boundary condition https://www.comsol.com/forum/thread/178361/temperature-gradient-boundary-condition?last=2018-05-19T15:59:53Z <p>I am trying to implement a boundary condition where the temperature gradient in the normal direction to the wall is -1. how do i do it. i am using heat transfer in fluid physics and laminar flow physics. and in a wall i have to set temperature gradient in the normal direction to the wall to -1. is there any way i can do that?</p> Sat, 19 May 2018 14:21:52 +0000 4.2018-05-19 14:21:52.178361 Sound transmission loss and impedence https://www.comsol.com/forum/thread/178351/sound-transmission-loss-and-impedence?last=2018-05-19T09:17:28Z <p>Hello everyone! How to simulate for the sound transmission loss and impedence for the thick rectangular plate. Please help me out with step by step procedure to simulate. And matlab program for it. Thank you</p> Sat, 19 May 2018 09:17:28 +0000 4.2018-05-19 09:17:28.178351 Galvanic Cell with same reaction for the anode and for the cathode https://www.comsol.com/forum/thread/178312/galvanic-cell-with-same-reaction-for-the-anode-and-for-the-cathode?last=2018-05-21T20:44:07Z <p>How to model a galvanic cell that has the same reaction for the anode and for the cathode? We have a Galvanic Cell with only two species Ox (oxidized species) and Red (reduced specie) and these species react as follow:</p> <p>*cathode: Ox + e = Red E= 0 V<br /> * anode: Red = Ox + e E= -90mV</p> <p>The different potential could be due to the temperature difference between the cathode and the anode. If the initial concentration for Ox and Red are the same and regardless the fast kinetic for the anode (anode has a major temperature that cathode). It is supposed that these concentrations are invariant with the time, because one specie is consumed in one electrode and is produced in the other electrode. I am trying to solve this, but the system do not reach the steady state. The species change their concentration with the time. Does anyone know why? Thank you, for your time!</p> Fri, 18 May 2018 20:10:29 +0000 4.2018-05-18 20:10:29.178312 Resuls and Plots https://www.comsol.com/forum/thread/178302/resuls-and-plots?last=2018-05-18T20:10:01Z <p>Hello! every one. I have some troubles to Plot and reproduce my results, because each Plot appear one over the other and I can´t see properly the curves and 3D plots . I would like to know how can I fix this, please.</p> Fri, 18 May 2018 20:10:01 +0000 4.2018-05-18 20:10:01.178302 Nonlinear solver did not converge. https://www.comsol.com/forum/thread/178212/nonlinear-solver-did-not-converge?last=2018-05-18T17:56:40Z <p>I'm trying to use the Particle Tracing for Fluid Flow. However, I keep getting an error saying the nonlinear solver did not converge, last time step did not converge. I've looked to make sure all of the boundary and initial conditions are defined but am still gettting the error for time dependent studies. What parameters need to be altered so the solution converges?</p> <p>For another part of the simulation, I need to mix two substances together. Each substance would come from a different inlet, and the sample would leave as a mixture. What would be the best physics module to use?</p> <p>Thanks!</p> Fri, 18 May 2018 17:56:32 +0000 4.2018-05-18 17:56:32.178212 Heat Transfer Boundary Condition https://www.comsol.com/forum/thread/178191/heat-transfer-boundary-condition?last=2018-05-18T17:20:41Z <p>Hi, I'm trying to model a heat transfer physics with bottom boundary condtion: dT/dz = constant independent on depth (when the depth is more than 5m)</p> <p>how can i do this in comsol? I'm slightly new to comsol</p> <p>Thank you</p> Fri, 18 May 2018 17:20:41 +0000 4.2018-05-18 17:20:41.178191