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

[Salome] Dimensions in Salome

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes
  • 2 Post By Hectux
  • 2 Post By santos
  • 1 Post By tomislav_maric
  • 1 Post By paulo
  • 2 Post By Tobi
  • 1 Post By Annier

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2009, 08:29
Default Dimensions in Salome
  #1
New Member
 
Join Date: Mar 2009
Posts: 28
Rep Power: 17
Hectux is on a distinguished road
Hi,

I am trying now to create my meshes with Salome-Meca.

My problem is: Where can I see the dimmension I am working with?
Is it Meters or Millimeters? Where can I change them?
What happens with the dimension when I convert it into OpenFoam via UNV file?


Thanks a lot.
Best regards
Hectux is offline   Reply With Quote

Old   April 8, 2009, 09:33
Default
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

I think Salome uses SI units, so you get your dimensions in metres by default.

I normally scale my mesh after converting to OpenFOAM format with:

transformPoints -scale '(1e-3 1e-3 1e-3)'

The last argument is the vector you use to scale your points. In this case, it converts your points from m to mm.

Regards,
Jose Santos
Annier and Vinay Nandurdikar like this.
santos is offline   Reply With Quote

Old   April 8, 2009, 09:41
Default
  #3
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
I'm also using Salome to generate CAD geometry for multi component wings, and I'm wondering how does Salome calculate Inertial properties (Inertia tensor). I've asked this on Salome forum but got no answer. If I generate a split airfoil and extrude it in a shell object, it has no thickness. Material properties are also not defined (unlike in other commercial CAD software). Still, Inertia tensor components are generated. Do I calculate real values by multiplying the given ones with real density in kg/m^2 (here I presume that this value is preset to 1 in Salome since I'm unable to find where the material properties are defined.). ANY advice is greatly appreciated.

Tomislav
Tobi likes this.
tomislav_maric is offline   Reply With Quote

Old   April 8, 2009, 12:57
Default Netgen or Salome?
  #4
New Member
 
Join Date: Mar 2009
Posts: 28
Rep Power: 17
Hectux is on a distinguished road
Ok. Thanks. I will play a bit with this.

But I also have another question.

At the Moment I am making my geometry with Salome.
Save it as STEP file. Mesh it with Netgen --> Save as NetgenNeutral and convert it via netgenNeutralToFoam.

Works good for my work.

My question is: When I mesh a simple geometry e.g. a pipe (cylinder). Netgen needs only a few seconds for it.
When I try to mesh the same geometry with Salome-Meca, it takes the whole morning and afterwards I run out if memory:
Error in the terminal: "Lack of memory"
Error in Salome: "Memory allocation problem"

As Algorithm I use Netgen 1D-2D-3D.
Hectux is offline   Reply With Quote

Old   April 11, 2009, 07:25
Default
  #5
Member
 
Paulo Alexandre Costa Rocha
Join Date: Mar 2009
Posts: 71
Rep Power: 17
paulo is on a distinguished road
Hi all,

We've been using Salome for a while, and we have some experiences we can share:

- Salome uses milimeters: Then if you model a 1x1x1m cube, mesh it and export to OF using UNV format (Salome doesn't retain the dimensions info), the cube will be 1000x1000x1000, that OF reads in meters. You'll have to use transformPoints or create it in Salome with 1x1x1mm;

- Salome works well with complex geometries since you use tet meshes. We tried a lot of hex mesh options in a imported geometry (STEP format), but unsuccessful;

- Salome is quite memory eater (maybe because of the GUI). So if your HD starts blinking, stop the process and change the quality settings or wait a whole week. Increasing the RAM is also a good option. You can monitor the processes using CTRL-ESC;

- There is a newer version in the site www.salome-platform.org . We didn't try it yet, but I hope something about the hex meshes is fixed/improved;

Sorry for the bad english.

Regards,

Paulo.
Annier likes this.
paulo is offline   Reply With Quote

Old   October 29, 2013, 00:04
Default Thank you
  #6
Member
 
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 11
Annier is an unknown quantity at this point
Quote:
Originally Posted by paulo View Post
Hi all,

We've been using Salome for a while, and we have some experiences we can share:

- Salome uses milimeters: Then if you model a 1x1x1m cube, mesh it and export to OF using UNV format (Salome doesn't retain the dimensions info), the cube will be 1000x1000x1000, that OF reads in meters. You'll have to use transformPoints or create it in Salome with 1x1x1mm;

- Salome works well with complex geometries since you use tet meshes. We tried a lot of hex mesh options in a imported geometry (STEP format), but unsuccessful;

- Salome is quite memory eater (maybe because of the GUI). So if your HD starts blinking, stop the process and change the quality settings or wait a whole week. Increasing the RAM is also a good option. You can monitor the processes using CTRL-ESC;

- There is a newer version in the site www.salome-platform.org . We didn't try it yet, but I hope something about the hex meshes is fixed/improved;

Sorry for the bad english.

Regards,

Paulo.
Thank you for your illustrative explanation.
Annier is offline   Reply With Quote

Old   February 18, 2015, 13:14
Default
  #7
Member
 
Naresh Yathuru
Join Date: Feb 2015
Posts: 66
Rep Power: 11
Naresh yathuru is on a distinguished road
Hi Paul thanks for the information on the dimensions in salome. I just starde using salome 7.5 . just out of curiousity i would like to know how can i change the units in salome from default mm to meters.
Naresh yathuru is offline   Reply With Quote

Old   June 29, 2015, 14:17
Default
  #8
New Member
 
Ali Kadar
Join Date: Oct 2014
Location: Delft
Posts: 25
Rep Power: 11
flowAlways is on a distinguished road
Hello,
Has any one used the Manage Dimensions utility in the latest version of salome 7.5.1.
documented here
http://docs.salome-platform.org/late...ions_page.html

It works but the GUI does not ... I am not able to drag the dimension around and all the dimensions together look messy. Has anyone tried this utility and able to move(drag) the displayed dimensions ?
Thank you very much!
__________________
A good solution is one which does justice to the inner nature of the problem- Cornelius Lanczos in a letter to Albert Einstein on March 9, 1947
flowAlways is offline   Reply With Quote

Old   October 2, 2015, 14:41
Default
  #9
New Member
 
Join Date: Jul 2015
Posts: 23
Rep Power: 10
nicholas.jones is on a distinguished road
Hey Ali,

I am having a similar problem with Salome. I cant seem to move the dimensions!

Did you ever find a solution?
nicholas.jones is offline   Reply With Quote

Old   December 4, 2016, 06:00
Default
  #10
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear all,

I will not bring up this thread again but I had the same problem with the moment of inertia calculation (how to interpret this) like Tomislav. However, to help other people (because no one was replying to this question) I will tell you how salome works in that manner. To figure it out is very simple. Just build a full cylinder with 0.5m of radius and a hight of 10m (extrude in z-direction); by the way you can select the units in Files - Properties. Doing so, we can calculate the the I_{zz} which is:

I_{zz} = \frac{1}{2} m r^2

Assuming that the material is an aluminum alloy with the density of 2700 kg/m^3, we can compare both, the analytic solution and the calculation based on Salome. The result is:

I_{zz, analytic} = \frac{1}{2} m r^2 = \frac{1}{2} \cdot 2700 \cdot 10 \cdot 0.5^2 \pi \cdot 0.5^2 = 2650.7188

I_{zz, salome} = 0.9817477

If we multiply the Salome calculation by the density, we get the same solution that we get from the analytical one. That means, that Salome uses the default density of 1. It should be possible to set this value using python but please do not ask me how

Hope this help anybody in future.
skeptik and giovanni.medici like this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   December 6, 2016, 07:08
Default
  #11
Member
 
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 11
Annier is an unknown quantity at this point
Hi Tobias,
Thank you for your wonderful illustration and explanation.


Yours Sincerely,
Anil Kunwar
Tobi likes this.
Annier 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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 06:01
Salome cgns format mesh to SU2 JPBLourenco SU2 19 November 18, 2019 02:11
Incompatible dimensions for operation ruben23 OpenFOAM Running, Solving & CFD 2 June 12, 2015 04:14
Salome and Code Saturne simulation of simple room and objects cristian.ocnarescu Main CFD Forum 0 June 21, 2010 10:19
salome, openfoam and moving mesh prhlava OpenFOAM Running, Solving & CFD 8 November 9, 2009 08:59


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