|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
mantas
Join Date: Feb 2018
Posts: 2
Rep Power: 0 ![]() |
Hello,
I'm trying to run a solver called windDrivenRain for openFoam 2.3.0. But even when running the tutorial case that is included with the solver I get the following error: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : windDrivenRainFoam Date : Dec 11 2018 Time : 16:51:50 Host : "mantas-Box" PID : 2991 Case : /home/mantas/Downloads/cubicBuilding/cubicBuilding.windDrivenRainFoam nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading transportProperties Reading field U --> FOAM FATAL IO ERROR: cannot find file file: /home/mantas/Downloads/cubicBuilding/cubicBuilding.windDrivenRainFoam/0/U at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Maybe someone here could help me with this issue? I'm stuck at this point for couple of days now. Thank you very much in advance, your help will definitely be appreciated. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 12 ![]() |
I've never used this solver before but reading through the Allrun scripts it looks like you've skipped ahead a bit.
It seems to want the U, k, epsilon and nut fields from a separate simpleFoam job copied into the 0 folder. May be unrelated but: Code:
file: /home/mantas/Downloads/cubicBuilding/cubicBuilding.windDrivenRainFoam0/U at line 0. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
mantas
Join Date: Feb 2018
Posts: 2
Rep Power: 0 ![]() |
Quote:
![]() When, I'm trying to run it with simpleFoam I get the following error message: Code:
mantas@mantas-Box:~/Downloads/cubicBuilding/cubicBuilding.simpleFoam$ simpleFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : simpleFoam Date : Dec 11 2018 Time : 21:03:14 Host : "mantas-Box" PID : 3120 Case : /home/mantas/Downloads/cubicBuilding/cubicBuilding.simpleFoam nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field p Reading field U --> FOAM FATAL IO ERROR: keyword n is undefined in dictionary "/home/mantas/Downloads/cubicBuilding/cubicBuilding.simpleFoam/0/U.boundaryField.inlet" file: /home/mantas/Downloads/cubicBuilding/cubicBuilding.simpleFoam/0/U.boundaryField.inlet from line 33 to line 14. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 437. FOAM exiting Code:
FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { #include "include/ABLConditions" top { type slip; } inlet { type atmBoundaryLayerInletVelocity; Uref $Uref; Zref $Href; flowDir $windDirection; zDir $zDirection; z0 $z0; value $internalField; zGround $zGround; } outlet { type zeroGradient; } ground { type fixedValue; value uniform (0 0 0); } cube { type fixedValue; value uniform (0 0 0); } sides { type slip; } } This was an example case included with the solver so I have hard time figuring out why it isn't working out of the box. Is there any change there is some incompatibility issues due to using different Ubuntu version? |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 12 ![]() |
There is a difference in the atmBoundaryLayerInletVelocity dictionary keywords between versions. Change "flowDir" to "n".
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 00:58 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 00:34 |