FoamFile: 'version' entry is now optional, defaulting to 2.0

The FOAM file format has not changed from version 2.0 in many years and so there
is no longer a need for the 'version' entry in the FoamFile header to be
required and to reduce unnecessary clutter it is now optional, defaulting to the
current file format 2.0.
This commit is contained in:
Henry Weller
2021-06-23 20:50:10 +01:00
parent b28947604c
commit 01494463d0
4489 changed files with 17 additions and 4539 deletions

View File

@ -7,7 +7,6 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;

View File

@ -7,7 +7,6 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;

View File

@ -7,7 +7,6 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";

View File

@ -7,7 +7,6 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;

View File

@ -7,7 +7,6 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";

View File

@ -7,7 +7,6 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";

View File

@ -7,7 +7,6 @@
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";