NREL / SOWFA-6

34 stars 35 forks source link

ABL front drive simulation error in sowfa-6 #66

Closed fengbao8 closed 1 year ago

fengbao8 commented 1 year ago

In sowfa-6 ABL precursor simulation is split into tut.ABLflatTerrain.precursor and tut.ABLflatTerrain.run. I have successfully run tut.ABLflatTerrain.precursor; but after running script 1_preprocess in tut.ABLflatTerrain.run two errors were reported . The errors are

--> FOAM FATAL IO ERROR: keyword type is undefined in dictionary "/public21/home/sc94363/openfoam6/run/2/constant/ABLProperties.momentumSource" file: /public21/home/sc94363/openfoam6/run/2/constant/ABLProperties.momentumSource From function const Foam::entry &Foam::dictionary::lookupEntry(const Foam::word &, bool, bool) const in file db/dictionary/dictionary.C at line 566. FOAM exiting

And

FOAM FATAL ERROR: Attempt to cast type patch to type lduInterface From function To &Foam::refCast(From &) [with To = const Foam::lduInterface, From = const Foam::fvPatch] in file /public1/soft/openfoam/OpenFOAM-6/src/OpenFOAM/lnInclude/typeInfo.H at line 114. FOAM parallel run aborting

Error 1 is that I don't see the "given" function in tut.ABLflatTerrain.precursor, but it is required in tut.ABLflatTerrain.run. I'm not sure what I'm doing wrong there. Error 2 is in the log.1.renumberMesh file after tut.ABLflatTerrain.run is run. I look forward to replies and hope to get help and answers.

rthedin commented 1 year ago

Duplicate of question asked here.

fengbao8 commented 11 months ago

Duplicate of question asked here. Dear rthedin I meet a error.After running the tut.ABLterrain arithmetic example and getting 20000-30000s of data (30000 set by endTimeAvg), after opening the visualization in paraview postprocessing, I found that there is no corresponding terrain output still the computational domain of the rectangle. triSurface file is put in the STL file. What is wrong with this? Eager to help!

rthedin commented 10 months ago

Duplicate of https://github.com/NREL/SOWFA-6/issues/67.