The Application Gallery features COMSOL Multiphysics tutorial and demo app files pertinent to the electrical, mechanical, fluid, and chemical disciplines. You can download ready-to-use tutorial models and demo apps with step-by-step instructions for how to create them yourself. The examples in the gallery serve as a great starting point for your own simulation work.

Use the Quick Search to find tutorials and apps relevant to your area of expertise. Log in or create a COMSOL Access account that is associated with a valid COMSOL license to download the MPH-files.


Dynamics of a Gyroscope

Gyroscopes are used for measuring the orientation or maintaining the stability of airplanes, spacecraft, and submarines vehicles in general. They are also used as sensors in inertial guidance systems. This model demonstrates the modeling of a mechanical gyroscope. It analyzes the response of the spinning disc to an external torque coming on the disc due to the rotation of the frame. It is ...

Andrew's Squeezing Mechanism

This is a benchmark model for rigid body dynamics. This model simulates the dynamic behavior of "Andrew’s squeezing mechanism", which is force driven and requires a very small time scale. Various angles in the mechanism are compared with the results from the reference.

Optimization of a Crane Link Mechanism

In complex mechanical systems, it can be challenging to find an optimal (or even good enough) solution only through engineering insight or trial-and-error procedures. Using mathematical optimization methods can then be an efficient path to a better design. In this example, a link mechanism in a crane modeled in the Multibody Dynamics module is optimized using the Optimization module. The target ...

Helicopter Swashplate Mechanism

This model illustrates the operation of a swashplate mechanism used in helicopters to translate the input of helicopter flight control into the motion of the rotor blades, and hence controls the orientation of the rotor blades. In this model, the rotor blades are modeled as either rigid bodies or flexible bodies in two different cases. All other components are assumed to be rigid bodies. Stress ...

Centrifugal Governor Simulator

Centrifugal governors, a specific type of governor, control the speed of an engine by regulating the amount of admitted fuel. In order to maintain a near-constant speed, regardless of the load or fuel supply conditions, centrifugal governors use the principle of proportional control. While the governor is in operation, it is critical that it quickly reaches a new steady-state configuration. ...

Simulating the Motion of a Bicycle on a Flat Surface

This model demonstrates the motion of a bicycle with a hands-free rider when given an initial forward velocity and perturbed with a lean about the forward axis. This is implemented through the Multibody Dynamics module in COMSOL. The wheels of the bicycle have been modelled assuming knife-edge contact with the ground and pure rolling constraints have been implemented. Stability analysis was ...

Spring Loaded Centrifugal Governor

A centrifugal governor is used to control the speed of rotating machinery. One of the most common applications is in controlling the RPM of an engine by regulating the fuel supply. This model illustrates the functioning of a spring loaded centrifugal governor. The dynamics of the governor are analyzed under the influence of a centrifugal force, spring force, and damping force. The sleeve ...

Four-Bar Mechanism with Assembly Defect

This is a benchmark model for flexible multibody dynamics. This model simulates the dynamic behavior of a planar four-bar mechanism when one of the joints has a defect. The out-of-plane motion in the mechanism, caused by the defect in the joint, is compared with the results from the reference.

Simulation of Shock Absorber in Landing Gear

This model simulates the dynamics of the shock absorber used in a landing gear mechanism of an aircraft. It analyses the stresses, as well as the heat generated in the landing gear components due to the energy dissipated in the shock absorber. A prismatic joint, with spring and damper, is used to model the shock absorber assembly.

Assembly with a Hinge Joint

This example illustrates how to model a barrel hinge connecting two solid objects in an assembly. In this model, the details of the connection are not the focus of the analysis, therefore, the hinge joint is modeled using a Joint feature in the Multibody Dynamics Module. The connected parts can be either rigid or flexible or a combination as shown in this model.