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.
47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object createPatchDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Do a synchronisation of coupled points after creation of any patches.
|
|
// Note: this does not work with points that are on multiple coupled patches
|
|
// with transformations (i.e. cyclics).
|
|
pointSync false;
|
|
|
|
// Optional: Write cyclic matches into .obj format; defaults to false.
|
|
writeCyclicMatch false;
|
|
|
|
// Patches to create.
|
|
patches
|
|
(
|
|
{
|
|
// Name of new patch
|
|
name floatingObjectBottom;
|
|
|
|
// Dictionary to construct new patch from
|
|
patchInfo
|
|
{
|
|
type wall;
|
|
}
|
|
|
|
// How to construct: either from 'patches' or 'set'
|
|
constructFrom set;
|
|
|
|
// If constructFrom = set : name of faceSet
|
|
set floatingObjectBottom;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|