CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > SU2

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 5, 2016, 14:22
Default Is SU2 able to handle step functions as inputs in the cfg file?
  #1
New Member
 
Join Date: Nov 2016
Posts: 2
Rep Power: 0
kyounes is on a distinguished road
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,
kyounes is offline   Reply With Quote

Old   March 11, 2017, 04:24
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 267
Rep Power: 6
hlk is on a distinguished road
Quote:
Originally Posted by kyounes View Post
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.
hlk is offline   Reply With Quote

Reply

Tags
airfoil, pitching, speed, su2, variable

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 04:04
Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Installation 6 September 5, 2015 21:03
Custom Thermophysical Properties wsmith02 OpenFOAM 3 July 27, 2015 05:37
Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Installation 9 June 12, 2015 17:18
Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Installation 27 April 16, 2014 15:14


All times are GMT -4. The time now is 23:29.