How does Matlab extract the three columns of data from the ".out" file output by Fluent? What is the code? The attachment file is the data.out

1 visualización (últimos 30 días)
How does Matlab extract the three columns of data from the ".out" file output by Fluent? What is the code? The attachment file is the data.out

Respuestas (1)

Stephen23
Stephen23 el 13 de Mayo de 2025
unzip data.zip
T = readtable('data.out', FileType='text', Range=3, Delimiter=["(",")"," "], ...
VariableNamingRule='preserve', LeadingDelimitersRule='ignore')
T = 2872x3 table
Time Step data flow-time _________ ___________ _________ 30001 -3.638e-12 0.60001 30002 7.1054e-15 0.60002 30003 0 0.60003 30004 -2.8422e-14 0.60004 30005 0 0.60005 30006 -3.5811e-12 0.60006 30007 -3.5243e-12 0.60007 30008 -3.638e-12 0.60008 30009 -3.638e-12 0.60009 30010 0 0.6001 30011 3.7517e-12 0.60011 30012 0 0.60012 30013 0 0.60013 30014 0 0.60014 30015 0 0.60015 30016 -3.638e-12 0.60016

Categorías

Más información sobre R Language en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by