Merge branch 'feature-snappyHexMesh' into feature-snappyHexMesh-gapRefinement

This commit is contained in:
mattijs
2015-11-03 12:55:32 +00:00
45 changed files with 1853 additions and 342 deletions

View File

@ -41,6 +41,11 @@ sixDoFRigidBodyMotionCoeffs
rhoInf 1;
report on;
solver
{
type symplectic;
}
constraints
{
yLine

View File

@ -31,9 +31,16 @@ sixDoFRigidBodyMotionCoeffs
momentOfInertia (40 921 921);
rhoInf 1;
report on;
accelerationRelaxation 0.3;
value uniform (0 0 0);
accelerationRelaxation 0.4;
solver
{
type Newmark;
}
constraints
{
zAxis

View File

@ -60,7 +60,7 @@ solvers
cacheAgglomeration true;
tolerance 5e-8;
relTol 0.001;
relTol 0;
};
p_rghFinal
@ -86,8 +86,8 @@ PIMPLE
{
momentumPredictor no;
nOuterCorrectors 1;
nCorrectors 3;
nOuterCorrectors 3;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
correctPhi yes;

View File

@ -59,7 +59,12 @@ sixDoFRigidBodyMotionCoeffs
};
report on;
accelerationRelaxation 0.3;
accelerationRelaxation 0.7;
solver
{
type Newmark;
}
constraints
{

View File

@ -117,7 +117,7 @@ solvers
PIMPLE
{
momentumPredictor no;
nOuterCorrectors 5;
nOuterCorrectors 3;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
correctPhi yes;

View File

@ -1,67 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
solver sixDoFRigidBodyMotion;
sixDoFRigidBodyMotionCoeffs
{
patches (hull);
innerDistance 0.3;
outerDistance 1;
centreOfMass (2.929541 0 0.2);
mass 412.73;
momentOfInertia (40 921 921);
rhoInf 1;
report on;
accelerationRelaxation 0.3;
value uniform (0 0 0);
constraints
{
zAxis
{
sixDoFRigidBodyMotionConstraint line;
direction (0 0 1);
}
yPlane
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
}
restraints
{
translationDamper
{
sixDoFRigidBodyMotionRestraint linearDamper;
coeff 8596;
}
rotationDamper
{
sixDoFRigidBodyMotionRestraint sphericalAngularDamper;
coeff 11586;
}
}
}
// ************************************************************************* //

View File

@ -22,19 +22,22 @@ boundaryField
{
inlet
{
type fixedFluxPressure;
value $internalField;
type fixedFluxPressure;
value $internalField;
}
outlet
{
type prghPressure;
p $internalField;
value $internalField;
type prghTotalPressure;
p0 $internalField;
U U.air;
phi phi.air;
rho rho.air;
value $internalField;
}
walls
{
type fixedFluxPressure;
value $internalField;
type fixedFluxPressure;
value $internalField;
}
}

View File

@ -87,6 +87,11 @@ PIMPLE
relaxationFactors
{
fields
{
iDmdt 1;
}
equations
{
".*" 1;