Comments (10)
We have a python version. One is in this repo its main purpose was to connect to openmdao. There is also a regular python version from several years ago: https://github.com/WISDEM/CCBlade Doesn't have all the latest, but the new stuff might not be needed depending on what you are looking for.
from ccblade.jl.
I actually need to analyse a propeller, not a turbine. A basic analysis with Prandtl tip loss to get some performance curves.
You reckon it would be easy to change the adequate signs?
I have had a look at the Python library you referenced and it seems large.
from ccblade.jl.
Yes, it could work for propellers. Back then I hand coded the derivative propagation, which make it really long.
You could also call julia from Python. https://github.com/JuliaPy/pyjulia That would probably be the best route and give you the latest version from this repo.
from ccblade.jl.
Cool. I will have a look, it could definitively save me some work.
Where should I look in the code to change the equations to solve a propeller?
Thx!
from ccblade.jl.
The code in this repo doesn't requiring changing anything. If you want to use the old Python one then look at the paper. Shouldn't require any internal code change, but how you parse inputs/outputs. Note that the old one requires a fortran compiler also. Personally, I'd just recommend using this latest version.
from ccblade.jl.
I am happy to use the latest version, I will deal with the overhead of calling julia from Python.
Regarding the equations, I must be missing something.
If a turbine removes work from the fluid, and a propeller inputs work into it, I would expect there to be a sign change somewhere.
But you seem to indicate that change will take place in the inputs, which also makes sense. But specifically, which inputs would I have "swap around" in sign? (if any sign change is required on the first place).
from ccblade.jl.
There isn't any overhead (at least not really). Similar to using almost anything in numpy/scipy (which is generally calling C or fortran).
Yes there are sign changes. Take a look at the paper.
from ccblade.jl.
Oh, I meant the overhead to learn how to use the interface, install julia in a reproducible environment and then your package. For what I am going to do, I don't need calculation performance.
I'll have a look at the paper and get back to you if I can't figure it out.
from ccblade.jl.
Sounds good. If you are using the version in the repo then you don't need any sign changes and don't really need to look at the paper. This code was actually written from a propeller point of view, but either way there is a flag that allows you to change between turbine and propeller input/output conventions. Doesn't require the user to mess with signs. See this in the documentation.
from ccblade.jl.
I should add that a new version was pushed on Friday but it hasn’t been tagged yet so to get it you’d need to do:
] add CCBlade#master
Instead of just add CCBlade
from ccblade.jl.
Related Issues (20)
- bem.jl no longer necessary HOT 1
- "no solution found" for first and last radius station of a rectangular blade HOT 1
- openmdao python example usage HOT 3
- OpenMDAO examples broken? HOT 4
- Maybe bug in airfoils.jl
- TagBot trigger issue HOT 4
- Wrong results when the wind is blowing through the back of rotor HOT 1
- Require AD compatibility when Omega is of different type than Vinf HOT 1
- fix type declarations HOT 1
- Hybrid BEM HOT 1
- CCBlade failing to install on fresh Julia 1.6 HOT 2
- `Vector` convenience functions cause errors on nightly Julia builds
- output parameters used incorrectly HOT 1
- `DuSeligEggers` and negative drag coefficients HOT 5
- Code errors HOT 1
- pi HOT 1
- Vinf close to 0: bounds error in fzero. HOT 5
- `u` not defined in `residualVx0()`
- OpenBEMT references HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccblade.jl.