Now pimpleDyMFoam is exactly equivalent to pimpleFoam when running on a staticFvMesh. Also when the constant/dynamicMeshDict is not present a staticFvMesh is automatically constructed so that the pimpleDyMFoam solver can run any pimpleFoam case without change. pimpleDyMFoam: Store Uf as an autoPtr for better error handling pimpleFoam: Set initial deltaT from the Courant number for improved stability on start-up and compatibility with pimpleDyMFoam ENH: pimpleFoam: Merged dynamic mesh functionality of pimpleDyMFoam into pimpleFoam and replaced pimpleDyMFoam with a script which reports this change. The pimpleDyMFoam tutorials have been moved into the pimpleFoam directory. This change is the first of a set of developments to merge dynamic mesh functionality into the standard solvers to improve consistency, usability, flexibility and maintainability of these solvers. Henry G. Weller CFD Direct Ltd. tutorials/incompressible/pimpleFoam: Updated pimpleDyMFoam tutorials to run pimpleFoam Renamed tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion2D_pimpleDyMFoam -> tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion2D_pimpleFoam
75 lines
2.0 KiB
C++
75 lines
2.0 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
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;
|
|
|
|
// Patches to create.
|
|
patches
|
|
(
|
|
{
|
|
//- Master side patch
|
|
name AMI1;
|
|
patchInfo
|
|
{
|
|
type cyclicAMI;
|
|
matchTolerance 0.0001;
|
|
neighbourPatch AMI2;
|
|
transform noOrdering;
|
|
}
|
|
constructFrom patches;
|
|
patches (innerCylinderSmall);
|
|
}
|
|
|
|
{
|
|
//- Slave side patch
|
|
name AMI2;
|
|
patchInfo
|
|
{
|
|
type cyclicAMI;
|
|
matchTolerance 0.0001;
|
|
neighbourPatch AMI1;
|
|
transform noOrdering;
|
|
}
|
|
constructFrom patches;
|
|
patches (innerCylinderSmall_slave);
|
|
}
|
|
|
|
|
|
{
|
|
name inlet;
|
|
patchInfo
|
|
{
|
|
type patch;
|
|
}
|
|
constructFrom set;
|
|
set inletFaces;
|
|
}
|
|
{
|
|
name outlet;
|
|
patchInfo
|
|
{
|
|
type patch;
|
|
}
|
|
constructFrom set;
|
|
set outletFaces;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|