Skip to main content

# cst-modeling

Surface and curve modeling via CST (class shape transformation) method

The curves, e.g., foil’s upper and lower surface, are constructed via CST method.

The multi-section surface is interpolated from several control sections.

## Modules

### foil

  1. Section class:

    This is a class for control sections.

    The section stores unit 2D curves of upper and lower surface (xx, yu, yl) and CST coefficients (cst_u, cst_l). The 3D curve (x, y, z) is generated from the 2D curves. It starts from the lower surface trailing edge and ends at the upper surface trailing edge. The 3D curve is still a plane curve, the leading edge location (xLE, yLE, zLE), chord length, twist angle (deg), maximum relative thickness, relative tail thickness are defined by user.

  2. Supportive functions:

    There are several functions dealing with curves.

    [curve_curvature] get curvature of a curve [transform] 2D curve’s translation, scale, rotation in z-axis [rotate] 3D curve’s rotation defined by given origin, angle and axis [stretch_fixed_point] linearly stretch a curve with certain fixed point [output_foil] output the airfoil/curve in tecplot format

### surface

  1. Surface class:

    This is a class for multi-section surface.

    [__init__] number of control sections, cst parameters of each curve must be specified immediately [read_setting] layout and cst parameters can be read in from a control file [geo] the function of generating curves and surfaces [add_sec] add sections to the surface, the new sections are interpolated from current ones [flip] mirror the surface by certain plane, or rotate 90 deg by certain axis [bend] bend the surface in x-axis and y-axis, also can rotate sections in x-axis [smooth] smooth the surface [toCylinder] convert the plane curves to curves on cylinders (for turbomachinery) [fromCylinder] convert curves on cylinder to plane curves [plot] show the surface [output_tecplot] output surface in tecplot format [output_plot3d] output surface in plot3d format

Metadata

Release files for cst-modeling3d 0.1.2

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

Source distribution (sdist)

Source distribution for cst-modeling3d 0.1.2
File Size Uploaded Provenance Actions
cst_modeling3d-0.1.2.tar.gz 15.4 kB Without provenance Details for cst_modeling3d-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cst-modeling3d 0.1.2
File Interpreter ABI Platform Actions
cst_modeling3d-0.1.2-py3-none-any.whl Python 3 none any Details for cst_modeling3d-0.1.2-py3-none-any.whl

Total release size: 31.9 kB

Release files / cst_modeling3d-0.1.2.tar.gz

Download URL cst_modeling3d-0.1.2.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5511f0850c9cdea9025f98d0a1908c837c7a6a4cf5b56c43a159dabbf4e9f4f2
BLAKE2b-256 checksum
How to use checksums
18286c77f15a2414c8956cb1eba3f5fd0ee7bba79adff8577559364e1fe0b37a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Release files / cst_modeling3d-0.1.2-py3-none-any.whl

Download URL cst_modeling3d-0.1.2-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bc85f212364ec19a168f1717f0ec10ada6cead1923a0932829c2035cce1396e
BLAKE2b-256 checksum
How to use checksums
b1dc0f9eebee9e045c344a111a15e429ecd2a9237c9b88beb2247e8f9c501bac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

Security for cst-modeling3d 0.1.2

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