This is a template MPH-file containing the physics interfaces and the parameterized geometry for LiveLink™ for MATLAB® modeling example.
This model simulates convective heat transfer in a channel filled with water. To reduce memory requirements, the model is solved repeatedly on a pseudo-periodic section of the channel. Each solution corresponds to a different section, and before each solution step the temperature at the outlet boundary from the previous solution is mapped to the inlet boundary.
This model illustrates how to simulate a periodic homogenization process in a space dependent chemical reactor model. This homogenization removes concentration gradients in the reactor at a set time interval. The model demonstrates a technique by which you can first stop the time-dependent solver, then restart it with an initial value obtained based on the solution.
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.
Heating of an object from alternating regions is one example where the modeling technique of activating and deactivating physics on domains can be useful. This model demonstrates how you can apply this technique using LiveLink™ for MATLAB®.