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

SU2: Restart files in binary format

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2017, 13:28
Default SU2: Restart files in binary format
  #1
New Member
 
Akshay Deshpande
Join Date: Sep 2014
Posts: 19
Rep Power: 12
akshaydeshpande is on a distinguished road
Is it possible to get restart files in binary format instead of ASCII format?
akshaydeshpande is offline   Reply With Quote

Old   October 25, 2017, 13:50
Default
  #2
Member
 
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10
Sprotte is on a distinguished road
Yes, but you would have to switch to the current develop branch of SU2.
('git checkout develop' before compiling or by downloading it as zip file from the github page, have a look at the drop-down menu.)

Then set
READ_BINARY_RESTART = YES
WRT_BINARY_RESTART = YES

Regards, Ole
Sprotte is offline   Reply With Quote

Old   October 26, 2017, 13:50
Default
  #3
New Member
 
Akshay Deshpande
Join Date: Sep 2014
Posts: 19
Rep Power: 12
akshaydeshpande is on a distinguished road
Thanks! I have a quick follow up question.
Is there an "empty" boundary condition in SU2?
akshaydeshpande is offline   Reply With Quote

Old   October 27, 2017, 08:24
Default
  #4
Member
 
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10
Sprotte is on a distinguished road
I have to take a guess here what you mean exactly by 'empty'.

Do you think of something like a "MARKER_CUSTOM_BC" option and a specific place inside the code where you can implement what should be done there?

If so, it's a very nice idea, but I'm not aware of such a possibility.

Regards, Ole

EDIT: I just had a look into integration_structure.cpp and actually a "CUSTOM_BOUNDARY" is available.
Sprotte is offline   Reply With Quote

Old   October 27, 2017, 12:36
Default
  #5
New Member
 
Akshay Deshpande
Join Date: Sep 2014
Posts: 19
Rep Power: 12
akshaydeshpande is on a distinguished road
An 'empty' BC would be something analogous to the one in OpenFoam, which basically does nothing (please refer: what does the empty boundary condition mean?.)
I require this because I have changed the boundary conditions at the inlet by modifying the SU2 restart file, and hence in order for it to affect the solution, I need to impose an 'empty' BC at the inlet.

Thanks for your input! I'll take a look at integration_structure.cpp.
akshaydeshpande is offline   Reply With Quote

Old   November 6, 2017, 09:02
Default
  #6
Member
 
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10
Sprotte is on a distinguished road
Referring to the thread that you linked here, I rather think that 'empty' refers to something like a symmetry BC (a 'no fluxes'-BC). In the SU2 solver's residual formulation (the residuals being the integrated fluxes at the test volume surfaces) this actually translates into 'doing nothing'.

But I'm still not so sure what your idea exactly is, so maybe you should move this question to an own thread.
(My main problem with your question is that keeping prescribed values at the boundaries is something totally different than 'doing nothing' .)

Regards,
Ole
Sprotte is offline   Reply With Quote

Reply


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
Mesh Adaptation in SU2. What to do with generated files? 7amim SU2 1 July 23, 2018 02:39
Exporting Instantaneous solution phase files with SU2 iceBird10 SU2 1 January 4, 2015 04:32
Tool to download: SU2 post-processing Combas SU2 2 June 5, 2014 15:55
Binary File format for Tecplot CFD Student Tecplot 3 February 27, 2006 06:29
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


All times are GMT -4. The time now is 15:54.