Skip to main content

# cfdpost

CFD post procedures.

## # post

Frequently used CFD post procedures.

### [ post_foil_cfl3d ]

post_foil_cfl3d(path, j0, j1, nHi=40, fname=’feature2d.txt’)

Read in CFL3D foil result and extract flow features.

path: folder that contains the output files j0: j index of the lower surface TE j1: j index of the upper surface TE nHi: maximum number of mesh points in k direction for boundary layer fname: output file name. If None, then no output tecplot: if True, then convert cfl3d.prt to surface.dat

Single C-block cfl3d.prt index

i : 1 - 1 symmetry plane j : 1 - nj far field of lower surface TE to far field of upper surface TE k : 1 - nk surface to far field

### [ feature_xfoil ]

feature_xfoil(cst_u, cst_l, t, Minf, Re, AoA, n_crit=0.1, fname=’feature-xfoil.txt’)

Evaluate by xfoil and extract features.

cst-u, cst-l: list of upper/lower CST coefficients of the airfoil. t: airfoil thickness or None Minf: free stream Mach number for wall Mach number calculation Re, AoA (deg): flight condition (s), float or list, for Xfoil n_crit: critical amplification ratio for transition in xfoil fname: output file name. If None, then no output

Dependencies:

cst_modeling pip install cst-modeling3d xfoil pip install xfoil

XFoil:
Re: Reynolds number in case the simulation is for a viscous flow.

In case not informed, the code will assume inviscid.

Minf: Mach number in case the simulation has to take in account compressibility

effects through the Prandtl-Glauert correlation. If not informed, the code will not use the correction. For logical reasons, if Mach is informed, a Reynolds number different from zero must also be informed.

### [ feature_TSFoil ]

Evaluate by TSFOIL2 and extract features.

cst-u, cst-l: list of upper/lower CST coefficients of the airfoil t: airfoil thickness or None Minf, Re, AoA (deg): flight condition (s), float or list fname: output file name. If None, then no output

Dependencies:

cst_modeling pip install cst-modeling3d pyTSFoil pip install pyTSFoil

## # cfdresult

Read in CFD results.

### cfl3d

Read in CFL3D results.

## # feature2d

Extract 2D flow features.

### FeatureSec

Extract flow features of airfoils or wing sections.

### FeatureXfoil

Extract features from Xfoil (low speed) results.

### FeatureTSFoil

Extract features from pyTSFoil (transonic speed) results.

Metadata

Release files for cfdpost 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cfdpost 0.2.1
File Size Uploaded Provenance Actions
cfdpost-0.2.1.tar.gz 23.6 kB Without provenance Details for cfdpost-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cfdpost 0.2.1
File Interpreter ABI Platform Actions
cfdpost-0.2.1-py3-none-any.whl Python 3 none any Details for cfdpost-0.2.1-py3-none-any.whl

Total release size: 48.6 kB

Release files / cfdpost-0.2.1.tar.gz

Download URL cfdpost-0.2.1.tar.gz
Size 23.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d3a4dffb61fe60cd3a55c97ef778501dd0a5319757aea72d3833858b113a1ab7
BLAKE2b-256 checksum
How to use checksums
7eb0177360d6437cd73cb1717e161325280543aa1bf407be51bb07dc37bd5f39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

Release files / cfdpost-0.2.1-py3-none-any.whl

Download URL cfdpost-0.2.1-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d2cccc4b1e592a96633677fd927231579e0af5b7e5c30c3639176dc659593db
BLAKE2b-256 checksum
How to use checksums
13396415347b87a8dd611f3f72747c94526a0715a80a9771eb5b6833a54a4477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

Security for cfdpost 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page