|
[Sponsors] |
ill defined primitiveEntry starting at keyword 'value' on line 197 ChangeDictionary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 11, 2016, 08:47 |
ill defined primitiveEntry starting at keyword 'value' on line 197 ChangeDictionary
|
#1 |
Member
Sing
Join Date: Jan 2016
Posts: 30
Rep Power: 10 |
Hello Everyone I am using a shell script to run my case.
In that I have used the changeDictionary command to populate the boundary conditions in ZERO folder. But while running using script I get this error: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.1-262087cdf8db Exec : changeDictionary Date : Oct 11 2016 Time : 18:05:14 Host : "hpc4" PID : 22709 Case : /home/1016914/auto_case_home_final/Cases/case1_dp_1500_dt_100_dh_388_dw_1000_wt_100_wh_485_depIn_300_hPad_210_depPad_150_T_1873_MFR_16.665/meshANDsimulation 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 Create mesh for time = 0 --> FOAM FATAL IO ERROR: "ill defined primitiveEntry starting at keyword 'value' on line 197 and ending at line 197" file: /home/1016914/auto_case_home_final/Cases/case1_dp_1500_dt_100_dh_388_dw_1000_wt_100_wh_485_depIn_300_hPad_210_depPad_150_T_1873_MFR_16.665/meshANDsimulation/system/changeDictionaryDict at line 197. From function primitiveEntry::readEntry(const dictionary&, Istream&) in file lnInclude/IOerror.C at line 132. FOAM exiting I am confused about the reason for the error. My changeDictionaryDict file's code is as follows: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object changeDictionaryDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dictionaryReplacement { U { internalField uniform (0 0 0); boundaryField { "(topsur|botsur|twall|dam|weir)" { type fixedValue; value uniform (0 0 0); } "inlet" { type flowRateInletVelocity; rhoInlet 7020; massFlowRate constant 16.665; } "outlet" { type pressureInletOutletVelocity; value uniform (0 0 0); } "symmetry" { type symmetry; } } } T { internalField uniform 1873; boundaryField { "topsur" { type fixedGradient; gradient uniform -365.85; } "(botsur|twall|dam|weir)" { type fixedGradient; gradient uniform -75.61; } "inlet" { type fixedValue; value uniform 1873; } "outlet" { type zeroGradient; } "symmetry" { type symmetry; } } } epsilon { internalField uniform 1.95e-04; boundaryField { "(topsur|botsur|twall|dam|weir)" { type epsilonWallFunction; value uniform 1.95e-04; } "inlet" { type fixedValue; value uniform 1.95e-04; } "outlet" { type inletOutlet; inletValue uniform 1.95e-04; value uniform 1.95e-04; } "symmetry" { type symmetry; } } } k { internalField uniform 2.7e-04; boundaryField { "(topsur|botsur|twall|dam|weir)" { type kqRWallFunction; value uniform 2.7e-04; } "inlet" { type fixedValue; value uniform 2.7e-04; } "outlet" { type inletOutlet; inletValue uniform 2.7e-04; value uniform 2.7e-04; } "symmetry" { type symmetry; } } } p_rgh { internalField uniform 0; boundaryField { "(topsur|botsur|twall|dam|weir|inlet)" { type fixedFluxPressure; rho rhok; value uniform 0; } "outlet" { type outletInlet; rho rhok; outletValue uniform 0; value uniform 0; } "symmetry" { type symmetry; } } } p { internalField uniform 0; boundaryField { ".*" { type calculated; value uniform 0; } "symmetry" { type symmetry; } } } alphat { internalField uniform 0; boundaryField { "(topsur|botsur|twall|dam|weir)" { type alphatJayatillekeWallFunction; Prt 0.85; value uniform 0; } "inlet" { type calculated; value uniform 0; } "outlet" { type calculated; value uniform 0; } "symmetry" { type symmetry; } } } nut { internalField uniform 0; boundaryField { "(topsur|botsur|twall|dam|weir)" { type nutkWallFunction; value uniform 0; } "inlet" { type calculated; value uniform 0; } "outlet" { type calculated; value uniform 0; } "symmetry" { type symmetry; } } } } // ************************************************************************* // Thanks and regards, Singh. |
|
October 11, 2016, 08:50 |
|
#2 |
Member
Sing
Join Date: Jan 2016
Posts: 30
Rep Power: 10 |
When I am manually running changeDictionary then this is the output at the terminal.
Code:
[1016914@hpc4 meshANDsimulation]$ changeDictionary /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.1-262087cdf8db Exec : changeDictionary Date : Oct 11 2016 Time : 18:05:41 Host : "hpc4" PID : 22852 Case : /home/1016914/auto_case_home_final/Cases/case1_dp_1500_dt_100_dh_388_dw_1000_wt_100_wh_485_depIn_300_hPad_210_depPad_150_T_1873_MFR_16.665/meshANDsimulation 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 Create mesh for time = 0 Read dictionary changeDictionaryDict with replacements for dictionaries 8 ( U T epsilon k p_rgh p alphat nut ) Reading polyMesh/boundary file to extract patch names Loaded dictionary boundary with entries 8 ( inlet outlet topsur botsur twall dam weir symmetry ) Extracted patch groups: group symmetry with patches 1(symmetry) group wall with patches 5 ( topsur botsur twall dam weir ) Replacing entries in dictionary U Loading dictionary U Loaded dictionary U with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict U Replacing entries in dictionary T Loading dictionary T Loaded dictionary T with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict T Replacing entries in dictionary epsilon Loading dictionary epsilon Loaded dictionary epsilon with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict epsilon Replacing entries in dictionary k Loading dictionary k Loaded dictionary k with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict k Replacing entries in dictionary p_rgh Loading dictionary p_rgh Loaded dictionary p_rgh with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict p_rgh Replacing entries in dictionary p Loading dictionary p Loaded dictionary p with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict p Replacing entries in dictionary alphat Loading dictionary alphat Loaded dictionary alphat with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict alphat Replacing entries in dictionary nut Loading dictionary nut Loaded dictionary nut with entries 3 ( dimensions internalField boundaryField ) Merging entries from 2 ( internalField boundaryField ) Writing modified fieldDict nut End [1016914@hpc4 meshANDsimulation]$ |
|
December 20, 2017, 03:58 |
|
#3 |
Member
Sing
Join Date: Jan 2016
Posts: 30
Rep Power: 10 |
It was due to the exceptionally large folder name. As renaming the folder solved the problem
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 10:51 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 09:56 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 08:48 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 04:43 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 04:26 |