ENH: rigidbodyDynamics: prescribed rotation + testcase

See:
src/rigidBodyDynamics/restraints/prescribedRotation
tutorials/multiphase/overInterDyMFoam/boatAndPropeller
This commit is contained in:
Matej Forman
2018-04-19 17:54:24 +01:00
committed by mattijs
parent 5848b0afd5
commit 5b9c4ceae5
38 changed files with 2526 additions and 9 deletions

View File

@ -0,0 +1,38 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue alpha.water 0
);
regions
(
boxToCell
{
box ( -100 -100 -100 ) ( 100 0.0 100 );
fieldValues ( volScalarFieldValue alpha.water 1 );
}
boxToFace
{
box ( -100 -100 -100 ) ( 100 0.0 100 );
fieldValues ( volScalarFieldValue alpha.water 1 );
}
);
// ************************************************************************* //