-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getHubShftDir error #33
Comments
Here is the link to Dropbox 7z file with turbine data and .fst> |
If I check the line where you I the error: Line 432, Which means that probably "pOrientation[0]" is wrong, since iTurbLoc should be ok since I just have a single wind turbine. How can I act on pOrientation? Which term of the FAST input files is relevant here? |
A file turbineAlloc.0.txt is created and inside there is just: Proc 0 loc iTurb 0 glob iTurb 0 |
Hi Enrico, There doesn't appear to be anything obviously wrong with your ElastoDyn inputs. I did try running your model without external inflow from OpenFOAM (i.e., I changed CompInflow to 1) and noticed that your AeroDyn input is incompatible with the latest version of OpenFAST. I've attached an updated input file (renamed to permit uploading to github). Can you check to see if your model runs with OpenFAST alone? Eliot |
Hi @ewquon, I've run the case with OpenFAST alone and the changes you suggest and it works. However I've tried to run again windPlantSolver.ALMAdvancedOpenFAST and the error is still the same. |
Looks like the issue is caused by |
The problem now is in AeroDyn:
|
In the AeroFile (referenced in your .fst input file), a number of blade aerodynamics properties files are referenced. Does this file(s) exist in the same place as the AeroFile? I can recreate the error with your input files if the "AeroDyn_blade.dat" file is missing, otherwise the solver runs without issue for me. |
I checked the "AeroDyn_blade.dat" file and I found an uncommented line and NumBlNds was set to 19 but that extra line made the total to be 20. !bjj: because of precision in the BD-AD coupling, 61.5m didn't work, so I changed it to 61.4999m |
Hi guys,
I've also modified the AeroDyn_blade.dat file as enrico suggested. I've changed the density in file turbineArrayProperties to 1.225 as was set in AeroDyn15.dat. Still I don't know if there's to debug something in the input files or if it's completely another problem. |
Hallo, I had the same problem and I solved with the following note1: in turbineArrayProperties parameter nFASTSubSteps must be equal to deltaT (in controlDict) divided by DT (in NREL5MWRef.0.fst). ------- AERODYN v15.03.* INPUT FILE ------------------------------------------------
|
Filing an issue on behalf of Enrico.
I'm running example cases from SOWFA (latest version from gitHub) and I'm not able to solve an error.
What I'm trying to do is to run windPlantSolver.ALMAdvancedOpenFAST in example.ALMAdvanced using precursor data from example.ABL.flatTerrain.neutral. The mesh and the precursor are ok, changeDictionary.updateBCs.west worked, but the solver crashes after few seconds with the log message that you find below. The problem seems to be in
fast::OpenFAST::getHubShftDir(std::vector<double, std::allocator >&, int)
but I don't know how to act on getHubShftDir. Can you check if I'm wrong or not and help me?
Thank you
Enrico G.from Politecnico di Milano (Italy)
log.1.windPlantSolver.ALMAdvancedOpenFAST:
/---------------------------------------------------------------------------
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 2.4.x |
| \ / A nd | Web: www.OpenFOAM.org |
| \/ M anipulation | |
*---------------------------------------------------------------------------*/
Build : 2.4.x-2b147f41daf9
Exec : windPlantSolver.ALMAdvancedOpenFAST -parallel
Date : Jan 23 2019
Time : 11:45:07
Host : "r065c03s01"
PID : 48479
Case : /marconi_scratch/userexternal/afriger1/enrico/example.cases2018/example.ALMAdvanced
nProcs : 16
Slaves :
15
(
"r065c03s01.48480"
"r065c03s01.48481"
"r065c03s01.48482"
"r065c03s01.48483"
"r065c03s01.48484"
"r065c03s01.48485"
"r065c03s01.48486"
"r065c03s01.48487"
"r065c03s01.48488"
"r065c03s01.48489"
"r065c03s01.48490"
"r065c03s01.48491"
"r065c03s01.48492"
"r065c03s01.48493"
"r065c03s01.48494"
)
Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading the gravitational acceleration, g...
Reading planetary rotation rate...
Reading the latitude...
Creating and reading potential temperature field, T...
Creating mean temperature field, Tmean...
Creating fluctuating temperature field, Tprime...
Creating and reading modified pressure field, p_rgh...
Creating and reading velocity field, U...
Creating mean velocity field, Umean...
Creating fluctuating velocity field, Uprime...
Creating and calculating velocity flux field, phi...
Reading/calculating face flux field phi
Reading transport properties...
Selecting incompressible transport model Newtonian
Reading the atmospheric boundary layer properties...
Omega [0 0 -1 0 0 0 0] (0 5.46334695074e-05 4.79966757274e-05)
Creating turbulence model...
Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddyABL
Selecting LES delta type smooth
Selecting LES delta type cubeRootVol
oneEqEddyABLCoeffs
{
ce 0.93;
ck 0.0673;
TName "T";
kappatName "kappat";
}
[1] nFASTSubSteps has to be the same for all turbines
[0] nFASTSubSteps has to be the same for all turbines
[2] nFASTSubSteps has to be the same for all turbines
iTurb = 0 turbineMapGlobToProc[iTurb] = 0
[3] nFASTSubSteps has to be the same for all turbines
[4] nFASTSubSteps has to be the same for all turbines
[5] nFASTSubSteps has to be the same for all turbines
[8] nFASTSubSteps has to be the same for all turbines
[9] nFASTSubSteps has to be the same for all turbines
[6] nFASTSubSteps has to be the same for all turbines
[10] nFASTSubSteps has to be the same for all turbines
[11] nFASTSubSteps has to be the same for all turbines
[7] nFASTSubSteps has to be the same for all turbines
[12] nFASTSubSteps has to be the same for all turbines
[13] nFASTSubSteps has to be the same for all turbines
[14] nFASTSubSteps has to be the same for all turbines
[15] nFASTSubSteps has to be the same for all turbines
[0] #0 Foam::error::printStack(Foam::Ostream&)--------------------------------------------------------------------------
An MPI process has executed an operation involving a call to the
"fork()" system call to create a child process. Open MPI is currently
operating in a condition that could result in memory corruption or
other system errors; your MPI job may hang, crash, or produce silent
data corruption. The use of fork() (or system() or other calls that
create child processes) is strongly discouraged.
The process that invoked fork was:
Local host: r065c03s01 (PID 48479)
MPI_COMM_WORLD rank: 0
If you are absolutely sure that your application will successfully
and correctly survive a call to fork(), you may disable this warning
by setting the mpi_warn_on_fork MCA parameter to 0.
at ??:?
[0] #1 Foam::sigSegv::sigHandler(int) at ??:?
[0] #2 ? in "/lib64/libpthread.so.0"
[0] #3 fast::OpenFAST::getHubShftDir(std::vector<double, std::allocator >&, int) at /marconi/home/userexternal/pbenitoc/git/openfast/glue-codes/openfast-cpp/src/OpenFAST.cpp:432
[0] #4 Foam::turbineModels::horizontalAxisWindTurbinesALMOpenFAST::getPositions() at ??:?
[0] #5 Foam::turbineModels::horizontalAxisWindTurbinesALMOpenFAST::initialize() at ??:?
[0] #6 Foam::turbineModels::horizontalAxisWindTurbinesALMOpenFAST::horizontalAxisWindTurbinesALMOpenFAST(Foam::GeometricField<Foam::Vector, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
[0] #7 ? at ??:?
[0] #8 __libc_start_main in "/lib64/libc.so.6"
[0] #9 ? at ??:?
[r065c03s01:48479] *** Process received signal ***
[r065c03s01:48479] Signal: Segmentation fault (11)
[r065c03s01:48479] Signal code: (-6)
[r065c03s01:48479] Failing at address: 0x74190000bd5f
[r065c03s01:48479] [ 0] /lib64/libpthread.so.0(+0xf370)[0x2abf05b98370]
[r065c03s01:48479] [ 1] /lib64/libpthread.so.0(raise+0x2b)[0x2abf05b9823b]
[r065c03s01:48479] [ 2] /lib64/libpthread.so.0(+0xf370)[0x2abf05b98370]
[r065c03s01:48479] [ 3] /marconi_work/Pra16_4200/SowfaRoot/OpenFAST_20181212/lib/libopenfastcpplib.so(_ZN4fast8OpenFAST13getHubShftDirERSt6vectorIdSaIdEEi+0x287)[0x2abf01eaa337]
[r065c03s01:48479] [ 4] /marconi_work/Pra16_4200/SowfaRoot/SOWFA_20181212/lib/libuserTurbineModelsOpenFAST.so(_ZN4Foam13turbineModels37horizontalAxisWindTurbinesALMOpenFAST12getPositionsEv+0xa13)[0x2abefb5b8113]
[r065c03s01:48479] [ 5] /marconi_work/Pra16_4200/SowfaRoot/SOWFA_20181212/lib/libuserTurbineModelsOpenFAST.so(_ZN4Foam13turbineModels37horizontalAxisWindTurbinesALMOpenFAST10initializeEv+0x45)[0x2abefb5c7815]
[r065c03s01:48479] [ 6] /marconi_work/Pra16_4200/SowfaRoot/SOWFA_20181212/lib/libuserTurbineModelsOpenFAST.so(_ZN4Foam13turbineModels37horizontalAxisWindTurbinesALMOpenFASTC1ERKNS_14GeometricFieldINS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEE+0x1e2d)[0x2abefb5c98dd]
[r065c03s01:48479] [ 7] windPlantSolver.ALMAdvancedOpenFAST[0x42f69d]
[r065c03s01:48479] [ 8] /lib64/libc.so.6(__libc_start_main+0xf5)[0x2abf05dc6b35]
[r065c03s01:48479] [ 9] windPlantSolver.ALMAdvancedOpenFAST[0x43f061]
[r065c03s01:48479] *** End of error message ***
mpirun noticed that process rank 0 with PID 48479 on node r065c03s01 exited on signal 11 (Segmentation fault).
The text was updated successfully, but these errors were encountered: