Skip to content

Commit

Permalink
Develop (#90)
Browse files Browse the repository at this point in the history
* 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 <thomas.dick@scicomp.uni-kl.de>

* 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 <thomas.dick@scicomp.uni-kl.de>

Co-authored-by: TobiKattmann <Tobias.Kattmann@de.bosch.com>
Co-authored-by: Charanya <33747655+cvencro@users.noreply.github.com>
Co-authored-by: Wally Maier <wallytmaier@gmail.com>
Co-authored-by: TobiKattmann <31306376+TobiKattmann@users.noreply.github.com>
Co-authored-by: EvertBunschoten <evertbun@xs4all.nl>
Co-authored-by: snow54 <yuukiutsumi@yahoo.co.jp>
Co-authored-by: bigfooted <bigfootedrockmidget@hotmail.com>
Co-authored-by: FlorianDm <florian.dittmann@protonmail.com>
Co-authored-by: Florian <55834287+FlorianDm@users.noreply.github.com>
Co-authored-by: Nijso <nijso@hotmail.com>
Co-authored-by: Guillermo Suarez <guillermo.suarez@scicomp.uni-kl.de>
Co-authored-by: nbe0dev <nijso.beishuizen@nl.bosch.com>
Co-authored-by: suargi <64904120+suargi@users.noreply.github.com>
Co-authored-by: thomasdick <tdick91@gmail.com>
Co-authored-by: Thomas Dick <thomas.dick@scicomp.uni-kl.de>
Co-authored-by: Mickael Philit <mickey.phy@gmail.com>
  • Loading branch information
17 people committed Jan 22, 2022
1 parent 6bf9f26 commit fce9d1c
Show file tree
Hide file tree
Showing 13 changed files with 111,672 additions and 1 deletion.
Binary file modified axisymmetric_rans/air_nozzle/solution_flow.dat
Binary file not shown.
Binary file modified euler/wedge/mesh_wedge_inv.cgns
Binary file not shown.
1 change: 1 addition & 0 deletions grad_smooth/naca0012/mesh_NACA0012_inv.su2
Binary file added grad_smooth/naca0012/solution_adj_cd.dat
Binary file not shown.
97,763 changes: 97,763 additions & 0 deletions grad_smooth/oneram6/mesh_tutorial_ffd.su2

Large diffs are not rendered by default.

Binary file added grad_smooth/oneram6/solution_adj_cd.dat
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion radiation/p1adjoint/of_grad_cd.csv.ref
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"VARIABLE" , "GRADIENT" , "FINDIFF_STEP"
0 , -0.000954218 , 0.001
1 , -0.00432385 , 0.001
1 , -0.00432384 , 0.001
2 , -0.0111485 , 0.001
3 , -0.0214656 , 0.001
4 , -0.0344212 , 0.001
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// ----------------------------------------------------------------------------------- //
// Tobias Kattmann, 24.09.2021, 2D rectangle for mixing validation testcase
// ----------------------------------------------------------------------------------- //

// Evoque Meshing Algorithm?
Do_Meshing= 1; // 0=false, 1=true
// Write Mesh files in .su2 format
Write_mesh= 1; // 0=false, 1=true

// Geometric inputs
length= 10; // downstream direction
height= 5; // crossstream direction, full length
border= 1; // height of gas inlet, height-border= air inlet length

// Mesh sizing inputs. Note that the #cells+Prgression needs some fiddeling such that mesh size at the border fits.
Nl= 50; // Nodes in 'l'ength direction
Nhg= 25; // Nodes in 'h eight direction of the 'g'as side
Rhg= 0.9; // Progression of gas side [0,1], lower means more agressive
Nha= 40; // Nodes in 'h eight direction of the 'a'ir side
Rha= 0.9; // Progression of air side [0,1], lower means more agressive

gridsize= 0.1; // Later on not important as structured mesh is achieved

// ----------------------------------------------------------------------------------- //
// POINTS

// Starting in the origin, which is the most low-left point, and going clockwise.

Point(1) = {0, 0, 0, gridsize};
Point(2) = {0, border, 0, gridsize};
Point(3) = {0, height, 0, gridsize};
Point(4) = {length, height, 0, gridsize};
Point(5) = {length, border, 0, gridsize};
Point(6) = {length, 0, 0, gridsize};

// ----------------------------------------------------------------------------------- //
// LINES

// gas inlet
Line(1) = {1,2};
// air inlet
Line(2) = {2,3};
// top sym
Line(3) = {3,4};
// air outlet
Line(4) = {4,5};
// gas outlet
Line(5) = {5,6};
// bottom sym
Line(6) = {6,1};
// species border
Line(7) = {2,5};

// ----------------------------------------------------------------------------------- //
// SURFACES (and Lineloops)
Curve Loop(1) = {6, 1, 7, 5}; Plane Surface(1) = {1}; // gas box
Curve Loop(2) = {3, 4, -7, 2}; Plane Surface(2) = {2}; // air box

// make structured mesh with transfinite Lines
// NOTE: The usage of Nwall and the progression has to be tuned again for any changes.
Transfinite Line{3,-6,7} = Nl ; // downstream direction, no progression
Transfinite Line{1,-5} = Nhg Using Progression Rhg; // gas side, progression towards border
Transfinite Line{-2,4} = Nha Using Progression Rha; // air side, progression towards border

// ----------------------------------------------------------------------------------- //
// PHYSICAL GROUPS

Physical Line("gas_inlet") = {1};
Physical Line("air_inlet") = {2};
Physical Line("outlet") = {4,5};
Physical Line("top") = {3};
Physical Line("bottom") = {6};

Physical Surface("fluid") = {1,2};

// ----------------------------------------------------------------------------------- //
// Meshing
Transfinite Surface "*";
Recombine Surface "*";

If (Do_Meshing == 1)
Mesh 1; Mesh 2;
EndIf

// ----------------------------------------------------------------------------------- //
// Write .su2 meshfile
If (Write_mesh == 1)

Mesh.Format = 42; // .su2 mesh format,
Save "rectangle_mixing.su2";

EndIf
Loading

0 comments on commit fce9d1c

Please sign in to comment.