Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

[Q] a functional MATLAB file based on COMSOL parametric model

$
0
0
Hi
I’m new to COMSOL and for now using COMSOL 4.2 with MATLAB 2010b, trying to build a CFD model of a PEM fuel cell in COMSOL and optimize it’s channel parameters using MATLAB. As you know, to use MATLAB optimization methods, we need a parametric function of the model, for example, for the fuel cell, I need a functional M.File for output voltage, which is a function of Length, width and height of the channels.
I did some initial experiment with the first demo of COMSOL, the busbar, it’s easy to export the model to MATLAB and work with it, but it’s based on specific value for every parameter not a variable
can someone please explain me how to create a model base on some variable not a specific value. Unfortunately, I didn’t manage to find a demo or tutorial on it.
Many thanks in advance

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>