Skip to content

Commit a15c506

Browse files
committed
Add SimpleHeatFin CHT regression test
1 parent c3466c7 commit a15c506

47 files changed

Lines changed: 2663 additions & 5 deletions

Some content is hidden

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

Data/Templates/case/Allrun

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ NPROC=$(foamDictionary -entry "numberOfSubdomains" -value system/decomposeParDic
409409
runParallel $NPROC renumberMesh -overwrite
410410
%}
411411
%}
412+
%}
412413
%:True
413414
# Mesh renumbering does not work in Foundation with dynamic mesh
414415
%}
@@ -490,6 +491,7 @@ fi
490491
runCommand renumberMesh -overwrite
491492
%}
492493
%}
494+
%}
493495
%:True
494496
# Mesh renumbering does not currently work in Foundation with dynamic mesh
495497
# runCommand renumberMesh -overwrite
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| |
3+
| Generated by the CfdOF workbench for FreeCAD |
4+
| https://github.com/jaheyns/CfdOF |
5+
| |
6+
\*---------------------------------------------------------------------------*/
7+
FoamFile
8+
{
9+
version 2.0;
10+
format ascii;
11+
class volScalarField;
12+
location "0/FluidProperties";
13+
object T;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 0 0 1 0 0 0];
18+
19+
internalField uniform 293.0;
20+
21+
boundaryField
22+
{
23+
wall001
24+
{
25+
type zeroGradient;
26+
value $internalField;
27+
}
28+
29+
inlet
30+
{
31+
type inletOutlet;
32+
inletValue uniform 293.0;
33+
value uniform 293.0;
34+
}
35+
36+
outlet
37+
{
38+
type inletOutlet;
39+
inletValue uniform 293.0;
40+
value $internalField;
41+
}
42+
43+
44+
FluidProperties_to_aluminium
45+
{
46+
type compressible::turbulentTemperatureCoupledBaffleMixed;
47+
value $internalField;
48+
Tnbr T;
49+
kappaMethod fluidThermo;
50+
}
51+
52+
defaultFaces
53+
{
54+
type zeroGradient;
55+
}
56+
}
57+
58+
// ************************************************************************* //
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| |
3+
| Generated by the CfdOF workbench for FreeCAD |
4+
| https://github.com/jaheyns/CfdOF |
5+
| |
6+
\*---------------------------------------------------------------------------*/
7+
FoamFile
8+
{
9+
version 2.0;
10+
format ascii;
11+
class volVectorField;
12+
location "0/FluidProperties";
13+
object U;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 1 -1 0 0 0 0];
18+
19+
internalField uniform (0.0 0.0 0.0);
20+
21+
boundaryField
22+
{
23+
wall001
24+
{
25+
type noSlip;
26+
}
27+
28+
inlet
29+
{
30+
type fixedValue;
31+
value uniform (0.0 0.1 0.0);
32+
}
33+
34+
outlet
35+
{
36+
type pressureInletOutletVelocity;
37+
value uniform (0 0 0);
38+
}
39+
40+
41+
FluidProperties_to_aluminium
42+
{
43+
type noSlip;
44+
}
45+
46+
defaultFaces
47+
{
48+
type noSlip;
49+
}
50+
}
51+
52+
// ************************************************************************* //
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| |
3+
| Generated by the CfdOF workbench for FreeCAD |
4+
| https://github.com/jaheyns/CfdOF |
5+
| |
6+
\*---------------------------------------------------------------------------*/
7+
FoamFile
8+
{
9+
version 2.0;
10+
format ascii;
11+
class volScalarField;
12+
location "0/FluidProperties";
13+
object p;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [1 -1 -2 0 0 0 0];
18+
19+
internalField uniform 100000.0;
20+
21+
boundaryField
22+
{
23+
wall001
24+
{
25+
type calculated;
26+
value $internalField;
27+
}
28+
29+
inlet
30+
{
31+
type calculated;
32+
value $internalField;
33+
}
34+
35+
outlet
36+
{
37+
type calculated;
38+
value $internalField;
39+
}
40+
41+
42+
FluidProperties_to_aluminium
43+
{
44+
type calculated;
45+
value $internalField;
46+
}
47+
48+
defaultFaces
49+
{
50+
type calculated;
51+
value $internalField;
52+
}
53+
}
54+
55+
// ************************************************************************* //
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| |
3+
| Generated by the CfdOF workbench for FreeCAD |
4+
| https://github.com/jaheyns/CfdOF |
5+
| |
6+
\*---------------------------------------------------------------------------*/
7+
FoamFile
8+
{
9+
version 2.0;
10+
format ascii;
11+
class volScalarField;
12+
location "0/FluidProperties";
13+
object p_rgh;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [1 -1 -2 0 0 0 0];
18+
19+
internalField uniform 100000.0;
20+
21+
boundaryField
22+
{
23+
wall001
24+
{
25+
type fixedFluxPressure;
26+
value $internalField;
27+
}
28+
29+
inlet
30+
{
31+
type fixedFluxPressure;
32+
value $internalField;
33+
}
34+
35+
outlet
36+
{
37+
type fixedValue;
38+
value uniform 100000.0;
39+
}
40+
41+
42+
FluidProperties_to_aluminium
43+
{
44+
type fixedFluxPressure;
45+
value $internalField;
46+
}
47+
48+
defaultFaces
49+
{
50+
type fixedFluxPressure;
51+
value $internalField;
52+
}
53+
}
54+
55+
// ************************************************************************* //
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| |
3+
| Generated by the CfdOF workbench for FreeCAD |
4+
| https://github.com/jaheyns/CfdOF |
5+
| |
6+
\*---------------------------------------------------------------------------*/
7+
FoamFile
8+
{
9+
version 2.0;
10+
format ascii;
11+
class volScalarField;
12+
location "0/aluminium";
13+
object T;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [0 0 0 1 0 0 0];
18+
19+
internalField uniform 293.0;
20+
21+
boundaryField
22+
{
23+
heatsource001
24+
{
25+
type fixedValue;
26+
value uniform 393.0;
27+
}
28+
29+
30+
aluminium_to_FluidProperties
31+
{
32+
type compressible::turbulentTemperatureCoupledBaffleMixed;
33+
value $internalField;
34+
Tnbr T;
35+
kappaMethod solidThermo;
36+
}
37+
38+
defaultFaces
39+
{
40+
type zeroGradient;
41+
}
42+
}
43+
44+
// ************************************************************************* //
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*--------------------------------*- C++ -*----------------------------------*\
2+
| |
3+
| Generated by the CfdOF workbench for FreeCAD |
4+
| https://github.com/jaheyns/CfdOF |
5+
| |
6+
\*---------------------------------------------------------------------------*/
7+
FoamFile
8+
{
9+
version 2.0;
10+
format ascii;
11+
class volScalarField;
12+
location "0/aluminium";
13+
object p;
14+
}
15+
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16+
17+
dimensions [1 -1 -2 0 0 0 0];
18+
19+
internalField uniform 100000.0;
20+
21+
boundaryField
22+
{
23+
heatsource001
24+
{
25+
type calculated;
26+
value $internalField;
27+
}
28+
29+
30+
// Derived from p_rgh at fluid-solid interface
31+
defaultFaces
32+
{
33+
type calculated;
34+
value $internalField;
35+
}
36+
}
37+
38+
// ************************************************************************* //

0 commit comments

Comments
 (0)