Skip to content

CCBlade Installation #31

@Jamie7963

Description

@Jamie7963

I'm trying to download CCBlade as a stand alone module. In the description it says that the only prerequisite is gfortran, however I also had to install GCC, meson and ninja too.

I wanted to install CCBlade inside a virtual environment, so I created one and began installation. When doing so it asked me to install meson, which I did. I then installed the GCC compiler and put it inside the virtual environment folder (I had some trouble with installing it and just adding it to the system path) Similarly with GFortran. It then asked me to install ninja, which I did. Following this I received the following error:

above
['C:\Users\user1\virtualenvironments\VENV1\Scripts\meson.EXE', 'setup', 'meson_build', '--prefix=C:\Users\user1\Downloads\CCBlade-master\CCBlade-master\meson_build', '-Dpython.purelibdir=.', '-Dpython.platlibdir=.']
below
['C:\Users\user1\virtualenvironments\VENV1\Scripts\meson.EXE', 'compile', '-vC', 'meson_build']
ninja: Entering directory `C:/Users/user1/Downloads/CCBlade-master/CCBlade-master/meson_build'
[1/6] "C:\Users\user1\virtualenvironments\VENV1\Scripts\python.EXE" "-m" "numpy.f2py" "../ccblade/src/bem.f90" "-m" "_bem" "--lower" "--build-dir" "ccblade"
Reading fortran codes...
Reading file '../ccblade/src/bem.f90' (format:free)
Post-processing...
Block: _bem
Block: inductionfactors
In: :_bem:../ccblade/src/bem.f90:inductionfactors
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: relativewind
In: :_bem:../ccblade/src/bem.f90:relativewind
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature
In: :_bem:../ccblade/src/bem.f90:definecurvature
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: windcomponents
In: :_bem:../ccblade/src/bem.f90:windcomponents
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: thrusttorque
In: :_bem:../ccblade/src/bem.f90:thrusttorque
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: inductionfactors_dv
In: :_bem:../ccblade/src/bem.f90:inductionfactors_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: relativewind_dv
In: :_bem:../ccblade/src/bem.f90:relativewind_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: windcomponents_dv
In: :_bem:../ccblade/src/bem.f90:windcomponents_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature_dv
In: :_bem:../ccblade/src/bem.f90:definecurvature_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: thrusttorque_bv
In: :_bem:../ccblade/src/bem.f90:thrusttorque_bv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature_bv
In: :_bem:../ccblade/src/bem.f90:definecurvature_bv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature_dv2
In: :_bem:../ccblade/src/bem.f90:definecurvature_dv2
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Applying post-processing hooks...
character_backward_compatibility_hook
Post-processing (stage 2)...
Building modules...
Building module "_bem"...
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "inductionfactors"...
fzero,a,ap = inductionfactors(r,chord,rhub,rtip,phi,cl,cd,b,vx,vy,[usecd,hubloss,tiploss,wakerotation])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "relativewind"...
alpha,w,re = relativewind(phi,a,ap,vx,vy,pitch,chord,theta,rho,mu)
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "definecurvature"...
x_az,y_az,z_az,cone,s = definecurvature(r,precurve,presweep,precone,[n])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "windcomponents"...
vx,vy = windcomponents(r,precurve,presweep,precone,yaw,tilt,azimuth,uinf,omegarpm,hubht,shearexp,[n])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"

" I'm not familiar with fortran and so I'm not sure how to progress with the install. If you could provide any insight into what I'm doing wrong, This would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions