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

how to define a shape deformation using the grid deformation variables (FSI problem)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fpalacios

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2013, 19:36
Default how to define a shape deformation using the grid deformation variables (FSI problem)
  #1
Member
 
Sean (J.X.) Shi
Join Date: May 2012
Location: US
Posts: 34
Rep Power: 14
momo_sjx is on a distinguished road
Hello,

I am a new SU2 user.

Recently, I am studying the aerodynamics elasticity, namely FSI problem.
I want to change the airfoil/wing shape and transfer the shape deformation to SU2.
I read the tutorial about shape optimization, python script and some codes.
I am wondering if there is a suitable format of DV_PARAM that I can use directly.

NACA_4digits, parabolic, displacement, rotation is not right because they are not prepared for multiply deformations.
I do not know how FFD works, but the FFD looks like a shape optimization method.
The last one is HICKS HENNE function. It might work, before then, I need generate a function to fit the changing airfoil. But I do not think it is a good idea.

So, do I need write a function to transfer the deformed shape to SU2?

Thanks in advance.
momo_sjx is offline   Reply With Quote

Old   February 5, 2013, 01:01
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
I think that you should take a look at the SU2_MDC... this is a particular code for performing grid deformations (that will help you to understand the code).

On the other hand, there is a preliminary implementation of a FSI solver in SU2.
PHYSICAL_PROBLEM=FLUID_STRUCTURE_EULER

It has not been validated, but if you are interested we can send you some examples.

Cheers,
Francisco
varghese99 likes this.
fpalacios is offline   Reply With Quote

Old   February 10, 2013, 13:19
Default
  #3
Member
 
Sean (J.X.) Shi
Join Date: May 2012
Location: US
Posts: 34
Rep Power: 14
momo_sjx is on a distinguished road
Sorry for the late reply, I was out of office last week.

Thank you for your information.

I am deciding to use python script to finish the communication between SU2 code and another FEM code.
Assuming the gird at the fluid structure interface is perfectly matched, that saves a lot of work, otherwise, interpolation is necessary.
The python script will
1. call SU2 program, read the pressure from the output file
2. call FEM code with the obtained pressure, get the geometry displacement
3. modify the mesh according to the displacement of the specific boundary, and go to step 1. I am not clear how to do that in SU2_MDC before I fully understand the code.
This iteration will continue until the result converge.

It looks sensible for me. But it is difficult, because I am a newbie of Python. Fortunately, many Python script examples are included in the package. They help me a lot.

I am very glad the FSI application is already considered and will be included in SU2.
I would like to try it and see if I can validate it. I have lots of FSI results of aerodynamics flow control in commercial software.

Please send me some examples.

Any comments or recommendations are welcome.

Thanks in advance.

my email address is sean.jx@outlook.com

Last edited by momo_sjx; February 14, 2013 at 23:52.
momo_sjx is offline   Reply With Quote

Old   February 15, 2013, 20:58
Default
  #4
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
If you have a while take a look at the subrotuine

void FluidStructureIteration(COutput *output, CIntegration ***integration_container, CGeometry ***geometry_container, CSolution ****solution_container, CNumerics *****solver_container, CConfig **config_container, CSurfaceMovement **surface_movement, CVolumetricMovement **grid_movement, CFreeFormChunk*** chunk, unsigned long ExtIter)

there you will find the main pieces for the FSI solver in SU2.

Cheers,
Francisco
fpalacios is offline   Reply With Quote

Old   February 18, 2013, 15:55
Default
  #5
Member
 
Sean (J.X.) Shi
Join Date: May 2012
Location: US
Posts: 34
Rep Power: 14
momo_sjx is on a distinguished road
Francisco, Thanks a lot.
I followed your information to understand the SU2 code and found some functions that could help me solve the FSI problems. Here are some questions:
1. In FSI problems, the deforming part might be part of the airfoil/wing. There are two zones (Zone0 Zone1) defined in the function. Zone0 is fluid and Zone1 is structure. There is an interface between Zone0 and Zone1, which is a deforming boundary. How to define them in the Grid file and Config file? Can you give me some tutorials on that?
2. I found the CFEASolution. Since the deforming process in my problem is actively adaptive and kind of complicated, I am wondering if I can define the boundary conditions except the fluid load like fixed constraint?
3. I found the function SetFlow_Displacement(*), and then I found the function SpringMethod(*) and others in grid_movement_structure which deform the whole grid when boundary moves. This function is also called in SU2_MDC. I am not sure if I understood correctly. Can I call the SpringMethod(*) directly by giving the coordinates variation at the boundary, like what (SetHicksHenne(), SetDisplacement(), etc.) do? I mean add a function in CSurfaceMovement to realize the custom deformation.
4. When the grid is deformed, how to interpolate the solution from the original grid. By defining the restart_file after SU2_MDC. SU2_CFD can interpolate the initial solution from the restart_file. Is it correct?
5. In the unsteady simulation, when the boundary moves, it will result in a wall velocity at the boundary. How to consider it?
6. Based on the Python script, I have solved a one-way FSI problem. I used script to obtain the fluid load on the interface and generate an output file to FEA software. The software writes a file including displacement associated with the coordinates. I am planning to read this file into SU2 by script, and deform the grid. That is reason I asked Q3.

Thanks in advance.
My email address is sean.jx@outlook.com

Sean
momo_sjx is offline   Reply With Quote

Old   April 23, 2015, 15:14
Default
  #6
Pab
New Member
 
Pablo Murillo
Join Date: Apr 2015
Location: Cádiz, Spain
Posts: 3
Rep Power: 11
Pab is on a distinguished road
Hello,

I am solving some FSI problems and I want to do it in SU2. Could you please send me the examples files?


Thanks in advance. Best regards,

Pablo


my email is: pablourkiza@gmail.com
Pab is offline   Reply With Quote

Old   June 7, 2015, 23:29
Default Searching for FSI code
  #7
New Member
 
Srinivasa Rao M
Join Date: Sep 2014
Location: Hyderabad
Posts: 10
Rep Power: 12
Srinivasa Rao is on a distinguished road
Even i am trying to solve an FSI and i am searching for an open source code for the same. Can you please send me some examples or tutorials for FSI in SU2 code so that i can work on the same
Thank you
Srinivasa Rao is offline   Reply With Quote

Reply

Tags
fsi simulationns and mesh, su2


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 1 May 19, 2020 22:13
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 10:23
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
how to extend FSI 2D codes to 3D, need advises abouziar Main CFD Forum 1 May 30, 2008 05:08
Grid Independent Solution Chuck Leakeas Main CFD Forum 2 May 26, 2000 12:18


All times are GMT -4. The time now is 17:14.