Latest Discussions - COMSOL Forums https://www.comsol.com/forum/ Most recent forum discussions Fri, 18 Jul 2025 15:18:20 +0000 COMSOL Forum: Latest Discussions https://www.comsol.com/shared/images/logos/comsol_logo.gif https://www.comsol.com/forum/ Scattering by a half-plane https://www.comsol.com/forum/thread/366912/scattering-by-a-half-plane?last=2025-07-18T15:18:20Z <p>Hello,</p> <p>I am simulating the scattering of acoustic waves by a half-plane. The domain consists of a rectangular box with the half-plane at the bottom. The box is surrounded by PMLs shown in purple in the image below. Periodic boundary conditions are used in the front and back faces and the background field is a plane wave in the x-direction. I am using the pressure acoustics, frequency domain module and I would like to add a background mean flow in the x-direction.</p> <p>I have thought of two possibilities:</p> <p>1) Use the linearized Euler Equations first just to add the mean flow, and then use the acoustics module, but I didn't manage to couple the two things.</p> <p>2) Modify the wave equation to go from the Helmholtz equation: <img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAAyCAQAAADxGy/9AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBxIPEhWr2nDrAAAGMklEQVR42u2c23WjOhRA97lrGtCUoCmBKUEpgZTAlIBLwCWQEpISTAlxCaGEUMK5HzwMNtgmlgzJ8tFHbIO1JUtI56WI8pCfKr/OX5aImArLVst7Nen+zCV6eRfRo4LDdq8NafPZB0YJVZZl3ot4/zJ8k5DhSHglarqr3W0uUAMWZ96DuPjgEtc/r4Jp53DdWQzaXvOMXwUzNHGpIgeFSt6p9Kl5nYFuuisZRv+F2BTWxAxHXEr6CtWWvjrhuh/DBez0aphBiUvJxNKVdftQRKZgDipPqLIk837Ee5bekyuWBCiIKLrPIqxuAFfPdomIQTfiiDC86f62qbUOZmjiYtLN4Yj3zjhI2PGuYPlsb2hnusKOHNdXgb783KyCGZq4XPmvm807Np0JX+HYg5b6W6UuzYzeA5ZSC9CKkuTr02otzLDEJaUZXNK6Kz0pRu6u9E0slrfmfYS5gb1Wpl/igvIfgBiSQScj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first order partial derivative, but the results I got don't seem to agree with the analytical model I have.</p> <p>Is there any better way to include the effect of the background flow?</p> <p>Thanks</p> Fri, 18 Jul 2025 15:18:20 +0000 4.2025-07-18 15:18:20.366912 Exporting mesh outline https://www.comsol.com/forum/thread/366821/exporting-mesh-outline?last=2025-07-18T13:49:43Z <p>For context, i have plotted a heatmap of the magnetic field of an antenna on the XY plane. I would like to obtain the outline of the antenna mesh to overlap on the heatmap to show the antenna position.</p> <p>However, i am only able to obtain the coordinates and not the outline as shown in the graphics view.</p> <p>I would appreciate any help.</p> Fri, 18 Jul 2025 13:49:43 +0000 4.2025-07-18 13:49:43.366821 How to force a non-solid truss to activate with solid surface displacement https://www.comsol.com/forum/thread/366373/how-to-force-a-non-solid-truss-to-activate-with-solid-surface-displacement?last=2025-07-18T12:59:39Z <p>In COMSOL, the truss element (non-solid line segment) and the geometry point of the solid surface have coincided exactly, but the truss has no displacement and no stress after applying the surface compression displacement, so how can I force the effective mechanical connection between the truss and the solid surface?</p> Fri, 18 Jul 2025 12:15:37 +0000 4.2025-07-18 12:15:37.366373 Meshing a volume https://www.comsol.com/forum/thread/358141/meshing-a-volume?last=2025-07-17T09:34:46Z <p>Hi,</p> <p>I'm new to Comsol and maybe this issue is actually trivial... Anyway, I am modeling a probe between two electrodes to see how the electric field produced is behaving inside the probe. The thing is that I need to consider the electrodes and the probe to be inside air, the first solution I used is to put my electrodes + probe inside a cylinder and then form an union. Nevertheless, the mesh looks to be only applied on the surface of the cylinder (and on the electrodes and probe). So the question is : How can i consider the space inside my cylinder to be "Air" and how can I put a proper mesh ?</p> <p>Best, Benoist</p> <p>P.S.: I am running the simulation on COMSOL 5.3</p> Thu, 17 Jul 2025 09:34:46 +0000 4.2025-07-17 09:34:46.358141 Classic case of Capillary-Wave in time domain. How to plot a amplitude vs time graph from its wave? https://www.comsol.com/forum/thread/358121/classic-case-of-capillary-wave-in-time-domain-how-to-plot-a-amplitude-vs-time-graph-from-its-wave?last=2025-07-17T06:29:23Z <p>Hello experts,</p> <p>I am trying to replicate the classical test case for capillary waves using COMSOL. I based the idea on the Basilisk CFD simulation, where surface tension acts as the restoring force between two immiscible fluids, creating a standing wave.</p> <p>My goal is to extract a graph of <strong>amplitude vs time</strong> at the fluid interface. I’ve attempted using <em>parametric probes</em>, <em>line probes</em>, and <em>cut lines</em>, but haven’t yet achieved the desired result.</p> <p>Could someone please guide me on how to: 1. Track the <strong>wave crest or interface height</strong> over time. 2. Extract and plot a <strong>relative amplitude vs time</strong> graph like in classical validation studies (e.g., Prosperetti, Popinet papers)? 3. Use <code>phi</code> (level set function) or <code>Volume Fraction</code> data effectively for this?</p> <p>Any help or similar COMSOL examples would be appreciated!</p> <p><strong>TL;DR</strong>: How to extract amplitude vs time data from a capillary wave simulation in COMSOL?</p> <p><em>Here is my current setup and results:</em> ![https://drive.google.com/file/d/15cP3eWpdQfI2-Tr8aSJL_d_dJZVS8MO8/view?usp=drive_link]</p> Thu, 17 Jul 2025 06:28:26 +0000 4.2025-07-17 06:28:26.358121 Mode Shape Suppression After Adding Molybdenum Layers to AlN Resonator https://www.comsol.com/forum/thread/357922/mode-shape-suppression-after-adding-molybdenum-layers-to-aln-resonator?last=2025-07-18T10:44:22Z <p>Hello,</p> <p>I am currently working on building a 3D piezoelectric resonator model.</p> <p>As a starting point, I simulated a 1 μm-thick AlN layer on its own and was able to observe a well-defined thickness-extensional mode in the expected frequency range.</p> <p>However, after adding 200 nm molybdenum (Mo) layers on both the top and bottom surfaces of the AlN to represent electrodes, I noticed a significant change. The thickness mode appears to be heavily suppressed, and the resulting mode shapes do not resemble those from the initial AlN-only configuration. Additionally, the output response is much weaker, and the resonant frequency appears to shift outside the previously observed range.</p> <p>Could anyone advise why this behavior occurs? I expected a moderate frequency shift due to the added mass and acoustic impedance of the Mo layers, but not such a drastic change in the mode shape or suppression of the thickness mode altogether.</p> <p>Any guidance or insight would be greatly appreciated.</p> Tue, 15 Jul 2025 19:17:42 +0000 4.2025-07-15 19:17:42.357922 3D dispersion graph AMMs https://www.comsol.com/forum/thread/357911/3d-dispersion-graph-amms?last=2025-07-15T13:16:26Z <p>I am simulating a unit cell of a supposedly acoustic lieb structure in acpr module. I have my 1D band diagram where it is a plot of k vs freq and k is swept between 0 to 3. Now for illustrative purposes I wanted to plot a 3D dispersion diagram but I haven't been able to do it via COMSOL. How can i sweep kx and ky and a 3D surface?</p> Tue, 15 Jul 2025 13:16:26 +0000 4.2025-07-15 13:16:26.357911 solver issue https://www.comsol.com/forum/thread/357081/solver-issue?last=2025-07-15T11:59:30Z <p>for PCM +Air hybrid cooling of battery pack, i enabled conjugate heat transfer module where turbulence physics defined for Air domain and under Heat Transfer in solids and fluids battery defined as solid and pcm as a fluid..selected phase change material under PCM(not sure about PCM setup as i asked earlier doubt.) we are getting results only for the stationary study and getting error for time dependent study.</p> <p>but we require time dependent simulations only...kindly give idea</p> Tue, 15 Jul 2025 11:59:30 +0000 4.2025-07-15 11:59:30.357081 PCM simulation setup in COMSOL Multiphysics. https://www.comsol.com/forum/thread/355881/pcm-simulation-setup-in-comsol-multiphysics?last=2025-07-16T04:30:12Z <p>How to do PCM simulation setup in COMSOL Multiphysics. https://drive.google.com/file/d/1QJDjC4hOGsd8K3qDd_vl-luYoqq_sv8j/view?usp=drive_link</p> <p>My study is cooling of battery cell by using both PCM and air.The cell is covered with cylinder PCM and again it is covered with aluminium casing cylinder.The aluminum casing is cooled by blowing air at some velocities. Here heat transfer takes place from cell to PCM,PCM to alumnium casing and alumiumuin casing to air.I have doubt about PCM simulation setup. Since when PCM melts its density changes and also other property changes with temperature. How to setup the simulation in COMSOL for a natural convection of PCM. when PCM melts, it converts solid into liquid.How to set physics for above problem.</p> Tue, 15 Jul 2025 05:25:56 +0000 4.2025-07-15 05:25:56.355881 Ion tracing through solids https://www.comsol.com/forum/thread/355801/ion-tracing-through-solids?last=2025-07-14T17:17:15Z <p>Hi I am replicating an example in from the https://www.comsol.com/particle-tracing-module. and I want to simulate it with multiple sheets instead of a solid block. So i make the walls transparent and did the simulation but no output waveforms are seen. so can anyone help to let me know if how to do simulation with multiple sheets where charged ions or electrons will pass through it.</p> Mon, 14 Jul 2025 17:17:15 +0000 4.2025-07-14 17:17:15.355801 How to write variables in proper syantax ? https://www.comsol.com/forum/thread/354851/how-to-write-variables-in-proper-syantax?last=2025-07-12T17:25:37Z <p>Respected professor, I am using COMSOL M version 6.0 for my work ,Topology optimization of Heat sink. As I am not expert facing some problems while inputting the parameters. Problems 1} While using Brinkman's equation for topology optimization of heat sink, what are the physics I have to select ? 2] Inverse Permeability, how to write ?</p> <pre><code>α (ρ) = α_min + (α_max - α_min) q(1-ρ)/q+ρ As a variable how can I write in proper syntax α_simp = α_min + (α_max - α_min) comp1.dtopo1(k_simp*ht. q(1-theta^n)/(q+theta^n) Is it correct ? if not please suggest me.I tried but showing error. Thanks </code></pre> Sat, 12 Jul 2025 17:25:37 +0000 4.2025-07-12 17:25:37.354851 Export Results->DerivedValues->System Matrix https://www.comsol.com/forum/thread/354841/export-results-derivedvalues-system-matrix?last=2025-07-12T13:12:50Z <p>Hello!</p> <p>In Study I used Assemble to store or save the Stiffness Matrix in the Solution. In Results->Derived Values->System Matrix the Stiffness Matrix is to big to evaluate it into a Table.</p> <p>Can I directly save or export the Stiffness Matrix into a text-file? I also would try it via Java.</p> <p>A simple Yes would be enough to know that it is possible; I then figure out by myself.</p> <p>Nice Greetings</p> Sat, 12 Jul 2025 13:10:32 +0000 4.2025-07-12 13:10:32.354841 Time-Dependent Heat Transfer/Convection Simulation of a building: Singularity failure https://www.comsol.com/forum/thread/354771/time-dependent-heat-transferconvection-simulation-of-a-building-singularity-failure?last=2025-07-12T12:27:56Z <p>Hello everyone,</p> <p>I'm currently trying to simulate the heating of a building with particular focus on its surroundings, throughout an entire summer day. For this, I am using a 24 hours time-dependent study, including the heat transfer and the laminar flow physics modules. When first approaching this project, I focused on the building heating up due to the sun's irradiation, making use of the heat transfer and the surface-to-surface radiation modules and omitting the laminar flow module. This has worked out fine and yielded usable results.</p> <p>For simplification, I modeled two (outer) walls of a building, a ground floor and the air above. Note that the ground floor and the air are supposed represent the <em>outside</em> of the building.</p> <p>Sadly I encountered severe problems when trying to simulate the convection of the air outside the building. The computation of my current model fails with the error <code>Repeated error test failures. May have reached a singularity.</code>. The error occurs as soon as the temperature of the building walls diverges from its initial values; however given that the building walls "must" heat up over time, I do not know what I need to change in my model to solve this error.</p> <p>I wasn't able to reduce my .mph file to the required &lt; 5 MB in order to upload it. If someone here would like to look at it anyway, I will gladly find another way to upload it somewhere else. For now, I will list the most relevant information below and include another screen shot of my model tree to give a basic idea of my physics module usage.</p> <p>I would be very happy to receive some pointers to where exactly my problems stem from and what I could do to solve them. If someone here has more experience with modeling heating and convection, I finally would like to ask if my particular simulation case could also be approached with the "indirect" convection modeling techniques from <a href="http://www.comsol.com/blogs/modeling-natural-and-forced-convection-in-comsol-multiphysics">Modeling Natural and Forced Convection in COMSOL Multiphysics®</a> or through the <a href="http://doc.comsol.com/5.3/doc/com.comsol.help.comsol/comsol_ref_solver.26.059.html">One-Way Coupled Studies for Nonisothermal Flow</a>.</p> <p>Thank you very much and best regards</p> <p>Luca</p> <p>=============== Additional information: * Irradiated surface temperature: From my previous model using only the ht and rad modules, I recorded the resulting average wall and ground floor surface temperatures throughout the simulated day duration to a table. In my current model, I use this table to statically set the surface temperature for each simulated point of day. I do this over the ht > Boundary Temperature node. The range is from 12 °C to 55 °C. * Distant air temperature: In order to represent the temperature of the surrounding air, I similarly set the surface temperature of the air at the outer edges of my model through a simple diurnal cycle ranging from 12 °C to 27°C. * Mesh: I use a physics-controlled finer mesh. * Study: I use a time-dependent study with the following output times, in seconds except where specified differently: range(0,0.1,1), range(1,1,10) range(10, 30min, 23.5h)</p> Sat, 12 Jul 2025 12:27:56 +0000 4.2025-07-12 12:27:56.354771 Can I change the percentage of the contribution of the plastic strain in phase field damage? https://www.comsol.com/forum/thread/354163/can-i-change-the-percentage-of-the-contribution-of-the-plastic-strain-in-phase-field-damage?last=2025-07-16T06:07:12Z <p>Hi</p> <p>I am trying to build a model to simulate the fracture of a ductile metal. I am trying to use the <em>phase field damage models</em> under <em>solid mechanics interface</em>. When I was checking the user's mannual, I found this description:</p> <p>"<em>By selecting Total strain energy density, additional contributions from dissipative material features, such as creep, plasticity, and viscoelasticity, are added. Select the Calculate energy dissipation checkbox in the parent material model to compute these variables.</em>"</p> <p>For the problem I want to solve, I do need some plastic contribution in the driving force for the phase field interface evolution. However, usually only 10% of the plastic work is considered to be stored in the material and is available for creating new surfaces, the rest of it is considered dissipated through heat.</p> <p>I am wondering if I select the* Total strain energy density*, and select the <em>Calculate energy dissipation</em> checkbox, the how much of the plastic contribution is taken into account by COMSOL? Is it all of it? If so, how could I regulate the model to have only 10% of the total plastic work to contribute in the phase field damage driving force?</p> <p>best wishes Runzi</p> Sat, 12 Jul 2025 09:22:32 +0000 4.2025-07-12 09:22:32.354163 Ignoring or excluding mesh in some regions while being able to simulate https://www.comsol.com/forum/thread/354161/ignoring-or-excluding-mesh-in-some-regions-while-being-able-to-simulate?last=2025-07-12T18:44:26Z <p>I wanted to ask if it is possible to exclude some regions when modeling the mesh for a large or complex system.</p> <p>For example, modeling a micro antenna with centimeter-size wires is too dense a mesh to model. Along with the air region around.</p> <p>So i wanted to see if one could ignore some regions that are unimportant, so as to save space and time, whilst still simulating somehow.</p> Fri, 11 Jul 2025 17:58:27 +0000 4.2025-07-11 17:58:27.354161 Update version from 6.2 to 6.3 https://www.comsol.com/forum/thread/354151/update-version-from-62-to-63?last=2025-07-11T16:08:19Z <p>Hello,</p> <p>I cant install the version 6.3 of Comsol, when i attach the .dat file as a license path, an error appears saying:</p> <p>The license could not be validated, please contact support@comsol.com for assistance and include the error message below and a copy of the license file.</p> <p>License file does not support this version. Feature: SERIAL Application version > License version: 6.3 > 6.2 License path: C:\Users\Mattia\AppData\Local\Temp\cscomsol84494\comsol18049980329219368361.dat; FlexNet Licensing error:-21,126</p> Fri, 11 Jul 2025 14:07:53 +0000 4.2025-07-11 14:07:53.354151 Phase change from powder to liquid and back to solid https://www.comsol.com/forum/thread/354141/phase-change-from-powder-to-liquid-and-back-to-solid?last=2025-07-11T17:23:35Z <p>Hi everyone, I am simulating Laser Powder Bed Fusion (LPBF) process and have modelled powder layer as a continuous-scale. I have coupled heat transfer in solid and fluids with laminar flow. I want to know how I can model the phase change for powder as it will first melt to liquid and then will solidify into solid. I want to know how to do this in COMSOL. Using phase change would convert back it to the same material. So, how to make it one way such that it first converts the powder into liquid and later liquid is converted to solid. More information: Properties like density, thermal conductivity and specific heat capacity of powder layer properties is defined as an average of air and solid based on volume fraction.</p> Fri, 11 Jul 2025 13:16:47 +0000 4.2025-07-11 13:16:47.354141 Computing second-order derivative of Temperature field https://www.comsol.com/forum/thread/353971/computing-second-order-derivative-of-temperature-field?last=2025-07-11T11:54:47Z <p>I am working on a circular domain defined in 2D. I need to compute the angular derivative of the temperature, basically I want to compute:.</p> <p><img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAvCAQAAAAYqRGLAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBxIMOgCZHITzAAAC7klEQVRYw+2Y7ZGbMBCGn81cA0oJakEt6ErAJXAl4BJwCbgEpwRTginBlGCXsPkhLAMWYJybJJPcajwD0n5oPyT2tSi/n94+R404Mq5Ydto+wa4vDjw2PhuKbu6MWZaVVHjFzu9Xciw1Fs9OGxDPUQVAlHetQQxFUrTVfcJTLCXHWR8zXPSw8wzfvWtYo+CAxyhkKGUXh4pK0aFRHCUFpwWjvXXKoDC+Vd3TIc4V6C0R2MA9KCRtCMGapx394Edu8Rj9COmhjuuONiarm3+hevXH4NXF+vX6IQajLZ47T/+ZsN0XjIolB2rc3R9xWN0CnhZ035s3NHG7N/5Ezo5zOcVxijnKOXJSsFxuDCPuXkbv49tqL49sY46ueBrQVr+rhDES6Gc00kqjFLRaD2bqWX6fWl9lVAz5QInjOiqrIf8go6966mCgJGM/y+/TkVhn9Nr9gh85sFvYZJu6UFcZ1YYW05m0FGz0Oivg0xkfnVMpMTiQiiv7xC43VAJXLBkbbZggybF4DF5K0O1ode1HXAweR631SsFfMfoZtPacfhn9Mvr3GB23SenR9UEv96v3cZxsQf/J8P4Ro5ON2XPoRHz647WgY6L9egKdkFPiyTncOv6IEErKOR3T8Egjg38WXChYThiFknxax3SrOUInz4ELjuTdzGFax8KxuqOTaU8VSk5dwM9x5jitY7bDv6OTR0qCi+KxUUvpeItVhm7F44Fd6HwG6ORxQw/gQjJsxC0phDOsXgqFMyUOy6WrOUc2DuMCuKi44LtxoZzW8QaSUQOWVhsx7Nl38MEEjPAAFcLqZgAu9oCn6YCjwdDM6Ag1di/vZwZVKJxYUkqmoKFyFQous/KP1bZo0qAj/H0J244n9zRV88PqdUz2sA80CS5CHywWx2ZWw/y9k/TU9bnJw32EifdP1Y/DZHjXZVThHKpSwXKOQQ3GXT/fc+Ed/i+wTGlwsaWQhoz3JXFRQAwsQKGxWBJciIVn/qb7f9qVn/T9daqPWHE0AAAALXRFWHRpY2M6Y29weXJpZ2h0AENvcHlyaWdodCBBcnRpZmV4IFNvZnR3YXJlIDIwMTEIusW0AAAAMXRFWHRpY2M6ZGVzY3JpcHRpb24AQXJ0aWZleCBTb2Z0d2FyZSBzUkdCIElDQyBQcm9maWxlEwwBhgAAACF0RVh0cHM6SGlSZXNCb3VuZGluZ0JveAAzNXgyOCsyODgrNjI22KoFfAAAAB50RVh0cHM6TGV2ZWwAUFMtQWRvYmUtMi4wIEVQU0YtMi4wQfkzEwAAAABJRU5ErkJggg==" /></p> <p>For this, I have used the following transformation from Cartesian to Polar coordinates:</p> <p><img class="latexImg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1IAAAAtCAQAAAAOs5IFAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAHgAAAB4AJ31WmAAAAAHdElNRQfpBxIMOgHuG7RlAAANjUlEQVR42u2d4ZWjuBKFP+3ZBNgQe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71c/t0Q5yr20lLLWj0e+gr14tAoFAIBB48Rd0tWiX33juoDLMAvYFjX5XJUMtqCqgtLtAIBAIBAsYyiItVU5mJIkh25d817dCgQUvz3ZMIBAIBN8fQ4HZ4JkUTfcf0NXOfWU8bO02q9QnEAgEgv80uplUwF6ePfRFXfta5Dk7XnQDulFXlelGFRT6x7PdEggEAsGfgH4JetRTpBeOChpyKl76WrV7dupCxUY77woEAoHgv47by7xhe1AOzTJKCiZ7Pqkc5EafQCAQCLbC/wG8NfYQb5bHrgAAAC10RVh0aWNjOmNvcHlyaWdodABDb3B5cmlnaHQgQXJ0aWZleCBTb2Z0d2FyZSAyMDExCLrFtAAAADF0RVh0aWNjOmRlc2NyaXB0aW9uAEFydGlmZXggU29mdHdhcmUgc1JHQiBJQ0MgUHJvZmlsZRMMAYYAAAAidEVYdHBzOkhpUmVzQm91bmRpbmdCb3gANTEweDI3KzExMSs2MTWr9zw0AAAAHnRFWHRwczpMZXZlbABQUy1BZG9iZS0yLjAgRVBTRi0yLjBB+TMTAAAAAElFTkSuQmCC" /></p> <p>I have tried to:</p> <pre><code>Change the frame from spatial to Material Change the shape function for discretization. refine the curvature factor. </code></pre> <p>But I still do not get the accurate result. Can somebody explain me how can I fix this?</p> <p>Thanks in advance!</p> Fri, 11 Jul 2025 11:52:58 +0000 4.2025-07-11 11:52:58.353971 Exporting data from COMSOL while computing electric field magnitude and direction in an electrospinning machine https://www.comsol.com/forum/thread/353612/exporting-data-from-comsol-while-computing-electric-field-magnitude-and-direction-in-an-electrospinning-machine?last=2025-07-10T14:49:05Z <p>I am building a simulation of an electrospinning machine on COMSOL, and my objective is to study the electric field magnitude and direction within the machine. I would like to export the magnitude data that shows on a 1D plot. Is there a way to obtain a table of values that I can open in Microsoft Word, Excel, or another similar platform?</p> Thu, 10 Jul 2025 14:49:05 +0000 4.2025-07-10 14:49:05.353612 COMSOL not using all memory available https://www.comsol.com/forum/thread/353602/comsol-not-using-all-memory-available?last=2025-07-11T18:43:29Z <p>Hello,</p> <p>I was trying to run a COMSOL simulation and it would always go over the available amount of RAM and start using Virtual Memory, which was extremely slow. Therefore, I bought more RAM (went from 64gb to 128gb), but COMSOL doesn't seem to want to use the full amount it has available. Indeed, once it reaches 64gb, it starts to write on the disk again even though there is still twice as much RAM available. Thinking that this was because COMSOL didn't "recognize" that there is more RAM, a clean install was done of COMSOL MultiPhysics, but this didn't solve the problem. Furthermore, I also tried to disable the use of Virtual Memory to force COMSOL to use the available RAM, but the simulation ends when COMSOL reaches the 64gb mark, with an error saying that there wasn't enough memory.</p> <p>Why does COMSOL not use the full amount of RAM available?</p> <p>Thanks in advance for your help!</p> <p>Marek</p> Thu, 10 Jul 2025 14:27:36 +0000 4.2025-07-10 14:27:36.353602