Skip to content

Commit d2f38ea

Browse files
committed
extend OpenFOAM simulation time to 10000 to arrive at stationary solution
1 parent ec42490 commit d2f38ea

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

benchmarks/rotating-cylinders/openfoam/Snakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rule run_simulation_container:
1212
input:
1313
template="system/blockMeshDict.template"
1414
output:
15-
directory("1000"),
15+
directory("10000"),
1616
touch("postProcessing/done")
1717
params:
1818
r0=config["domain"]["r1"],

benchmarks/rotating-cylinders/openfoam/plot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ gnuplot<<EOF
2828
C = 0.5*A*A*R1*R1 + 2.*A*B*log(R1) - 0.5*B*B/R1/R1
2929
analytical_p(r) = 0.5*A*A*r*r + 2.*A*B*log(r) - 0.5*B*B/r/r - C
3030
31-
samples="postProcessing/sample1/1000/centreLine_p_U.xy"
31+
samples="postProcessing/sample1/10000/centreLine_p_U.xy"
3232
3333
set ylabel "Pressure, p"
3434
set samples 20

benchmarks/rotating-cylinders/openfoam/system/controlDict

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ startTime 0;
2323

2424
stopAt endTime;
2525

26-
endTime 1000;
26+
endTime 10000;
2727

2828
deltaT 1;
2929

3030
writeControl timeStep;
3131

32-
writeInterval 10;
32+
writeInterval 10000;
3333

34-
purgeWrite 3;
34+
purgeWrite 0;
3535

3636
writeFormat ascii;
3737

0 commit comments

Comments
 (0)