Skip to content

Commit bd8be4d

Browse files
committed
Configure LES for abruptContraction/interPhaseChangeFoam case
1 parent 83fab0c commit bd8be4d

File tree

5 files changed

+31
-20
lines changed

5 files changed

+31
-20
lines changed

abruptContraction/interPhaseChangeFoam/0.orig/U

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,24 @@ boundaryField
2323
{
2424
inlet
2525
{
26-
type pressureInletVelocity;
27-
value $internalField;
26+
type fixedValue;
27+
value uniform (5 0 0);
2828
}
2929
outlet
3030
{
31-
type pressureInletOutletVelocity;
32-
phi phi;
33-
value $internalField;
31+
type zeroGradient;
3432
}
3533
side
3634
{
37-
type fixedValue;
38-
value uniform (0 0 0);
35+
type noSlip;
3936
}
4037
walls
4138
{
42-
type fixedValue;
43-
value uniform (0 0 0);
39+
type noSlip;
4440
}
4541
symmetry
4642
{
47-
type fixedValue;
48-
value uniform (0 0 0);
43+
type noSlip;
4944
}
5045
}
5146

abruptContraction/interPhaseChangeFoam/0.orig/p_rgh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,26 @@ boundaryField
2323
{
2424
inlet
2525
{
26-
type fixedValue;
27-
value 154820; //experimental value
26+
type zeroGradient;
2827
}
2928

3029
outlet
3130
{
3231
type fixedValue;
33-
value 100952; //experimental value
32+
value 72000; //experimental value
3433
}
3534

3635
walls
3736
{
38-
type fixedFluxPressure;
37+
type zeroGradient;
3938
}
4039
side
4140
{
42-
type fixedFluxPressure;
41+
type zeroGradient;
4342
}
4443
symmetry
4544
{
46-
type fixedFluxPressure;
45+
type zeroGradient;
4746
}
4847
}
4948

abruptContraction/interPhaseChangeFoam/Allrun

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runApplication blockMesh
1010
cp -r 0.orig 0
1111

1212
# Initialise with potentialFoam solution
13-
runApplication potentialFoam -pName p_rgh
13+
# runApplication potentialFoam -pName p_rgh
1414

1515
# Run the solver
1616
runApplication `getApplication`

abruptContraction/interPhaseChangeFoam/constant/turbulenceProperties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ FoamFile
1515
}
1616
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
1717

18-
//simulationType LES;
19-
simulationType laminar;
18+
simulationType LES;
19+
//simulationType laminar;
2020

2121
LES
2222
{

abruptContraction/interPhaseChangeFoam/system/fvSolution

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,23 @@ solvers
9797
$p_rgh;
9898
relTol 0;
9999
};
100+
101+
"(U|k|B|nuTilda|s)"
102+
{
103+
solver smoothSolver;
104+
smoother GaussSeidel;
105+
tolerance 1e-05;
106+
relTol 0;
107+
};
108+
109+
"(U|k|nuTilda)Final"
110+
{
111+
$U;
112+
tolerance 1e-05;
113+
relTol 0;
114+
};
115+
116+
100117
}
101118

102119
potentialFlow

0 commit comments

Comments
 (0)