Studies & Solvers Blog Posts
How to Automate Physics Choices and Studies Using Model Methods
The ability to create and use methods in COMSOL Multiphysics® is useful for automating your modeling processes, such as choosing physics and studies.
Exploiting Maximum Principles to Save Time and Resources
By exploiting maximum principles in large and complex models, you will save time and computational resources without having to buy a bigger computer or leave your model to solve overnight.
How to Run Simulations in Batch Mode from the Command Line
Do you find yourself creating new models in the COMSOL Multiphysics® software faster than you can launch them interactively in the COMSOL Desktop® environment? If having to wait for your current model to finish solving before launching the next one does not sound appealing, it’s time to learn how to run your simulations in Batch mode from the command line. As it turns out, this is quite a simple process.
Using the Domain Decomposition Solver for Thermoviscous Acoustics
In a recent blog post, we discussed how to use the Domain Decomposition solver for computing large problems in the COMSOL Multiphysics® software and parallelizing computations on clusters. We show how to save memory by a spatial decomposition of the degrees of freedom on clusters and single-node computers with the Recompute and clear option. To further illustrate the Domain Decomposition solver and highlight reduced memory usage, let’s look at a thermoviscous acoustics problem: simulating the transfer impedance of a perforate.
Using the Domain Decomposition Solver in COMSOL Multiphysics®
The Domain Decomposition solver is a memory-efficient iterative algorithm with inherent parallelism on the geometric level. We can use this method to compute large modeling problems that can’t be solved with other direct or iterative methods. This solver’s primary field of application is on clusters, but it can also enable the solution of large problems on laptops and workstations. Let’s see how to use this functionality in the COMSOL Multiphysics® software.
Minimize Your Model File Size with Storing Solution Techniques
A COMSOL Multiphysics® simulation typically includes one or more field quantities in its output. Depending on the number of field quantities, the geometry’s complexity, and the mesh density required for valid results, simulations can include millions of degrees of freedom (DOFs). Oftentimes, storing one or more scalar quantities or the results on a small geometry part is sufficient. Here, we explore tools for storing selected output quantities and minimizing model file sizes and the time required to display this data.
Plotting the Algebraic Residual to Study Model Convergence
You can use the residual operator, new with COMSOL Multiphysics version 5.2, to evaluate and plot your model’s algebraic residual in order to troubleshoot convergence issues. This blog post demonstrates the use of the residual operator for visualizing and understanding the convergence properties of a turbulent flow simulation.
The Power of the Batch Sweep
Have you ever run a large parametric sweep overnight, only to discover the next morning that the parametric solver is still not finished? You may wish you could inspect the solutions for the parameters that are already computed while waiting for the last few parameters to converge. The remedy to this problem is to use a batch sweep, which automatically saves the parametric solutions that were already computed on a file that you can open for visualization and postprocessing purposes.
- COMSOL Now
- Today in Science