CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Netgen - convertToMeters

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 7, 2014, 04:43
Default Netgen - convertToMeters
  #1
New Member
 
anonymous
Join Date: Apr 2014
Posts: 8
Rep Power: 3
mikeR is on a distinguished road
I searched the openFoam wiki http://openfoamwiki.net/index.php/NetgenNeutralToFoam and also the nets but couldn't find an awnser:

How do I specify the conversion from pixels to meters in a mesh created with netgen?

cheers!
mikeR is offline   Reply With Quote

Old   April 14, 2014, 09:52
Default
  #2
New Member
 
anonymous
Join Date: Apr 2014
Posts: 8
Rep Power: 3
mikeR is on a distinguished road
does anyone have information on this? I looked alot and found some ways to resize the mesh, but no information how one pixel scales to meters after converting a mesh
mikeR is offline   Reply With Quote

Old   April 14, 2014, 10:05
Default
  #3
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,089
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

I guess, you know sizes of the mesh in pixels. Convert mesh to OpenFOAM format, run checkMesh utility, it will show you dimensions of the mesh:

Code:
...
Checking geometry...
    Overall domain bounding box (x1 y1 z1) (x2 y2 z2)
...
Now you can calculate scaling coefficients.
alexeym is offline   Reply With Quote

Old   April 14, 2014, 10:35
Default
  #4
New Member
 
anonymous
Join Date: Apr 2014
Posts: 8
Rep Power: 3
mikeR is on a distinguished road
thank you. I assume the output of the checkMesh utility is in meter?
mikeR is offline   Reply With Quote

Old   April 14, 2014, 10:37
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,089
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Yes, it's in meters.
alexeym 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
Netgen - News philippose Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 May 2, 2013 15:59
Netgen - Queries Batchmode & Verbose Mode shivaprasad123 Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 July 17, 2011 11:06
Netgen User Manual ggruber Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 March 21, 2010 04:12
Geometry > Netgen > OpenFOAM ericnutsch Open Source Meshers: Gmsh, Netgen, CGNS, ... 9 February 22, 2010 08:39
Netgen v45 Release Candidate 2 philippose Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 April 29, 2008 16:58


All times are GMT -4. The time now is 03:29.