mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
pointMotion derived cellMotion is equivalent
This commit is contained in:
@ -1,60 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: 1.6 |
|
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object motionU;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
movingWall
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 1;
|
|
||||||
}
|
|
||||||
farFieldMoving
|
|
||||||
{
|
|
||||||
type slip;
|
|
||||||
}
|
|
||||||
fixedWall
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
axis
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
left
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
farField
|
|
||||||
{
|
|
||||||
type slip;
|
|
||||||
}
|
|
||||||
back
|
|
||||||
{
|
|
||||||
type wedge;
|
|
||||||
}
|
|
||||||
front
|
|
||||||
{
|
|
||||||
type wedge;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -27,7 +27,33 @@ boundaryField
|
|||||||
}
|
}
|
||||||
farFieldMoving
|
farFieldMoving
|
||||||
{
|
{
|
||||||
type slip;
|
//type slip;
|
||||||
|
type surfaceSlipDisplacement;
|
||||||
|
geometry
|
||||||
|
{
|
||||||
|
top
|
||||||
|
{
|
||||||
|
type searchablePlane;
|
||||||
|
planeType pointAndNormal;
|
||||||
|
basePoint (0 0.0025 0);
|
||||||
|
normalVector (0 1 0);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// Find projection with surface:
|
||||||
|
// fixedNormal : intersections along prespecified direction
|
||||||
|
// pointNormal : intersections along current pointNormal of patch
|
||||||
|
// nearest : nearest point on surface
|
||||||
|
followMode fixedNormal;
|
||||||
|
|
||||||
|
// if fixedNormal : normal
|
||||||
|
projectDirection (0 1 0);
|
||||||
|
|
||||||
|
//- -1 or component to knock out before doing projection
|
||||||
|
wedgePlane -1;
|
||||||
|
|
||||||
|
//- Points that should remain fixed
|
||||||
|
//frozenPointsZone fixedPointsZone;
|
||||||
}
|
}
|
||||||
fixedWall
|
fixedWall
|
||||||
{
|
{
|
||||||
@ -45,7 +71,28 @@ boundaryField
|
|||||||
}
|
}
|
||||||
farField
|
farField
|
||||||
{
|
{
|
||||||
type slip;
|
//type slip;
|
||||||
|
type surfaceSlipDisplacement;
|
||||||
|
geometry
|
||||||
|
{
|
||||||
|
top
|
||||||
|
{
|
||||||
|
type searchablePlane;
|
||||||
|
planeType pointAndNormal;
|
||||||
|
basePoint (0 0.0025 0);
|
||||||
|
normalVector (0 1 0);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
followMode fixedNormal;
|
||||||
|
|
||||||
|
projectDirection (0 1 0);
|
||||||
|
|
||||||
|
//- -1 or component to knock out before doing projection
|
||||||
|
wedgePlane -1;
|
||||||
|
|
||||||
|
//- Points that should remain fixed
|
||||||
|
//frozenPointsZone fixedPointsZone;
|
||||||
}
|
}
|
||||||
back
|
back
|
||||||
{
|
{
|
||||||
|
|||||||
@ -17,6 +17,9 @@ FoamFile
|
|||||||
|
|
||||||
application pimpleDyMFoam;
|
application pimpleDyMFoam;
|
||||||
|
|
||||||
|
// For surfaceSlip boundary conditions
|
||||||
|
libs ("libfvMotionSolvers.so");
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user