pointMotion derived cellMotion is equivalent
This commit is contained in:
parent
c178021ebc
commit
09e1bfa865
@ -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
|
||||
{
|
||||
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
|
||||
{
|
||||
@ -45,7 +71,28 @@ boundaryField
|
||||
}
|
||||
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
|
||||
{
|
||||
|
@ -17,6 +17,9 @@ FoamFile
|
||||
|
||||
application pimpleDyMFoam;
|
||||
|
||||
// For surfaceSlip boundary conditions
|
||||
libs ("libfvMotionSolvers.so");
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
startTime 0;
|
||||
|
Loading…
Reference in New Issue
Block a user