I have made some attempts to solve the so-called compiling errors. Eventually, I made the “fastDuct” tutorial run.
For the FORTRAN warnings, I have replaced HydroCalc.f90 file with that from FAST v7.02.00d-bjj (27-February-2013) considering random_seed issue is solved.
With this, I start receiving 2 new errors even though the random_seed error disappeared.
displacement’, X0(4), X0(5), X0(6), TransMat0, ‘HydroDyn initialization’ )
Error: More actual than formal arguments in procedure call at (1)
L SmllRotTrans ( ‘platform displacement’, X(4), X(5), X(6), TransMat, TRIM(Num2
Error: Function ‘num2lstr’ at (1) has no IMPLICIT type[/code]
Then, considering, in the previous files there were no ‘HydroDyn initialization’ or ‘TRIM(Num2’, I have deleted them and recompiled everything. With this, all FORTRAN-FAST errors have disappeared. (Might it resulted in more serious errors that did start not showing up.).
However, the compiling entire case still led to the problem:
make: *** No rule to make target `pisoFoam.dep', needed by `Make/linux64GccDPOpt/dependencies'. Stop.
So, I decided to do the compiling one by one by following the sequence in the “Allwmake” file.
are compiled without any error apart from a few warnings appeared from the last two cases.
gave the first error.
cp: cannot create regular files for fastPisoSolver/fast/bin
cp: cannot create regular files for windPlantPisoSolverFAST/fast/bin
Then, I have realized that there is no such sub-directories under both fastPisoSolver and windPlantPisoSolverFAST directories; that’s why, the “libfast.a” couldn’t be copied. Therefore, I have generated those directories and then “openfast” was compiled without any explicit errors.
Later, I have tried to compile “applications/solvers/windEnergy/fastPisoSolver”; but, it gave error.
Checking the directory, nor createFields.H neither pisoFoam.C was therein. Hence, I have modified pisoFoam original by looking at SOWFA_webinar_05-03-2012.pdf - Implementation - fastPisoSolver section.
The following http://txtup.co/lHjiX & http://txtup.co/RdIjP are the modified (!) pisoFoam.C and createFields.H, respectively.
In addition, I have copied “horizontalAxisWindTurbinesFAST.H” into the “fastPisoSolver” directory.
Finally, with these tweaks, fastPisoSolver was compiled.
i) applications/solvers/windEnergy/windPlantPisoSolverFAST was successfully compiled.
Lastly, I have run “fastDuct” tutorial for just 0.4 secs. It didn’t blow up.
Now, I assume that everything is fine; but, I am also pretty sure that this is not the right way of compiling the solvers.
Therefore, I kindly ask for some help to verify these procedures or some ideas why I couldn’t compile the solvers at the first time.
Many thanks in advance for any level of help.