Submitted Questions wrote
Is it possible to export/import simulated transient 3D temperature fields from FEATool Multiphysics directly into MATLAB for postprocessing in MATLAB?
Yes, sure there are a few ways to export FEATool (.fea) model data into MATLAB.
1) First and maybe easiest option is to select "
Export Model Data Struct to MATLAB" from the "
File" menu in the FEATool GUI. This will give you a variable named "
fea" with all model data in the MATLAB command window for further processing.
Once you have the model data on the MATLAB command line you can use the "
evalexpr" function to evaluate any expression you like, for example:
Tx = evalexpr('Tx', fea.grid.p, fea, 10);
to evaluate the
x-derivative of
T in the grid points for solution number
10.
2) If run save and run the model as a .m MATLAB script you will automatically get the "
fea" data struct after the script has finished.
3) In the "
Post" menu of the GUI you also have the option to export simulation data in CSV, Excel, VTK/VTP formats in selected points. These can later be re-imported into MATLAB. Note that with this approach the actual model data is not exported, so further processing is not so easy as with the options above (if you want to evaluate in other points etc).
To summarize, you can always export FEATool Multiphysics simulation data to MATLAB (it is already in MATLAB anyway "behind the scenes" since FEATool runs as a native MATLAB toolbox), the question is just how to best (post)process it, which depends a bit on what and where you want to evaluate.