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 次查看(过去 30 天)
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 个)

Stephen23
Stephen23 2025-5-13
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

类别

Help CenterFile Exchange 中查找有关 R Language 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by