ENH: Enable coherent XiFoam/icoFoam parallel run
- Enable parallel runs with XiFoam and icoFoam in coherent format. Reading and, thus, startup is supported only from uniform fields. - Refactor IOobject. Trait is_coherentIOobject is now used directly in typeHeaderOk() with SFINAE. Often the header and object type is checked via a base IOobject and the type is provided via the function template parameter: IOobject header ( ... ); header.typeHeaderOk<volScalarField>(true); The change allows to move the corresponding logic from GeometricField back to IOobject. - In the two solvers, disable processor directories check by argList that otherwise leads to a fatal error.
Showing
- applications/solvers/combustion/XiFoam/XiFoam.C 15 additions, 0 deletionsapplications/solvers/combustion/XiFoam/XiFoam.C
- applications/solvers/incompressible/icoFoam/icoFoam.C 12 additions, 3 deletionsapplications/solvers/incompressible/icoFoam/icoFoam.C
- src/OpenFOAM/db/IOobject/IOobject.H 48 additions, 11 deletionssrc/OpenFOAM/db/IOobject/IOobject.H
- src/OpenFOAM/db/IOobject/IOobjectReadHeader.C 89 additions, 0 deletionssrc/OpenFOAM/db/IOobject/IOobjectReadHeader.C
- src/OpenFOAM/db/IOobject/IOobjectTemplates.C 22 additions, 1 deletionsrc/OpenFOAM/db/IOobject/IOobjectTemplates.C
- src/OpenFOAM/db/IOstreams/SliceStreams/IFCstream.txx 5 additions, 1 deletionsrc/OpenFOAM/db/IOstreams/SliceStreams/IFCstream.txx
- src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricField.C 29 additions, 141 deletions...AM/fields/GeometricFields/GeometricField/GeometricField.C
Please register or sign in to comment