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

confusion between comsol 3.5a and 4.3a

$
0
0
hello everyone,

It might be a noob question, but could anyone please tell me how this should work in comsol 4.3a.

So in comsol 3.5a in order to save the normalized electric field i just did this:

created the mesh:

x1=0:1.5e-9:150e-9;
y1=0:1.5e-9:150e-9;
z1=-150e-9:1.5e-9:150e-9;


Then had the export function (comsol_feldexport) as .m file which had the inerpolation done with postinterp.

After that, i saved the field at the grid points by using the following line:

results = comsol_feldexport(fem,filename,x1,y1,z1);

After that I had my fields and i was all happy.

I do not know how i could access fem anymore in comsol 4.3a, as after solving the Mfile, I only get 'ans' in the workspace and fem is not there anymore.

Please let me know if you have any information.

thanks in advance,

Viewing all articles
Browse latest Browse all 26527

Trending Articles