|
[Sponsors] |
keyword dimensions is undefined in dictionary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2024, 14:40 |
keyword dimensions is undefined in dictionary
|
#1 |
New Member
Steve Rix
Join Date: Jun 2024
Posts: 3
Rep Power: 2 |
Hi, I have been been working on this for a while but can't find the solution and hope someone can point me in the right direction. I am using openfoam 11. It won't run and gives the error
"keyword dimensions is undefined in dictionary "/.../0/T". so in 0/T I have the following; dimensions [0 0 0 1 0 0 0]; internalField uniform 293; boundaryField { AMI { type energyJumpAMIFvPatchScalarField; value $internalField; } AMI_slave { type energyJumpAMIFvPatchScalarField; value $internalField; } Fan { type zeroGradient; } inlet { type fixedValue; value $internalField; } outlet { type inletOutlet; value $internalField; inletValue $internalField; } wall { type zeroGradient; } Barrel { type zeroGradient; } } I have also added entries into fvSchemes and fvSolutions as follows fvSchemes divSchemes { default none; div(phi,U) Gauss upwind; div(phid,p) Gauss upwind; div(phi,K) Gauss linear; div(phi,h) Gauss upwind; div(phi,k) Gauss upwind; div(phi,epsilon) Gauss upwind; div(phi,R) Gauss upwind; div(phi,omega) Gauss upwind; div((rho*R)) Gauss linear; div(R) Gauss linear; div(U) Gauss linear; div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; div(phi,T) Gauss upwind; } fvSolutions solvers { "(p|pcorr)" { solver GAMG; smoother DICGaussSeidel; tolerance 1e-06; relTol 0.1; } "(p|pcorr)Final" { $p; tolerance 1e-06; relTol 0; } "(U|k|omega)" { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-06; relTol 0.1; } "(U|k|omega)Final" { $U; tolerance 1e-06; relTol 0; } "(T)" { solver BICCG; preconditioner DILU; tolerance 1e-7; relTol 0; } } |
|
June 17, 2024, 04:33 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello Steve,
It could be helpful to share the log file of the command leading to the error message, as well as the full 0/T file. Regards, Yann |
|
June 17, 2024, 14:16 |
problem solved
|
#3 |
New Member
Steve Rix
Join Date: Jun 2024
Posts: 3
Rep Power: 2 |
I have found the problem. My mistake, typo would you believe.
|
|
June 17, 2024, 14:18 |
Solved
|
#4 |
New Member
Steve Rix
Join Date: Jun 2024
Posts: 3
Rep Power: 2 |
I will be sure to include the files next time and thanks for the interest
|
|
Tags |
keyword undefined |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 01:58 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 01:34 |