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

mesh spatial dimension in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2013, 16:53
Default mesh spatial dimension in OpenFOAM
  #1
New Member
 
Reno
Join Date: Sep 2012
Posts: 27
Rep Power: 6
jr33 is on a distinguished road
My default mesh geometry length is in 80 mm. For OpenFoam, I scaled the mesh in meters as 0.008 m. Once I import the mesh in OpenFOAM, it is a collection of point coordinates. Now, the location of these points and spatial difference between different points will be the same either if they are in mm or m. I feel spatial unit is arbitrary here?

I want to understand when do I have to scale the geometry in Openfoam and when not?

Last edited by jr33; October 2, 2013 at 01:01.
jr33 is offline   Reply With Quote

Old   September 29, 2013, 03:25
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,211
Blog Entries: 1
Rep Power: 17
nimasam is on a distinguished road
Quote:
Originally Posted by jr33 View Post
My default mesh geometry length is in 80 mm. For OpenFoam, I scaled the mesh in meters as 0.008 m. Once I import the mesh in OpenFOAM, it is a collection of point coordinates. Now, the location of these points and spatial difference between different points will be the same either if they are in mm or m. I feel spatial unit is arbitrary here?

I want to understand when do I have to scale the geometry in Openfoam and when not?
well, when you import your mesh, use checkMesh
then you will see the scale of your geometry, if it differs from what you intended then you can use transformPoints -scale '(x x x)'
where x is your scale.
lav likes this.
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog (http://openfoam.blogfa.com/)
Training Course on OpenFOAM at (http://www.isme.ir/)
nimasam is offline   Reply With Quote

Old   October 2, 2013, 01:00
Default
  #3
New Member
 
Reno
Join Date: Sep 2012
Posts: 27
Rep Power: 6
jr33 is on a distinguished road
Thanks, that helps.
jr33 is offline   Reply With Quote

Old   May 23, 2016, 11:57
Default
  #4
Member
 
Ram
Join Date: Oct 2015
Posts: 34
Rep Power: 3
Scram_1 is on a distinguished road
Hey,
I have a question regarding the fluentMeshToFoam command. My geometry is in mm and I've created the mesh in ICEM. Now after doing fluentMeshToFoam pipe.msh I do checkMesh. Now, checkMesh gives the dimensions of the overall bounding box without the units. Are these units in mm since my geometry is in mm? or if I want to convert it into mm should I do transformPoints -scale '(0.001 0.001 0.00)'?

For example, when I go to the scale option in fluent, it asks me the units in which my mesh was created and accordingly scales the mesh. What I mean by scale is, it keeps the numbers the same just changes the units. In openFOAM, when I do checkMesh, it gives me the same dimensions without the units. So I don't know what the units are., whether it is m or mm.
Thanks!!
Ram
Scram_1 is offline   Reply With Quote

Old   May 23, 2016, 11:59
Default
  #5
Member
 
Ram
Join Date: Oct 2015
Posts: 34
Rep Power: 3
Scram_1 is on a distinguished road
I meant transformPoints -scale'(0.001 0.001 0.001)' in the previous post
Scram_1 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesh conversion Salome to OpenFOAM VMartinez OpenFOAM Meshing & Mesh Conversion 11 April 21, 2014 02:54
can prism elements exist in 2D mesh in openfoam shuoxue OpenFOAM Meshing & Mesh Conversion 2 June 20, 2013 23:19
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 16:59.