does anyone know how to connect comsol (5.3 and above) to tecplot software. there is a code available but can someone define how it works step by step?
I presume that you are using Los Alamos Lab code. If you are using version 2, then you need to make sure that you have LiveLink for MATLAB and remember that only 3-D stationary studies can be read.
The code is basically a MATLAB function and you need to have the below variables:
mph_dir mph file directory path
mph_name mph file name
dat_dir datafile directory path
dat_name datafile prefix name
once you set the directory and file name, the code it will change the mph format to ascii
I used Los Alamos code and it worked fine for me. I'm not sure if there are other codes which could do what you want, you can also write a code using the MATLAB code as an example.
I wrote a code in FORTRAN for that. You can do the same using either MATLAB or FORTRAN ( I would suggest FORTRAN or even Python due to several reasons). If you still need this thing, I would gladly share the code and procedure with you. Just send me your email and I send the .f90 code to you.