Skip to content

Commit da5b3bd

Browse files
Merge pull request #55 from mattfalcone1997/shell_tube_test
Create test for shell and tube heat exchanger problem
2 parents 403567b + abcc107 commit da5b3bd

File tree

53 files changed

+1331
-1352
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1331
-1352
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ moose/include/base/Precompiled.h.gch
151151
# OpenFOAM mesh object files
152152
test/**/*.obj
153153

154+
# downloaded mesh tarballs
155+
test/tests/**/*.tar.gz
156+
154157
framework/contrib/exodiff/exodiff
155158

156159
# Mac garbage
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Shell and tube heat exchanger
2+
3+
Here we solve the preCICE [shell and tube heat exchanger](https://precice.org/tutorials-heat-exchanger.html) problem using Hippo.
4+
5+
![Shell and tube heat exchanger](https://precice.org/images/tutorials-heat-exchanger-visualization.png)
6+
7+
The fluid and solid meshes are copied from the tutorial with the solid mesh already converted to the Exodus II format for MOOSE. The case is run using FFTB (heat flux from fluid to solid, wall temperature from solid to fluid) coupling, meaning the solid is run transient. To speed up convergence, the $c_p$ is decreased initially.
8+
9+
`prep.sh` cleans the case, downloads and decompresses the meshes, and partitions the case.
10+
11+
The regression test runs for 10 seconds, but to get a mostly converged solution, it is recommended that simulation the end time is changed to 500 by modifying `solid.i` and the `controlDict` files in `fluid_inner` and `fluid_outer`.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object T;
7+
}
8+
9+
dimensions [0 0 0 1 0 0 0];
10+
11+
internalField uniform 300;
12+
13+
boundaryField
14+
{
15+
outlet
16+
{
17+
type zeroGradient;
18+
}
19+
inlet
20+
{
21+
type fixedValue;
22+
value uniform 283;
23+
}
24+
interface
25+
{
26+
type fixedValue;
27+
value uniform 283;
28+
}
29+
adiabatic
30+
{
31+
type zeroGradient;
32+
}
33+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volVectorField;
6+
object U;
7+
}
8+
9+
dimensions [0 1 -1 0 0 0 0];
10+
11+
internalField uniform (0 0 0);
12+
13+
boundaryField
14+
{
15+
outlet
16+
{
17+
type zeroGradient;
18+
}
19+
inlet
20+
{
21+
type fixedValue;
22+
value uniform (0 0 -0.002);
23+
}
24+
interface
25+
{
26+
type fixedValue;
27+
value uniform (0 0 0);
28+
}
29+
adiabatic
30+
{
31+
type fixedValue;
32+
value uniform (0 0 0);
33+
}
34+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object alphat;
7+
}
8+
9+
dimensions [1 -1 -1 0 0 0 0];
10+
11+
internalField uniform 0;
12+
13+
boundaryField
14+
{
15+
".*"
16+
{
17+
type fixedValue;
18+
value uniform 0;
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object epsilon;
7+
}
8+
9+
dimensions [0 2 -3 0 0 0 0];
10+
11+
internalField uniform 1e-6;
12+
13+
boundaryField
14+
{
15+
".*"
16+
{
17+
type fixedValue;
18+
value uniform 1e-6;
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object k;
7+
}
8+
9+
dimensions [0 2 -2 0 0 0 0];
10+
11+
internalField uniform 0;
12+
13+
boundaryField
14+
{
15+
".*"
16+
{
17+
type fixedValue;
18+
value uniform 0;
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object nut;
7+
}
8+
9+
dimensions [0 2 -1 0 0 0 0];
10+
11+
internalField uniform 0;
12+
13+
boundaryField
14+
{
15+
".*"
16+
{
17+
type fixedValue;
18+
value uniform 0;
19+
}
20+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object p;
7+
}
8+
9+
dimensions [1 -1 -2 0 0 0 0];
10+
11+
internalField uniform 101325;
12+
13+
boundaryField
14+
{
15+
outlet
16+
{
17+
type calculated;
18+
value uniform 101325;
19+
}
20+
inlet
21+
{
22+
type calculated;
23+
value uniform 101325;
24+
}
25+
interface
26+
{
27+
type calculated;
28+
value uniform 101325;
29+
}
30+
adiabatic
31+
{
32+
type calculated;
33+
value uniform 101325;
34+
}
35+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
FoamFile
2+
{
3+
version 2.0;
4+
format ascii;
5+
class volScalarField;
6+
object p_rgh;
7+
}
8+
9+
dimensions [1 -1 -2 0 0 0 0];
10+
11+
internalField uniform 101325;
12+
13+
boundaryField
14+
{
15+
outlet
16+
{
17+
type fixedValue;
18+
value uniform 101325;
19+
}
20+
inlet
21+
{
22+
type zeroGradient;
23+
}
24+
interface
25+
{
26+
type fixedFluxPressure;
27+
gradient uniform 0;
28+
value uniform 101325;
29+
}
30+
adiabatic
31+
{
32+
type fixedFluxPressure;
33+
gradient uniform 0;
34+
value uniform 101325;
35+
}
36+
}

0 commit comments

Comments
 (0)