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

[Other] mesh spatial dimension in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 3 Post By nimasam
  • 1 Post By Scram_1

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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,266
Blog Entries: 1
Rep Power: 24
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, BenGher and lpz456 like this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
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: 13
jr33 is on a distinguished road
Thanks, that helps.
jr33 is offline   Reply With Quote

Old   May 23, 2016, 11:57
Default
  #4
Member
 
Join Date: Oct 2015
Posts: 63
Rep Power: 10
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
prakashPra likes this.
Scram_1 is offline   Reply With Quote

Old   May 23, 2016, 11:59
Default
  #5
Member
 
Join Date: Oct 2015
Posts: 63
Rep Power: 10
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


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
[Commercial meshers] OpenFoam Mesh to Fluent Mesh in parallel case DominicTNC OpenFOAM Meshing & Mesh Conversion 3 November 22, 2017 09:19
[Salome] Mesh conversion Salome to OpenFOAM VMartinez OpenFOAM Meshing & Mesh Conversion 11 April 21, 2014 02:54
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 07:18
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11: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 19:35.