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!
↧