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.7H781.2M686 942.2H835.8M498 961.3H606.5M498 1114.1H752.3' class='g1'/%3E%0A%3C/svg%3E)
J. Adv. Educ. Sci. Humanit. (July - December 2026) 4(2): 15-22 21
The case study results demonstrate that the proposed me-
thodology qualitatively transforms the types of parametric
analyses that can be feasibly conducted in COMSOL. The
reduction in configuration time of more than 95% is not me-
rely a matter of convenience; it enables design studies invol-
ving a number of variants that would be impractical under
a manual workflow. This creates opportunities to integrate
the framework with gradient-based, evolutionary, or Baye-
sian optimization algorithms, which require the evaluation
of hundreds or thousands of configurations.
From a software engineering perspective, the modular ar-
chitecture of the framework complies with the SOLID prin-
ciples. Each module has a single responsibility, in accordan-
ce with the Single Responsibility Principle (SRP); modules
can be extended without modifying existing ones, as esta-
blished by the Open–Closed Principle (OCP); and replacing
one module—for example, changing the type of physics in
M3 or the solver in M4—does not affect the others. This ar-
chitecture facilitates the reuse of the framework in new en-
gineering fields.
The mixed-meshing strategy presented in Section 3.4.1
is particularly relevant for models with kinematically he-
terogeneous domains, a common situation in biomechanics
involving soft and rigid tissues, fluid–structure interaction,
and manufacturing processes involving material deforma-
tion. The implementation of three mesh types—fixed, adap-
tive, and moving—within the same model, together with the
appropriate Dirichlet boundary conditions for domains un-
dergoing displacement, is a solution not documented in stan-
dard COMSOL tutorials and represents one of the technical
contributions of this study.
One limitation of the current implementation is that inte-
ractive data entry using (input()) is unsuitable for integration
with optimization algorithms. A natural extension would be
to replace M1 with an interface capable of reading configu-
ration files in formats such as JSON, YAML, or Excel, and
to encapsulate the entire framework as a MATLAB® func-
tion with the signature `f(params) → results`. This structure
would be compatible with the objective functions used by
MATLAB® optimization toolboxes, including `fmincon`,
`ga`, and `surrogateopt`.
Conclusions
The methodology presented and the results of the case
study support several conclusions. First, a four-module
methodology was formalized to fully automate the COM-
SOL Multiphysics® modeling cycle through MATLAB®
LiveLink™. This framework documents reusable coding
patterns and the numerical quality considerations associated
with each module. The exclusive use of parameters in geo-
metric construction, implemented in Module M2, ensures
consistency among model variants and eliminates the human
errors associated with manual workflows. In the case study,
this approach reduced model configuration time by more
than 95%. The proposed mixed-meshing strategy—combin-
ing fixed, adaptive with Laplacian smoothing, and moving
meshes—successfully addresses the coexistence of domains
with different kinematic regimes within a single multiphys-
ics model. The strategy achieved an average mesh quality
of q = 0.73 in the case study. The modular architecture of
the automation framework is transferable to any engineering
field requiring parametric analysis in COMSOL Multiphys-
ics®, regardless of the type of physics involved, the dimen-
sionality of the problem, or the solver employed. Finally, ex-
tending the framework toward automatic optimization using
gradient-based, evolutionary, or Bayesian search algorithms
would require only the replacement of Module M1 with a
function interface compatible with MATLAB® optimization
toolboxes. This development represents the main direction
for future work.
References
Bódis, E., Tapasztó, O., Károly, Z., Balázsi, K. y Balázsi, C.
(2022). Fabrication of graded alumina by spark plasma
sintering. The International Journal of Advanced Manu-
facturing Technology, 118(9–10), 3519–3528. https://
doi.org/10.1007/s00170-021-07855-0
Chen, H., Wei, X., Liang, Z., Zhou, J., Li, Y. y Xie, Z. (2024).
Numerical simulation of heat transfer during spark plas-
ma sintering of porous SiC. Ceramics International,
50(9), 15 680–15 691. https://doi.org/10.1016/j.cera-
mint.2024.02.097
COMSOL AB (2023). COMSOL Multiphysics® Reference
Manual, v6.2. Stockholm: COMSOL AB. https://doc.
comsol.com/6.2
COMSOL AB (2023). LiveLink™ for MATLAB® User’s
Guide, v6.2. Stockholm: COMSOL AB. https://doc.
comsol.com/6.2/doc/com.comsol.help.llmatlab
El Fallaki Idrissi, M., Praud, F., Meraghni, F., Chinesta, F. y
Chatzigeorgiou, G. (2025). Generative parametric de-
sign: a framework for real-time geometry generation and
on-the-fly multiparametric approximation. Engineering
with Computers (en prensa). https://doi.org/10.48550/
arXiv.2512.11748
Govea Alcaide, E. et al. (2014). Simulación por MEF del pro-
ceso de sinterización por Spark Plasma de un óxido ce-
rámico no conductor. Revista Cubana de Física, 31(1E),
E33–E37.
Li, M., Lin, C., Chen, W., Liu, Y., Gao, S. y Zou, Q. (2023).
XVoxel-based parametric design optimization of fea-
ture models. Computer-Aided Design, 161, 103546.
https://doi.org/10.1016/j.cad.2023.103546
Li, Q., Wang, L., Mohebbi, M.S. y Evans, A.G. (2023). Ul-
tra-large temperature gradient in field-assisted sintering
for functionally graded materials. Acta Materialia, 254,