|
[Sponsors] |
March 16, 2009, 20:00 |
Convert mesh
|
#1 |
New Member
Ulisses
Join Date: Mar 2009
Location: Brazil
Posts: 24
Rep Power: 17 |
Hello everyone,
I am a new user in OpenFoam and Salome and I'm having some problems. I'm not so sure, but I think that the unit of length in OpenFoam is meter while in Salome is milimeter (if someone could confirm this to me I'd be grateful). So I'd like to know if when I use the command "ideasUnvToFoam" to convert the mesh if it's still necessary after this to use the command " transformPoints . . -scale '(0.001 0.001 0.001)'" to convert the units of the Salome to the units of OpenFoam. Grateful for the help Ulisses |
|
March 17, 2009, 01:00 |
check using paraview
|
#2 |
Senior Member
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 17 |
Hi ,
Open you files with paraview, in the properties section you can see the X, Y and Z bounds of the geometry. Check if the size has changed after you used the converter. I haven't used Salome, but an intuitively I feel that the converter wouldn't change the units of measure. Hope this helps Prapanj |
|
March 17, 2009, 05:07 |
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
The ideasUnvToFoam actually reads the scale factor from the unv file so if Salome writes it it should work. Check the output of the converter for
Unit factors: Length scale : dddd |
|
March 17, 2009, 16:28 |
|
#4 |
New Member
Ulisses
Join Date: Mar 2009
Location: Brazil
Posts: 24
Rep Power: 17 |
||
March 17, 2009, 21:46 |
|
#5 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
salome does not use units, the length scale is extracted from the physical properties assigned to the geometry by the solver used, so as long as you use a consistent system of units for the properties you do not have to worry about the length unit.
Bear in mind that Salome is designed to mainly provide pre and post processing for code aster and code saturne. So I am curious to know the results of what you are doing, say, I am trying to use Salome to be the front end for OpenFoam. Good luck and keep us informed |
|
March 18, 2009, 13:58 |
|
#6 | |
New Member
Ulisses
Join Date: Mar 2009
Location: Brazil
Posts: 24
Rep Power: 17 |
Quote:
I verified what you said about the units in Salome using the tip that prapanj posted. I am using Salome to generate a geometry and a mesh of a gate valve. I learned how to generate a mesh in the Salome and export it to OpenFoam in this site: http://www.caelinux.org/wiki/index.php/Doc:CAETutorials But the command in OpenFoam-1.4.1 "ideasUnvToFoam" that is used to import a mesh has a bug. You'll find the correction in: http://www.cfd-online.com/Forums/ope...g-amp-fix.html So far I got good results with the Salome and OpenFoam. Thanks for the answer. |
||
March 18, 2009, 20:10 |
|
#7 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Thanks for the information. Yes, the caelinux.org/com is the main source of free tutorials about Salome/aster/saturn
Good Luck |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 08:34 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 07:42 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |
[ANSYS Meshing] Convert a Nastran mesh (.bdf) to Fluent mesh (.msh) | dynlevirus | ANSYS Meshing & Geometry | 1 | August 27, 2012 05:06 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |