Skip to content

Commit fce9d1c

Browse files
pcarruscagTobiKattmanncvencroWallyMaierEvertBunschoten
authored
Develop (#90)
* add restart file * Add files for unsteady CHT adjoint case. Mesh adn primal solution files. * Regression test for dyn discadj fsi (#62) * add regression test for dyn discadj fsi * add element files * switch to dat files * remove gradient file * Added little fluid mesh for heat transfer bc. This is the fluid zone of the multizone mesh. (#68) * Created feature_turbo_bodyforce branch with testcase mesh * Add mesh file and TargetEA.dat for PR 1329 (#65) * Add mesh file and TargetEA.dat for PR 1329 * Add direct solution for adjoint calculation * Replace with coarser mesh * Update FFD box (#69) * Update solution file (#72) * added testcase for wallfunctions * change filename * update restart file * moved flatplate testcase for wallfunctions into wallfunctions/flatplate * Add periodic pins Testcase (#76) * Test cases for turbulence modeling Create a test cases directory to verify turbulence models and their variants. Done for the SA model. Selected the RANS/RAE2822 airfoil as test case. * add flamelet testcase with lookup table * Revert "add flamelet testcase with lookup table" This reverts commit 9a584a1. * rename viscwedge folder * Updated reference gradient file in radiation/p1adjoint for the coupled RHT-CFD regression test. (#84) Co-authored-by: Thomas Dick <[email protected]> * update restart file after fix (#85) * Feature species transport (#78) * Add passive species transport mesh and gmsh geo. * Add primitive venturi mesh for species mixing. * convert cgns test to hdf5 * Feature sobolev smoothing solver (#88) * Sobolev gradient smoothing test case meshes and solution files added. * Updated reference file for the Coupled RHT-CFD Adjoint test case in serial_regression_AD.py. * Adapted reference files for Sobolev smoothing regression test after latest commits. * Fixed an inconsistency in grad_smooth/naca0012/of_hess.dat.ref * Adapted grad_smooth tests for new accuracy setting. * Adopted grad_smooth regression tests for change to SU2_DOT_AD. * moved filediff reference files to main SU2 repo and made NACA0012 mesh a symlink. Co-authored-by: Thomas Dick <[email protected]> Co-authored-by: TobiKattmann <[email protected]> Co-authored-by: Charanya <[email protected]> Co-authored-by: Wally Maier <[email protected]> Co-authored-by: TobiKattmann <[email protected]> Co-authored-by: EvertBunschoten <[email protected]> Co-authored-by: snow54 <[email protected]> Co-authored-by: bigfooted <[email protected]> Co-authored-by: FlorianDm <[email protected]> Co-authored-by: Florian <[email protected]> Co-authored-by: Nijso <[email protected]> Co-authored-by: Guillermo Suarez <[email protected]> Co-authored-by: nbe0dev <[email protected]> Co-authored-by: suargi <[email protected]> Co-authored-by: thomasdick <[email protected]> Co-authored-by: Thomas Dick <[email protected]> Co-authored-by: Mickael Philit <[email protected]>
1 parent 6bf9f26 commit fce9d1c

File tree

13 files changed

+111672
-1
lines changed

13 files changed

+111672
-1
lines changed
0 Bytes
Binary file not shown.

euler/wedge/mesh_wedge_inv.cgns

23.2 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../euler/naca0012/mesh_NACA0012_inv.su2
368 KB
Binary file not shown.

grad_smooth/oneram6/mesh_tutorial_ffd.su2

Lines changed: 97763 additions & 0 deletions
Large diffs are not rendered by default.
4.96 MB
Binary file not shown.

radiation/p1adjoint/of_grad_cd.csv.ref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"VARIABLE" , "GRADIENT" , "FINDIFF_STEP"
22
0 , -0.000954218 , 0.001
3-
1 , -0.00432385 , 0.001
3+
1 , -0.00432384 , 0.001
44
2 , -0.0111485 , 0.001
55
3 , -0.0214656 , 0.001
66
4 , -0.0344212 , 0.001
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
// ----------------------------------------------------------------------------------- //
2+
// Tobias Kattmann, 24.09.2021, 2D rectangle for mixing validation testcase
3+
// ----------------------------------------------------------------------------------- //
4+
5+
// Evoque Meshing Algorithm?
6+
Do_Meshing= 1; // 0=false, 1=true
7+
// Write Mesh files in .su2 format
8+
Write_mesh= 1; // 0=false, 1=true
9+
10+
// Geometric inputs
11+
length= 10; // downstream direction
12+
height= 5; // crossstream direction, full length
13+
border= 1; // height of gas inlet, height-border= air inlet length
14+
15+
// Mesh sizing inputs. Note that the #cells+Prgression needs some fiddeling such that mesh size at the border fits.
16+
Nl= 50; // Nodes in 'l'ength direction
17+
Nhg= 25; // Nodes in 'h eight direction of the 'g'as side
18+
Rhg= 0.9; // Progression of gas side [0,1], lower means more agressive
19+
Nha= 40; // Nodes in 'h eight direction of the 'a'ir side
20+
Rha= 0.9; // Progression of air side [0,1], lower means more agressive
21+
22+
gridsize= 0.1; // Later on not important as structured mesh is achieved
23+
24+
// ----------------------------------------------------------------------------------- //
25+
// POINTS
26+
27+
// Starting in the origin, which is the most low-left point, and going clockwise.
28+
29+
Point(1) = {0, 0, 0, gridsize};
30+
Point(2) = {0, border, 0, gridsize};
31+
Point(3) = {0, height, 0, gridsize};
32+
Point(4) = {length, height, 0, gridsize};
33+
Point(5) = {length, border, 0, gridsize};
34+
Point(6) = {length, 0, 0, gridsize};
35+
36+
// ----------------------------------------------------------------------------------- //
37+
// LINES
38+
39+
// gas inlet
40+
Line(1) = {1,2};
41+
// air inlet
42+
Line(2) = {2,3};
43+
// top sym
44+
Line(3) = {3,4};
45+
// air outlet
46+
Line(4) = {4,5};
47+
// gas outlet
48+
Line(5) = {5,6};
49+
// bottom sym
50+
Line(6) = {6,1};
51+
// species border
52+
Line(7) = {2,5};
53+
54+
// ----------------------------------------------------------------------------------- //
55+
// SURFACES (and Lineloops)
56+
Curve Loop(1) = {6, 1, 7, 5}; Plane Surface(1) = {1}; // gas box
57+
Curve Loop(2) = {3, 4, -7, 2}; Plane Surface(2) = {2}; // air box
58+
59+
// make structured mesh with transfinite Lines
60+
// NOTE: The usage of Nwall and the progression has to be tuned again for any changes.
61+
Transfinite Line{3,-6,7} = Nl ; // downstream direction, no progression
62+
Transfinite Line{1,-5} = Nhg Using Progression Rhg; // gas side, progression towards border
63+
Transfinite Line{-2,4} = Nha Using Progression Rha; // air side, progression towards border
64+
65+
// ----------------------------------------------------------------------------------- //
66+
// PHYSICAL GROUPS
67+
68+
Physical Line("gas_inlet") = {1};
69+
Physical Line("air_inlet") = {2};
70+
Physical Line("outlet") = {4,5};
71+
Physical Line("top") = {3};
72+
Physical Line("bottom") = {6};
73+
74+
Physical Surface("fluid") = {1,2};
75+
76+
// ----------------------------------------------------------------------------------- //
77+
// Meshing
78+
Transfinite Surface "*";
79+
Recombine Surface "*";
80+
81+
If (Do_Meshing == 1)
82+
Mesh 1; Mesh 2;
83+
EndIf
84+
85+
// ----------------------------------------------------------------------------------- //
86+
// Write .su2 meshfile
87+
If (Write_mesh == 1)
88+
89+
Mesh.Format = 42; // .su2 mesh format,
90+
Save "rectangle_mixing.su2";
91+
92+
EndIf

0 commit comments

Comments
 (0)