Skip to content
Snippets Groups Projects
Commit 9760c1c5 authored by graham's avatar graham
Browse files

STYLE: floatingObject tutorial. Brace indentation and removal of

default values for motion state.
parent 9259d4f6
No related branches found
No related tags found
No related merge requests found
...@@ -38,12 +38,6 @@ boundaryField ...@@ -38,12 +38,6 @@ boundaryField
momentOfInertia (0.08622222 0.08622222 0.144); momentOfInertia (0.08622222 0.08622222 0.144);
mass 9.6; mass 9.6;
rhoInf 1; // for forces calculation rhoInf 1; // for forces calculation
// See sixDoFRigidBodyMotionState
Q (1 0 0 0 1 0 0 0 1);
v (0 0 0);
a (0 0 0);
pi (0 0 0);
tau (0 0 0);
value uniform (0 0 0); value uniform (0 0 0);
} }
} }
......
...@@ -18,7 +18,7 @@ FoamFile ...@@ -18,7 +18,7 @@ FoamFile
solvers solvers
{ {
cellDisplacement cellDisplacement
{ {
solver GAMG; solver GAMG;
tolerance 1e-08; tolerance 1e-08;
relTol 0; relTol 0;
...@@ -27,7 +27,7 @@ solvers ...@@ -27,7 +27,7 @@ solvers
nCellsInCoarsestLevel 10; nCellsInCoarsestLevel 10;
agglomerator faceAreaPair; agglomerator faceAreaPair;
mergeLevels 1; mergeLevels 1;
} }
pcorr pcorr
{ {
...@@ -117,7 +117,7 @@ PISO ...@@ -117,7 +117,7 @@ PISO
nAlphaCorr 1; nAlphaCorr 1;
nAlphaSubCycles 1; nAlphaSubCycles 1;
cAlpha 1.5; cAlpha 1.5;
correctPhi no; correctPhi yes;
} }
relaxationFactors relaxationFactors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment