|
[Sponsors] |
cannot find file constant/boundaryData/outlet/points |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 25, 2014, 09:48 |
cannot find file constant/boundaryData/outlet/points
|
#1 |
New Member
Richel Bilderbeek
Join Date: Nov 2013
Posts: 14
Rep Power: 13 |
When I run 'sonicFoam' I get the error:
Code:
cannot find file MyFolder/constant/boundaryData/outlet/points at line 0. Can someone help me out? Thanks! Below I post the full error message, followed by files I think are most relevant: ## Calling sonicFoam Code:
sonicfoam Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ /* Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt *\ | Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com | \*---------------------------------------------------------------------------*/ Build : 2.1-88b2f2ae3a0b Exec : sonicfoam Date : Apr 25 2014 Time : 13:59:34 Host : "AIRBEAR-W7-I5" PID : 5072 Case : D:/Airbearing/cpp/build-SchmeshCreator-Desktop_Qt_5_1_1_MinGW_32bit-Deb ug nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMas ter allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading thermophysical properties Selecting thermodynamics package ePsiThermo<pureMixture<sutherlandTransport<spec ieThermo<eConstThermo<perfectGas>>>>> --> FOAM FATAL IO ERROR: cannot find file file: MyFolder/constant/boundaryData/outlet/points at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object alphat; } dimensions [1 -1 -1 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } outlet { type zeroGradient; } side_CW { type zeroGradient; } side_CCW { type zeroGradient; } defaultFaces { type compressible::alphatWallFunction; value uniform 0; } } Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p; } dimensions [1 -1 -2 0 0 0 0]; internalField uniform 1.7e5; boundaryField { inlet { type timeVaryingMappedFixedValue; setAverage 1; fileName "pIn"; outOfBounds clamp; } outlet { type timeVaryingMappedFixedValue; setAverage 1; fileName "pOut"; outOfBounds clamp; } side_CW { type zeroGradient; } side_CCW { type zeroGradient; } defaultFaces { type zeroGradient; } } Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } dimensions [0 0 0 1 0 0 0]; internalField uniform 293; boundaryField { inlet { type fixedValue; value uniform 293; } outlet { type zeroGradient; } side_CW { type zeroGradient; } side_CCW { type zeroGradient; } defaultFaces { type zeroGradient; } } Code:
FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type zeroGradient; } outlet { type zeroGradient; } side_CW { type slip; } side_CCW { type slip; } defaultFaces { type fixedValue; value uniform (0 0 0); } } Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object thermophysicalProperties; } thermoType ePsiThermo<pureMixture<sutherlandTransport<specieThermo<eConstThermo<perfectGas>>>>>; mixture air 1 28.9 717 0 1.458e-6 110.4; Code:
FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant\polyMesh"; object boundary; } 5 ( side_CW { type zeroGradient; nFaces 16; startFace 3625; } side_CCW { type zeroGradient; nFaces 16; startFace 3641; } outlet { type outletInlet; nFaces 208; startFace 3657; } inlet { type outletInlet; nFaces 16; startFace 3865; } defaultFaces { type zeroGradient; nFaces 1034; startFace 3881; } ) Code:
FoamFile { version 2.0; format ascii; class faceList; location "constant/polyMesh"; object faces; } 4915 ( 4(1322 1323 1355 1354) 4(1322 1368 1369 1323) 3(1354 1368 1322) [...] 4(496 539 540 497) 3(496 652 539) 3(947 956 898) ) Code:
FoamFile { version 2.0; format ascii; class labelList; note "nPoints: 1407 nCells: 1708 nFaces: 4915"; location "constant/polyMesh"; object neighbour; } 4915 ( 14 16 649 [...] -1 -1 -1 ) Code:
FoamFile { version 2.0; format ascii; class labelList; note "nPoints: 1407 nCells: 1708 nFaces: 4915"; location "constant/polyMesh"; object owner; } 4915 ( 0 0 0 [...] 1706 1706 1707 ) Code:
FoamFile { version 2.0; format ascii; class vectorField; location "constant/polyMesh"; object points; } 1407 ( (-0.021651 0.012500000000000001 0) (-0.021651 0.012500000000000001 0.00025000000000000001) (-0.021651 0.012500000000000001 0.00050000000000000001) [...] (0.021651 0.012500000000000001 0.00050000000000000001) (0.021651 0.012500000000000001 0.00075000000000000002) (0.021651 0.012500000000000001 0.001) ) Code:
FoamFile { version 2.0; format ascii; class faceSet; location "constant/polyMesh/sets"; object nonOrthoFaces; } 40 ( 2688 3009 3458 [...] 3006 1918 1598 ) Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object turbulenceProperties; } simulationType RASModel; Code:
FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } application sonicFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 0.007; deltaT 1e-008; writeControl adjustableRunTime; writeInterval 1e-006; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep no; Code:
FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSchemes; } ddtSchemes { default Euler; } gradSchemes { default Gauss linear; } divSchemes { default none; div(phi,U) Gauss limitedLinearV 1; div(phi,e) Gauss limitedLinear 1; div(phid,p) Gauss limitedLinear 1; div(phi,K) Gauss limitedLinear 1; div(phiv,p) Gauss limitedLinear 1; div(phi,k) Gauss upwind; div(phi,epsilon) Gauss upwind; div((muEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } fluxRequired { default no; p; } Code:
FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSolution; }
__________________
I will never accept a 'Friend' request, I will always accept beer |
|
April 25, 2014, 10:36 |
Solved
|
#2 |
New Member
Richel Bilderbeek
Join Date: Nov 2013
Posts: 14
Rep Power: 13 |
I did notice that the file called 'p' needed two files.
I did assume that the error message would give the name of the missing file. This was incorrect. The error message needed to be: Code:
Could not find files 'pIn' and 'pOut' ## 'p' Code:
boundaryField { inlet { type timeVaryingMappedFixedValue; setAverage 1; fileName "pIn"; outOfBounds clamp; } outlet { type timeVaryingMappedFixedValue; setAverage 1; fileName "pOut"; outOfBounds clamp; } [...] }
__________________
I will never accept a 'Friend' request, I will always accept beer |
|
Tags |
error, file, file not found, points, sonicfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error | FerdiFuchs | OpenFOAM Community Contributions | 27 | April 16, 2014 16:14 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 14:14 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |