Skip to main content

An interface to produce Pandas DataFrames from Fluent XY output files.

Project description


A small package to parse .xy output files from Fluent into Pandas DataFrames. The typical .xy output from Fluent looks like

(title "Axial Velocity")
(labels "Position" "Axial Velocity")

((xy/key/label "inlet")
0	0.2
0.00873	0.2

and this module parses this output into a DataFrame that looks like

from fluentxy import parse_data
with open('filename.xy', 'r') as f:
    lines = f.readlines()
data = parse_data(lines)
   Position Axial Velocity
0  0.000000            0.2
1  0.000582            0.2
2  0.001164            0.2
3  0.001746            0.2
4  0.002328            0.2

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fluentxy, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size fluentxy-0.1.0-py3-none-any.whl (31.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size fluentxy-0.1.0.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page