mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
surface imprint tutorial
This commit is contained in:
@ -0,0 +1,114 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "/home/hunt2/mattijs/OpenFOAM/mattijs-1.4/run/testLoop1.4/moveMesh";
|
||||
case "cone";
|
||||
instance "0";
|
||||
local "";
|
||||
|
||||
class pointVectorField;
|
||||
object pointMotionU;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 0 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
maxZ
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
minZ
|
||||
{
|
||||
type surfaceDisplacement;
|
||||
value uniform (0 0 0);
|
||||
|
||||
// Clip displacement to surface by max deltaT*velocity.
|
||||
velocity (10 10 10);
|
||||
|
||||
geometry
|
||||
{
|
||||
AcrossRiver.stl
|
||||
{
|
||||
type triSurfaceMesh;
|
||||
}
|
||||
};
|
||||
|
||||
// Find projection with surface:
|
||||
// fixedNormal : intersections along prespecified direction
|
||||
// pointNormal : intersections along current pointNormal of patch
|
||||
// nearest : nearest point on surface
|
||||
// Other
|
||||
projectMode fixedNormal;
|
||||
|
||||
// if fixedNormal : normal
|
||||
projectDirection (0 0 1);
|
||||
|
||||
//- -1 or component to knock out before doing projection
|
||||
wedgePlane -1;
|
||||
|
||||
//- Points that should remain fixed
|
||||
//frozenPointsZone fixedPointsZone;
|
||||
}
|
||||
|
||||
// minZ
|
||||
// {
|
||||
// type surfaceSlipDisplacement;
|
||||
// geometry
|
||||
// {
|
||||
// hellskull.stl
|
||||
// {
|
||||
// type triSurfaceMesh;
|
||||
// }
|
||||
// };
|
||||
//
|
||||
// followMode fixedNormal;
|
||||
//
|
||||
// projectDirection (0 0 1);
|
||||
//
|
||||
// //- -1 or component to knock out before doing projection
|
||||
// wedgePlane -1;
|
||||
//
|
||||
// //- Points that should remain fixed
|
||||
// //frozenPointsZone fixedPointsZone;
|
||||
// }
|
||||
|
||||
maxX
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
|
||||
minX
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
|
||||
minY
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
|
||||
maxY
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user