Skip to content
Snippets Groups Projects
Commit 7c1ca7af authored by felix's avatar felix
Browse files

situation for steady state

parent 1d13cd5d
No related branches found
No related tags found
No related merge requests found
N 8; N 6;
...@@ -21,14 +21,14 @@ rx 3.5355339059327373; ...@@ -21,14 +21,14 @@ rx 3.5355339059327373;
// = // rx #calc "5.0 / Foam::sqrt(2.0)"; // length of short side of rectangular triangle with long side =5 // = // rx #calc "5.0 / Foam::sqrt(2.0)"; // length of short side of rectangular triangle with long side =5
arcNx #calc "2 * $N"; // 2 so that 2 would be possible (used formerly for pipeNx) arcNx #calc "2 * $N"; // 2 so that 2 would be possible (used formerly for pipeNx)
arcNy #calc "2 * $N"; arcNy #calc "4 * $N";
arcGradingX 0.2; arcGradingX 1;
// outer side has length 40 or 41), // outer side has length 40 or 41),
// inner length is 5 * pi/2, so inner cells must be 5 * pi / 2 / 40 times as big: // inner length is 5 * pi/2, so inner cells must be 5 * pi / 2 / 40 times as big:
// 0.1963, so 0.2 is close enough // 0.1963, so 0.2 is close enough
pipeNx #calc "3 * $arcNx"; pipeNx #calc "4 * $arcNx";
// is 4.5 times as long as first part around cylinder, but a lot less is happening // is 4.5 times as long as first part around cylinder, but a lot less is happening
pipeGrading 3; pipeGrading 12;
// should adjust grading in a way that there is no big size difference at boundary between square around cylinder and // should adjust grading in a way that there is no big size difference at boundary between square around cylinder and
// pipe part // pipe part
......
...@@ -25,14 +25,15 @@ startTime 0; ...@@ -25,14 +25,15 @@ startTime 0;
stopAt endTime; stopAt endTime;
endTime 20; // endTime 20;
endTime 2;
//deltaT #calc "0.02 / $N"; //deltaT #calc "0.02 / $N";
deltaT 0.02; deltaT 0.02;
writeControl runTime; writeControl runTime;
writeInterval 0.5; writeInterval 0.02;
purgeWrite 0; purgeWrite 0;
......
...@@ -42,8 +42,8 @@ solvers ...@@ -42,8 +42,8 @@ solvers
PISO PISO
{ {
nCorrectors 5; nCorrectors 6;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 2;
pRefCell 0; pRefCell 0;
pRefValue 0; pRefValue 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment