mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: overset: demo some motion. See #2711.
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
Transient, steady mesh
|
||||
-----------------------
|
||||
Transient, moving mesh
|
||||
----------------------
|
||||
|
||||
cylinderMesh/
|
||||
For generating (2D) mesh cylinder mesh
|
||||
|
||||
cylinderAndBackground/
|
||||
BlockMesh for background and running
|
||||
|
||||
0.orig/pointDisplacement set up to use table driven motion. Set bc of
|
||||
walls to e.g. uniformValue (0 0 0) to have steady mesh.
|
||||
|
||||
@ -0,0 +1,47 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2306 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
object cellDisplacement;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 0 0 0 0 0];
|
||||
|
||||
internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
overset
|
||||
{
|
||||
patchType overset;
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
// Cylinder wall
|
||||
walls
|
||||
{
|
||||
type cellMotion;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
// Outside patches
|
||||
".*"
|
||||
{
|
||||
type cellMotion;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -20,18 +20,29 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
overset
|
||||
{
|
||||
patchType overset;
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
// Cylinder wall
|
||||
walls
|
||||
{
|
||||
type uniformFixedValue;
|
||||
uniformValue (0 0 0);
|
||||
uniformValue table
|
||||
(
|
||||
(0 (0 0 0))
|
||||
(0.5 (0 0 1))
|
||||
(1 (0 0 0))
|
||||
(1.5 (0 0 -1))
|
||||
(2 (0 0 0))
|
||||
);
|
||||
}
|
||||
|
||||
// Outside patches
|
||||
".*"
|
||||
{
|
||||
type uniformFixedValue;
|
||||
|
||||
Reference in New Issue
Block a user