NREL / SOWFA

Other
130 stars 113 forks source link

Missing folder sampling/ with blockMesh for example.NREL5MW.ALMAdvancedFAST8 #68

Open DeeDiveT opened 4 years ago

DeeDiveT commented 4 years ago

Hi, I'm trying to run turbine example example.NREL5MW.ALMAdvancedFAST8.

Errors occurred with blockMesh in runscript.preprocess ,(see https://github.com/NREL/SOWFA/blob/2fd1c7143549d0f59d8cbdd4eb61892d1245dfec/exampleCases/example.NREL5MW.ALMAdvancedFAST8/runscript.preprocess#L98), which gives file not found error for system/sampling/sliceDataInstantaneous.

It seems that example.NREL5MW.ALMAdvancedFAST8 does not have the required directory, while other examples all have the system/sampling directory. Is there anyone who has some ideas to solve this problem and could kindly help me? Millions of thanks in advance.

log.blockMesh:

root@62ebab8f1985:~/SOWFA/exampleCases/example.NREL5MW.ALMAdvancedFAST8# blockMesh
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  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-e43de7431ed0
Exec   : blockMesh
Date   : Apr 12 2020
Time   : 09:48:24
Host   : "62ebab8f1985"
PID    : 11756
Case   : /root/SOWFA/exampleCases/example.NREL5MW.ALMAdvancedFAST8
nProcs : 1
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

--> FOAM FATAL IO ERROR: 
Cannot open include file "/root/SOWFA/exampleCases/example.NREL5MW.ALMAdvancedFAST8/system/sampling/sliceDataInstantaneous" while reading dictionary "/root/SOWFA/exampleCases/example.NREL5MW.ALMAdvancedFAST8/system/controlDict.functions"

file: /root/SOWFA/exampleCases/example.NREL5MW.ALMAdvancedFAST8/system/controlDict at line 62.

    From function functionEntries::includeEntry::includeEntry(dictionary& parentDict, Istream&)
    in file db/dictionary/functionEntries/includeEntry/includeEntry.C at line 148.

FOAM exiting
rthedin commented 4 years ago

The directory system/sampling exists out of convenience. That's where all the sampling functions go. You will notice that under functions on controlDicts that these files get #include'd when needed.

If on the example case you mentioned this directory doesn't exist, you can just copy it over from another case. Check the controlDict file and see what it's being added. Modify as appropriate for your case. Alternatively, you can just comment out or delete the lines where these sampling files are being included.

Regis