Imagine you have two 3D PDE to solve by COMSOL. The answer of first one will later replace as position dependent variable in second physics. There is two option. One way to do that is to export the answer from “Data Export” as a txt file and later import it in second COMSOL model by “interpolation”. Other way is to have two physics in one model and connect them by “Value of variable not solved for “in the sitting of “study”. Unfortunately, there is problem with first way and the result at the end is not same. For some reason I have to do the first option. When I import the data in second model and got the plot from the “interpolation” window everything is fine. After I noticed the answer is not what it supposed to be, I tried to plot the imported variable on “Results” from “solution2“ and I found that there is a hell of difference between what I imported and what is read from those data.  I don’t need interpolation. I will use same mesh. Therefore I just need to import a 3D variable correctly. The imported data is quite nonlinear.

I would appreciate if anybody give me a suggestion about either importing 3D variable without interpolation or solving this problem?

More Vahid Mosallanejad's questions See All
Similar questions and discussions