August 14, 2020, 11:58
|
|
#2
|
New Member
Join Date: Jul 2019
Posts: 5
Rep Power: 7
|
Quote:
Originally Posted by amoosa
Hello All,
I am new to SU2. I want to perform unsteady forced motion simulations on a 3D wing + control surface. I want to drive the control surface motion with prescribed deformations and assess the aerodynamic impact on the wing. I looked at the tuturials and I cannot find anything similar. Does anyone have experience with such simulations in SU2?
Many thanks for your help!
AR
|
If you are using pySU2 (the python API that wraps the C++ source code), then you can try the following functions:
Code:
for iVertex in range(self.nVertexMarker):
self.solver.SetVertexCoordX(self.MarkerID, iVertex, newXCoord)
self.solver.SetVertexCoordY(self.MarkerID, iVertex, newYCoord)
self.solver.SetVertexCoordZ(self.MarkerID, iVertex, newZCoord)
self.solver.SetVertexVarCoord(self.MarkerID, iVertex)
self.solver.StaticMeshUpdate()
NOTE: appropriate settings like design variable parameters, grid deformation parameters, and free-form deformation parameters will have to be specified in the SU2 config file
|
|
|