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

Changing the number of significant figures in surface files written by SU2_DEF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2015, 05:22
Question Changing the number of significant figures in surface files written by SU2_DEF
  #1
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 13
Zen is on a distinguished road
Hello everyone,

is there a way to change the number of significant figures in the files created by SU2_DEF? (Surface_Grid.plt, Surface_Grid.stl, Volumetric_Grid.plt)

I have noticed the number of significant figures of the .su2 mesh file is much larger than that for the above mentioned files.

Thanks,

Z
Zen is offline   Reply With Quote

Old   February 11, 2015, 14:04
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by Zen View Post
Hello everyone,

is there a way to change the number of significant figures in the files created by SU2_DEF? (Surface_Grid.plt, Surface_Grid.stl, Volumetric_Grid.plt)

I have noticed the number of significant figures of the .su2 mesh file is much larger than that for the above mentioned files.

Thanks,

Z
Thanks for your question.
I think this can be changed in the output_structure.cpp file. (this will require much searching for the appropriate lines re-compiling the code)
hlk is offline   Reply With Quote

Old   February 16, 2015, 05:25
Default
  #3
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 13
Zen is on a distinguished road
Dear Heather,

Thank you for your reply. I found out the specific line to change is in output_tecplot.cpp, under the voice "Tecplot_File.precision(###)", where ### is the number of significant figures you want to use.

Best wishes,

Z
Zen is offline   Reply With Quote

Reply

Tags
significant figures, su2_def


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
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 05:31
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15


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