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

How to output a solution at a point every time step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2019, 11:50
Default How to output a solution at a point every time step
  #1
New Member
 
Join Date: Jan 2019
Posts: 5
Rep Power: 7
HugoGrotius is on a distinguished road
Is there a way to output the solution for a single point/cell every time step in SU2? I was previously writing the flowfield and extracting the data at the point, but this has become cumbersome.


Edit: I've looked into the code and think I can jury rig a workable solution by modifying MergeBaselineSolution (in output_structure.cpp) with a few lines to write the solution data for a single point after all the nodes have been looped over. Is MergeBaselineSolution called every time step or just the ones where a solution file is to be written?



Is this even a workable solution?

Last edited by HugoGrotius; May 4, 2019 at 11:59.
HugoGrotius is offline   Reply With Quote

Old   May 10, 2019, 05:33
Default
  #2
Senior Member
 
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7
wallym is on a distinguished road
Thanks for your interest in SU2 and for reaching out!

That does sound extremely cumbersome. My question would be are you just looking to see how some variables develop over time? Or do need the data that is being output for other purposes?

If you only need to track the variables, similar to the residuals, the easiest solution may be to add some lines in SetConv_Body.

I hope this answered your question, but please don't hesitate to ask more!
wallym is offline   Reply With Quote

Old   May 11, 2019, 10:02
Default
  #3
New Member
 
Join Date: Jan 2019
Posts: 5
Rep Power: 7
HugoGrotius is on a distinguished road
Thanks! Yes, I just need to record a time history of the variables. I'll take a look at SetConv_Body and see what I can cook up.
HugoGrotius 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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 02:05
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 18:30.