Skip to content

Commit d4964e3

Browse files
committed
Small updates
1 parent 1577d5b commit d4964e3

3 files changed

Lines changed: 5 additions & 15 deletions

File tree

incompressible_flow/Inc_Species_Transport/2__mesh-deform-test/species3_primitiveVenturi_deform.cfg

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,13 @@ FFD_DEFINITION= (BOX, \
162162
0.0, 0.0, 0.0, \
163163
0.0, 0.0, 0.0 )
164164
%
165-
% FFD box degree: 3D case (x_degree, y_degree, z_degree)
166-
% 2D case (x_degree, y_degree, 0)
165+
% FFD box degree: 3D case (i_degree, j_degree, k_degree)
166+
% 2D case (i_degree, j_degree, 0)
167167
FFD_DEGREE= (6, 1, 0)
168168
%
169169
% Surface grid continuity at the intersection with the faces of the FFD boxes.
170170
% To keep a particular level of surface continuity, SU2 automatically freezes the right
171171
% number of control point planes (NO_DERIVATIVE, 1ST_DERIVATIVE, 2ND_DERIVATIVE, USER_INPUT)
172-
%FFD_CONTINUITY= NO_DERIVATIVE
173172
FFD_CONTINUITY= USER_INPUT
174173
%
175174
% Definition of the FFD planes to be frozen in the FFD (x,y,z).
@@ -180,23 +179,17 @@ FFD_CONTINUITY= USER_INPUT
180179
181180
% ----------------------- DESIGN VARIABLE PARAMETERS --------------------------%
182181
%
183-
% Kind of deformation (NO_DEFORMATION, SCALE_GRID, TRANSLATE_GRID, ROTATE_GRID,
184-
% FFD_SETTING, FFD_NACELLE,
185-
% FFD_CONTROL_POINT, FFD_CAMBER, FFD_THICKNESS, FFD_TWIST
186-
% FFD_CONTROL_POINT_2D, FFD_CAMBER_2D, FFD_THICKNESS_2D,
187-
% FFD_TWIST_2D, HICKS_HENNE, SURFACE_BUMP, SURFACE_FILE)
188182
DV_KIND= FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT, FFD_CONTROL_POINT
189183
%
190184
% Marker of the surface in which we are going apply the shape deformation
191185
% NOTE: for deformation the outlet should be a MARKER_SYM to hinder the mesh being ripped apart.
192186
DV_MARKER= ( wall )
193187
%
194188
% Parameters of the shape deformation
195-
% - NO_DEFORMATION ( 1.0 )
196189
% - FFD_SETTING ( 1.0 )
197190
% - FFD_CONTROL_POINT ( FFD_BoxTag, i_Ind, j_Ind, k_Ind, x_Disp, y_Disp, z_Disp )
198191
DV_PARAM= (BOX, 2, 0, 0, 0.0, 1.0, 0.0 ); (BOX, 3, 0, 0, 0.0, 1.0, 0.0 ); (BOX, 4, 0, 0, 0.0, 1.0, 0.0 ); (BOX, 5, 0, 0, 0.0, 1.0, 0.0 ); (BOX, 6, 0, 0, 0.0, 1.0, 0.0 ); (BOX, 2, 1, 0, 0.0, 1.0, 0.0 ); (BOX, 3, 1, 0, 0.0, 1.0, 0.0 ); (BOX, 4, 1, 0, 0.0, 1.0, 0.0 ); (BOX, 5, 1, 0, 0.0, 1.0, 0.0 ); (BOX, 6, 1, 0, 0.0, 1.0, 0.0 )
199-
% Excluded FFD points that are fixed to keep a nice geometry
192+
% Excluded FFD points that are fixed to keep a nice geometry and mesh
200193
%DV_PARAM= (BOX, 0, 0, 0, 0.0, 1.0, 0.0 ); (BOX, 1, 0, 0, 0.0, 1.0, 0.0 ); (BOX, 0, 1, 0, 0.0, 1.0, 0.0 ); (BOX, 1, 1, 0, 0.0, 1.0, 0.0 );
201194
%
202195
% Value of the shape deformation

incompressible_flow/Inc_Species_Transport/3__gradient-validation/gradient_validation.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# FADO script: Finite Differences of unsteady CHT and adjoint run
1+
# FADO script: Finite Differences vs adjoint run
22

33
from FADO import *
44

@@ -21,9 +21,6 @@
2121
# Switch Objective Functions
2222
OF_SpecVar = Parameter([""], LabelReplacer("%__OF_SpecVar__"))
2323

24-
# Switch to Deformation specific options
25-
# TODO
26-
2724
# Evaluations ---------------------------------------------------------- #
2825

2926
# Define a few often used variables

incompressible_flow/Inc_Species_Transport/4__optimization/optimization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# FADO script: Shape Optimization of CHT-case with Species Variance OF
1+
# FADO script: Shape Optimization with Species Variance OF
22

33
from FADO import *
44

0 commit comments

Comments
 (0)