/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object testDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Test some parsing // #default internalField uniform 10; // #default dimensions [ 0 2 -2 0 0 0 0 ]; active { type turbulentIntensityKineticEnergyInlet; intensity 0.1; value $internalField; } // #inputMode error active { type turbulentIntensityKineticEnergyInlet; intensity 0.1; value 100; } (U|k|epsilon|omega) { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-6; relTol 0; } /* ; */ (rho) smoothSolver //OK smoothSolver // <- missing ';' as well // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //