The Application Gallery features COMSOL Multiphysics® tutorial and demo app files pertinent to the electrical, structural, acoustics, fluid, heat, and chemical disciplines. You can use these examples as a starting point for your own simulation work by downloading the tutorial model or demo app file and its accompanying instructions.
Search for tutorials and apps relevant to your area of expertise via the Quick Search feature. Note that many of the examples featured here can also be accessed via the Application Libraries that are built into the COMSOL Multiphysics® software and available from the File menu.
This tutorial uses a “black-box” approach to define a battery model based on a small set of lumped parameters, assuming no knowledge of the internal structure or design of the battery electrodes, or choice of materials. The input to the model is the battery capacity, the initial state ... Read More
A surface mount resistor is subjected to thermal cycling. The difference in the thermal expansion of different materials will introduce stresses in the structure. The solder which connects the resistor with the printed circuit board is seen as the weakest link in the assembly. It ... Read More
A magnetic brake consists of a permanent magnet, which induces currents in a rotating copper disk. The resulting eddy currents interact with the magnetic flux to produce Lorentz forces and subsequently a braking torque. This 3D problem is solved using a stationary formulation for the ... Read More
A capacitor with an applied sinusoidally time-varying voltage difference is modeled. A wide frequency range is considered and the impedance of the device is computed. Solver accuracy is addressed. The relationship between the frequency domain impedance and the steady-state capacitance ... Read More
The Black-Scholes equation, computes the value u of a European stock option. Black-Scholes derived an analytical expression for the solution to this problem. However, the formula works only for certain cases; for instance, you cannot employ it when sigma and r are functions of x and t. ... Read More
As oil flows through a pipeline section heat is released due to the work of internal friction forces in the fluid. With good insulation of the pipeline, this generated heat can be used to avoid preheating of the oil, despite the fact that it is to be transported in a cold environment ... Read More
This example solves for the temperature distribution inside a vacuum flask holding hot coffee. The main purpose is to illustrate how to use MATLAB functions to define material properties and boundary conditions. Read More
Lithium-ion batteries can have multiple active materials in both the positive and negative electrodes. For example, the positive electrode can have a mix of active materials. These materials can have different design properties (volume fraction, particle size), thermodynamic properties ... Read More
In this example, the structural integrity of a cylinder made by a fiber composite is assessed both at the macroscale and at the microscale level. Along with macroscale analyses, structural composites need microscale stress and failure analyses to identify the critical constituents in ... Read More
This model shows how to analyze a tuning fork based piezoelectric rate gyroscope. The reverse piezoelectric effect is used to drive an in-plane tuning fork mode. This mode is coupled to an out of plane mode by the Coriolis force and the resulting out of plane motion is sensed by the ... Read More
