All Solutions

Running parametric sweeps, batch sweeps, and cluster sweeps from the command line

Solution Number: 1250 Versions: All versions

This solution describes how to launch a parametric sweep, a batch sweep, or a cluster sweep simulation in COMSOL Multiphysics® from the command line. ## Short Summary Model methods are presented as a concept to ...


"Data access entity removed" occurs in my application

Solution Number: 1247 Versions: All versions

When running my application, I get the error "Data access entity removed". If a node is removed, Data Access to the node becomes invalidated. In general this error occurs if nodes used in Data Access are explicitly ...


Solving Models with Step Changes to Loads in Time

Solution Number: 1245 Versions: All versions

How should I model loads that change magnitude at a particular time? I am solving a transient model which has loads that change instantaneously in time, but the solver appears to be missing some of these changes in ...


Out of Memory

Solution Number: 1243 Versions: All versions

The error "Out of Memory" occurs. Of the available memory (RAM and virtual memory), one section, the Java heap, is reserved for Java. The rest of the memory will be available for meshing and solving. If you receive the ...


Unexpected Error Thrown by the Method Editor

Solution Number: 1242 Applies to: COMSOL Multiphysics, COMSOL Server Versions: All versions

I run COMSOL Multiphysics on Windows 7. When trying to access the Method Editor in the Application Builder, I get an unexpected error. When opening the log file, the top of the stack trace looks like this: 2018-01 ...


Two-Phase Flow Modeling Guidelines

Solution Number: 1239 Applies to: CFD Module, Microfluidics Module Versions: All versions

My model includes Two-Phase Flow, Level Set or the Two-Phase Flow, Phase Field interface and it is either not converging, taking a very long time to solve, or not converging to a reasonable result. This article ...


Manually Setting the Scaling of Variables

Solution Number: 1240 Versions: All versions

The default behavior of the software is to assume a different scaling for each set of variables in your model. These scale factors are by default automatically determined, but sometimes may need to be manually tuned. ...


Reducing the size of your COMSOL Multiphysics file

Solution Number: 1238 Versions: All versions

I would like to reduce the size of my COMSOL Multiphysics model file. There are several things that you can do to reduce the file size: First, COMSOL saves files in either a compressed or uncompressed state. You can ...


Problems Launching COMSOL Server™ 5.3 with MATLAB®

Solution Number: 1236 Applies to: COMSOL Server Versions: 5.3

In Windows®: I have a COMSOL Server™ License with LiveLink™ for MATLAB®. When attempting to launch LiveLink™ for MATLAB® using the desktop icon COMSOL Server 5.3 with MATLAB, COMSOL Server™ starts listening correctly ...


An error is returned when running mphlaunch and mphstart

Solution Number: 1234 Versions: 5.3

If the COMSOL 5.3 installation path contains a space, an error is returned when running the functions mphstart and mphlaunch at the MATLAB prompt. The error returned when running mphlaunch is: 'C:\Program' is not ...