CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Is SU2 able to handle step functions as inputs in the cfg file? (https://www.cfd-online.com/Forums/su2/181037-su2-able-handle-step-functions-inputs-cfg-file.html)

kyounes December 5, 2016 13:22

Is SU2 able to handle step functions as inputs in the cfg file?
 
Hello Everyone,

I am trying to simulate the flapping motion of an airfoil, and I was wondering if there is a way to tell SU2 to vary the pitching rotation speed of the airfoil. In other words, I would like the pitching speed to be a certain constant for a given time period, then, increase/decrease that speed for the remainder of the run. Something like that could be easily made possible with a step function, but can SU2 read it?

If not, what other options are available?

Thanks,

hlk March 11, 2017 03:24

Quote:

Originally Posted by kyounes (Post 628409)
Hello Everyone,

I am trying to simulate the flapping motion of an airfoil, and I was wondering if there is a way to tell SU2 to vary the pitching rotation speed of the airfoil. In other words, I would like the pitching speed to be a certain constant for a given time period, then, increase/decrease that speed for the remainder of the run. Something like that could be easily made possible with a step function, but can SU2 read it?

If not, what other options are available?

Thanks,

Thanks for your question.
One way you could do this is to specify the EXTERNAL motion type, which requires specifying the deformation of the surface at each time step. I suggest searching through the forum for other posts about specifying a deformation using an external surface file, which uses a similar file, and looking at the CSurfaceMovement::SetExternal_Deformation code in the SU2/Common/src/grid_movement_structure.cpp file.

Otherwise, you could modify the code to introduce this functionality; starting from the rigid translation may have some advantages in that it would use rigid motion rather than deforming the mesh.


All times are GMT -4. The time now is 12:41.