## 3 Approaches to Modeling Moving Loads and Constraints in COMSOL®

##### Walter Frei October 22, 2018

One of the core strengths of the COMSOL Multiphysics® software is the ability to easily define loads and constraints that move over time. There are actually several different ways in which this can be done, all within the core functionality of the software. In today’s blog post, we will guide you through three of these approaches.

Lire la Suite##### Temesgen Kindo October 16, 2018

Have you ever wanted to add a certain boundary or domain condition to a physics problem but couldn’t find a built-in feature? Today, we will show you how to implement nonstandard constraints using the so-called weak contributions. Weak contributions are, in fact, what the software internally uses to apply the built-in domain and boundary conditions. They provide a flexible and physics-independent way to extend the applicability of the COMSOL Multiphysics® software.

Lire la Suite##### Harishanker Gajendran September 27, 2018

In a previous blog series on the weak formulation, my colleague Chien Liu introduced the weak form for stationary problems and the methodology to implement it in the COMSOL Multiphysics® software. This blog post is an extension of the weak form series, showing how to solve a time-dependent problem using the Weak Form PDE interface. As you will see, not much changes in the procedure. Allow us to demonstrate…

Lire la Suite##### Temesgen Kindo September 21, 2018

We previously discussed how to solve 1D variational problems with the COMSOL Multiphysics® software and implement complex domain and boundary conditions using a unified constraint enforcement framework. Here, we extend the discussion to multiple dimensions, higher-order derivatives, and multiple unknowns with what we hope will be an enjoyable example: variational image denoising. We conclude this blog series on variational problems with some recommendations for further study.

Lire la Suite##### Temesgen Kindo September 17, 2018

How do you find the shortest overland distance between two points across a lake? Such obstacles and bounds on solutions are often called inequality constraints. Requirements for nonnegativity of gaps between objects in contact mechanics, species concentrations in chemistry, and population in ecology are some examples of inequality constraints. Previously in this series, we discussed equality constraints on variational problems. Today, we will show you how to implement inequality constraints when using equation-based modeling in COMSOL Multiphysics®.

Lire la Suite##### Temesgen Kindo September 11, 2018

In the first part of this blog series, we discussed how to solve variational problems with simple boundary conditions. Next, we proceeded to more sophisticated constraints and used Lagrange multipliers to set up equivalent unconstrained problems. Today, we focus on the numerical aspects of constraint enforcement. The method of Lagrange multipliers is theoretically exact, yet its use in numerical solutions poses some challenges. We will go over these challenges and show two mitigation strategies: the penalty and augmented Lagrangian methods.

Lire la Suite##### Temesgen Kindo September 7, 2018

In the first part of this blog series, we discussed variational problems and demonstrated how to solve them using the COMSOL Multiphysics® software. In that case, we used simple built-in boundary conditions. Today, we will discuss more general boundary conditions and constraints. We will also show how to implement these boundary conditions and constraints in the COMSOL® software using the same variational problem from Part 1: (the soap film) — and just as much math.

Lire la Suite##### Temesgen Kindo September 4, 2018

What do soap films, catenary cables, and light beams have in common? They behave in ways that minimize certain quantities. Such problems are prevalent in science and engineering fields such as biology, economics, elasticity theory, material science, and image processing. You can simulate many such problems using the built-in physics interfaces in the COMSOL Multiphysics® software, but in this blog series, we will show you how to solve variational problems using the equation-based modeling features.

Lire la Suite##### Christian Wollblad June 13, 2018

We have already discussed the factors that make a high-quality mesh and how to prepare a CFD model geometry for meshing. In this follow-up blog post, learn about physics-controlled meshing, adaptive mesh refinement, and how to use a variety of meshing tools in the COMSOL Multiphysics® software for your fluid flow simulations.

Lire la Suite##### Pär Persson Mattsson June 12, 2018

In a previous blog post, we explained how to run a job from the COMSOL Multiphysics® software on clusters directly from the COMSOL Desktop® environment, without any interaction with a Linux® operating system terminal. Since this terminal is sometimes treated with excessive respect, the ability to start a cluster job directly from the graphical user interface is one of the most useful features in the COMSOL® software. Plus, there’s more to it… Enter the Cluster Sweep node.

Lire la Suite##### Christian Wollblad June 11, 2018

The quality of a computational fluid dynamics (CFD) model is often determined by the quality of the mesh used to solve the problem. A good mesh facilitates convergence, reduces memory requirements, and results in accurate solutions. It is therefore worthwhile to invest time and thought into creating the mesh when solving a CFD problem. In this blog post, we describe the factors of a quality mesh and how to prepare a fluid flow model geometry for meshing.

Lire la Suite