openfoam/tutorials/mesh/moveDynamicMesh/faceZoneBlock/0/pointDisplacement
2024-12-12 16:13:32 +00:00

69 lines
1.5 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2309 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
arch "LSB;label=32;scalar=64";
class pointVectorField;
location "0";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
movingZone
{
type uniformFixedValue;
uniformValue table
(
( 0.0 (0 0 0))
( 5.0 (0.2 0 0))
(10.0 (0 0 0))
);
}
movingZoneEdges
{
//type slip;
${movingZone}
}
minX
{
type slip;
}
maxX
{
$minX
}
minY
{
$minX
}
maxY
{
$minX
}
minZ
{
$minX
}
maxZ
{
$minX
}
}
// ************************************************************************* //