CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Salome] Precision in UNV to FOAM mesh conversion

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By richard_vega

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2015, 13:25
Default Precision in UNV to FOAM mesh conversion
  #1
New Member
 
Richard Vega
Join Date: Jun 2014
Location: Texas
Posts: 12
Rep Power: 11
richard_vega is on a distinguished road
I am able to use ideasUnvToFoam with ease to convert meshes I have created using Salome into OpenFOAM format. There is only one problem: when I look at the points file that gets created in the polyMesh folder, I find that it is writing coordinates with a maximum of 5 decimal places. Is there a way to increase this precision?
richard_vega is offline   Reply With Quote

Old   August 18, 2015, 14:50
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: In your case folder, "system/controlDict" -> "writePrecision" - or in "writeFormat" use "binary" format for full precision... although it's binary.
wyldckat is offline   Reply With Quote

Old   August 19, 2015, 10:38
Default
  #3
New Member
 
Richard Vega
Join Date: Jun 2014
Location: Texas
Posts: 12
Rep Power: 11
richard_vega is on a distinguished road
Thank you very much for the quick reply. It worked! For some reason I did not associate the controlDict with the mesh converters. I thought it was just for the solver to write the field variables. Thank you again!!
wyldckat likes this.
richard_vega is offline   Reply With Quote

Reply

Tags
ideasunvtofoam


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[Commercial meshers] fluent mesh conversion to foam sangram OpenFOAM Meshing & Mesh Conversion 1 November 14, 2016 07:14
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 10:49.