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

How to assign a parameter to each grid cell by COMSOL with MATLAB?

$
0
0
For example, in Darcy model, in order to realize heterogeneity for model, different permeability parameters which may satisfy a kind of distribution function should be assigned to each grid cell. How to call the grid information to assign value by COMSOL with MATLAB before calculation. In attach file, 'heterogeneity1.m' is a m. file for a simple PDE model and parameter k is permeability metioned above. The grid information is give in 'mesh.m'. Thanks for your attention!

Viewing all articles
Browse latest Browse all 428

Trending Articles



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