COMSOL TUTORIAL - FOOD UNDER FREEZING
In this video tutorial, a piece of food in a freezing chamber is used to illustrate how to model a problem in COMSOL v5.2. The entire procedure is covered; it means, defining the geometry, materials, initial and boundary conditions, mesh, solver settings and post-processing. The simulation is transient and involves a solid composed of two different materials (one built-in and one defined by the user). Further details about the freezing process can be found in Cornejo et al. 2016.
1. Stating the problem.
2. Defining the geometry.
3. Selecting the materials.
4. Setting the initial and boundary conditions.
5. Discretizing the domain (mesh).
6. Setting the solver.
7. Post-processing and analyzing the results.
Part 1: Stating the problem.
A general insight into the problem is provided. The main objective, geometry, materials and similar of the simulation are outlined
Part 2: Defining the geometry.
The geometry is drawn in COMSOL. Symmetry is used, the two bodies of the domain are defined.
Part 3: Selecting the materials.
Two materials are used, one for each part of the domain. The first material is a built-in one. The second is not in the COMSOL database, so, it is manually added.
Part 4: Setting the initial and boundary conditions.
This is a transient simulation, so, it is necessary to specify the initial conditions in addition to those for the boundaries.
Part 5: Discretizing the domain (mesh).
COMSOL uses FVM, so, the domain which was already defined, is split into a series of finite elements. Especial attention is paid to the size of the elements and settings controlling the mesh size
Part 6: Setting the solver.
The order of the elements, timestep, total time of the simulation and other settings are specified in the software.
Part 7: Post-processing and analyzing the results.
Once the simulation has finished, then the results are colected and the resulting data for different parts of the domain is analyzed.