so that the specification of the name and dimensions are optional in property dictionaries. Update tutorials so that the name of the dimensionedScalar property is no longer duplicated but optional dimensions are still provided and are checked on read.
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object engineGeometry;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
engineMesh layered;
|
|
|
|
conRodLength conRodLength [0 1 0 0 0 0 0] 0.147;
|
|
|
|
bore bore [0 1 0 0 0 0 0] 0.092;
|
|
|
|
stroke stroke [0 1 0 0 0 0 0] 0.08423;
|
|
|
|
clearance clearance [0 1 0 0 0 0 0] 0.00115;
|
|
|
|
rpm rpm [0 0 -1 0 0 0 0] 1500;
|
|
|
|
|
|
// ************************************************************************* //
|