34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object testDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dictThreeA "alpha + beta";
|
|
|
|
dictThreeB "dictThreeA + alpha";
|
|
|
|
// Uh oh - a duplicate variable. equationReader doesn't check for these.
|
|
// It's anyone's guess which one will be used...
|
|
arbitrary 1;
|
|
|
|
// This one will still be parsed, even though it is a single constant
|
|
alpha "7.0";
|
|
|
|
gamma "epsilon + whatever";
|
|
|
|
epsilon 0.001;
|
|
|
|
theta 0.665;
|
|
|
|
whatever 8.5;//elseYouWant [0 0 0 0 0 0 0] 8.5;
|