Giter Club home page Giter Club logo

spokeanalysissweep's Introduction

spokeAnalysisSweep

Python script that sweeps Star-CCM+ Design Manager log files for rich data analysis and visualization.

About

This code is meant to sweep Star-CCM+ Design Manager Log files for rich data analysis and visualization.

It was specifically made to capture 2D Airfoil polars at multiple Reynolds numbers and Angles of Attacks for use with Blade Element Momentum applications. In this case, the airfoil in question was a cross-section of the HED Trispoke.

Note that this is dependent on steady state RANS solutions of 2500 iterations. Best for use with Spyder.

Data Analysis and Visualization


Figure 1: The code parses through all simulation data and plots the raw drag and lift coefficients versus iteration. The CFD simulation should be run with a RANS solver, so oscillating solutions past the critical angle of attacks are to be expected. The mean coefficient values are calculated using the pandas module, tabulated, and then plotted (red dotted line).


Figure 2: Using this new smoothed data, average coefficient values are calculated for each Reynolds number at every angle of attack from 0 to 180 degrees. These are then automatically tabulated and plotted.

User-Friendly Code

I hope that anyone doing large data sweeps may be inspired or even use this code. It only requires a few user inputs to work.

To-Do

  • Write-to-file function including all tables and plots

spokeanalysissweep's People

Contributors

drewvigne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.