CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > Pointwise & Gridgen

Changing Pointwise length scale

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By tcarrigan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2011, 08:02
Default Changing Pointwise length scale
  #1
Member
 
Rui Vizinho de Oliveira
Join Date: Sep 2011
Posts: 31
Rep Power: 15
RuiVO is on a distinguished road
Greetings,

How to change length scale of Pointwise from meters to millimeters?

I ask this because I have one T106 geometry in pointwise but its designed in meters. When I load this mesh in Fluent I can change the length scale easily. But when I run in OpenFoam the same is not so easy since OF is predefined to run in meters and my solutions aren't exactly the same since one of the blades has a 86 millimeters for axial chord and the other one in OpenFoam has 86 meters. The pressure distribution is similar but the total values of pressure are completely different. I guess with the correct adimensionalization I could get similar results, but I prefer to obtain actual similar results of the same order of magnitude.

Best regards

Rui
RuiVO is offline   Reply With Quote

Old   November 27, 2011, 16:36
Default
  #2
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
Hi Rui:

Pointwise is dimensionless so you don't change units.

But to scale the mesh you just select everything and use Edit, Transform, Scale by the appropriate factors.

Hope this helps.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   December 1, 2011, 17:11
Default
  #3
Member
 
Rui Vizinho de Oliveira
Join Date: Sep 2011
Posts: 31
Rep Power: 15
RuiVO is on a distinguished road
Hi jchawner,

Thank you for your answer. The was exactly what I did !

Best regards

Rui
RuiVO is offline   Reply With Quote

Old   August 21, 2013, 08:54
Default
  #4
New Member
 
Anonymous
Join Date: Apr 2013
Posts: 7
Rep Power: 13
YNM_07 is on a distinguished road
Hi Guys,

I understand that pointwise works with a dimensionless length unit and you can scale the it down to achieve the appropriate sizing for export into your chosen solver. However, my issue is I have a geometry that includes a feature that is extremely small in relation to the largest dimension (1/1000th). When I scale by the appropriate factors I lose some accuracy in the feature, which happens to be a hemispherical protrusion, and it truncates the mentioned geometry.

Any suggestions on how to approach this? I will be importing the mesh into Fluent and although I see you can change the length scale in fluent, I would prefer to keep it in meters in order to avoid any possible errors throughout the analysis.

Any help would be much appreciated if you guys have any ideas!

Thanks in advance!

YNM_07
YNM_07 is offline   Reply With Quote

Old   August 21, 2013, 15:37
Default
  #5
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
I guess best option would to scale the mesh in Fluent (always).
Far is offline   Reply With Quote

Old   August 22, 2013, 09:16
Default
  #6
New Member
 
Anonymous
Join Date: Apr 2013
Posts: 7
Rep Power: 13
YNM_07 is on a distinguished road
Perfect, sorry that must have seemed like a silly question! I was unaware you could do that in Fluent, will give it a go.

Thanks again for your help!

Yannick
YNM_07 is offline   Reply With Quote

Old   August 22, 2013, 18:21
Default Scaling in Pointwise maintains geometry
  #7
Senior Member
 
rmatus's Avatar
 
Rick Matus
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 116
Rep Power: 17
rmatus is on a distinguished road
Yannick:

Scaling the geometry in Pointwse should not truncate any parts. Are you sure the geometry is actually truncated and it is not a display artifact? You can check that by making sure Pointwise is set to use double-precision graphics. In Pointwise, go to Edit, Preferences and make sure Double Precision Graphics is checked on in the Graphics pane.

Could you post before and after images so I can see what is happening?

Thanks,
Rick
rmatus is offline   Reply With Quote

Old   August 22, 2013, 18:44
Default
  #8
New Member
 
Anonymous
Join Date: Apr 2013
Posts: 7
Rep Power: 13
YNM_07 is on a distinguished road
Yeah it could actually be a graphics problem. I initially thought it may be but didn't want to take any chances. I will give that a go sometime today a let you know how that goes. I can post some images as well.

Thanks for the response guys, really appreciate the help.

YNM_07
YNM_07 is offline   Reply With Quote

Old   August 23, 2013, 12:46
Default
  #9
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16
tcarrigan is on a distinguished road
Quote:
Originally Posted by RuiVO View Post
But when I run in OpenFoam the same is not so easy since OF is predefined to run in meters and my solutions aren't exactly the same since one of the blades has a 86 millimeters for axial chord and the other one in OpenFoam has 86 meters.
You can scale the grid in OpenFOAM by transforming the points. For example, to go from mm to m you would use the following command:

Code:
transformPoints -scale '(0.001 0.001 0.001)'
ndtrong, tonnykz and W Mao like this.
tcarrigan is offline   Reply With Quote

Old   February 2, 2016, 04:43
Default
  #10
New Member
 
jit
Join Date: Jun 2015
Location: bangalore
Posts: 25
Rep Power: 11
jitendraseregar@gmail.com is on a distinguished road
Quote:
Originally Posted by jchawner View Post
Hi Rui:

Pointwise is dimensionless so you don't change units.

But to scale the mesh you just select everything and use Edit, Transform, Scale by the appropriate factors.

Hope this helps.
If I have to change length scale in say meters so how much or what scaling factor should be used? any help would be much appreciated
jitendraseregar@gmail.com is offline   Reply With Quote

Old   July 25, 2016, 04:52
Default
  #11
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
Hi,
according to above comments PointWise in dimensionless so all the length scales should be consistent right? For example if the geometry was created in mm and we import the geometry into PointWise and then lets say we use a value of 0.5 for the connector dimension. The 0.5 value that we specify is considered as mm in PointWise?

Thanks
adi.ptb is offline   Reply With Quote

Old   July 25, 2016, 09:21
Default
  #12
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
Yes, 0.5 would be 0.5 mm.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   July 25, 2016, 09:49
Default
  #13
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
Thank you so much for your reply john. I have another question about TRex that i hope you can help me with. I understand that TRex is anisotropic tetrahedral extrusion. I want to know how the progression is handled from one layer to the next one and how to calculate the total height of the layers. Is there any mathematical expression based one the initial height, number of layers and the growth rate to calculate the total height?

Thanks so much,
adi.ptb is offline   Reply With Quote

Old   July 25, 2016, 09:54
Default
  #14
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
You specify the initial spacing and a growth rate (for example, 1.2 = grows by 20%) of that spacing for each successive extrusion step. Extrusion continues until the cells become roughly isotropic for a smooth transition to the outer tet mesh.

Total layer height can be controlled to a certain degree but keep in mind that T-Rex stops extruding locally based on many criteria including cell quality and proximity to other extruding layers. Therefore, the height of the extruded region will vary across the geometry.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   July 25, 2016, 10:17
Default
  #15
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
Thanks john. I have specified some values for the TRex like collision buffer= 2, max angle = 160 degree, boundary decay =0.85, growth rate =1.27 and 20 layers. What you are saying is completely correct but I want an rough value for the overall height. so that I can roughly make that overall height to match my boundary layer thickness. How can I do that in PointWise? Should I measure the distance between two points to get that? and if that is true should I do it before export to the solver or after export? and how can I measure the distance between two points?

Thanks so much,
adi.ptb is offline   Reply With Quote

Old   July 25, 2016, 10:24
Default
  #16
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
I suppose you can set Max Layers, the maximum number of layers it will attempt to extrude. Then knowing the initial wall spacing and the growth rate you could compute the layer height where the max. number of layers is achieved.

On Windows, you can measure the distance between any two points using Alt + right mouse button. There are other key bindings for Linux and Mac that are in the User Manual.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   July 25, 2016, 14:59
Default
  #17
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
Hi john,

Is it correct that the extrusion progression is geometrical?
adi.ptb is offline   Reply With Quote

Old   July 25, 2016, 15:09
Default
  #18
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
I believe so, yes.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   August 25, 2016, 18:36
Default
  #19
Senior Member
 
Zach Davis
Join Date: Jan 2010
Location: Los Angeles, CA
Posts: 101
Rep Power: 16
RcktMan77 is on a distinguished road
Quote:
Originally Posted by adi.ptb View Post
Thanks john. I have specified some values for the TRex like collision buffer= 2, max angle = 160 degree, boundary decay =0.85, growth rate =1.27 and 20 layers. What you are saying is completely correct but I want an rough value for the overall height. so that I can roughly make that overall height to match my boundary layer thickness. How can I do that in PointWise? Should I measure the distance between two points to get that? and if that is true should I do it before export to the solver or after export? and how can I measure the distance between two points?

Thanks so much,
Adi,

You shouldn't artificially limit the number of layers that you grow using T-Rex. You want the extrusion to continue until the last cell height reaches an isotropy condition, so that the cell volumes between the last layer of anisotropic tetrahedra and the isotropic tetrahedra that fill in the interior are roughly the same. Otherwise you will have a large jump in cell volumes between the boundary layer resolved grid and the interior which most solvers find undesirable. Specify an arbitrarily large number for Max Layers. The extrusion should automatically stop upon reaching isotropy, and you should have a smooth transition in cell volumes between T-Rex cells and iso-tets.

Also specifying a Max Angle stop criteria of 160 degrees is pretty strict. You are likely going to get a better volume grid by relaxing this somewhat. Try 165 or 170 degrees instead.

Best Regards,



Zach
RcktMan77 is offline   Reply With Quote

Old   November 12, 2020, 03:26
Default
  #20
Senior Member
 
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12
ndtrong is on a distinguished road
Quote:
Originally Posted by tcarrigan View Post
You can scale the grid in OpenFOAM by transforming the points. For example, to go from mm to m you would use the following command:

Code:
transformPoints -scale '(0.001 0.001 0.001)'
Thank you so much for your suggestion.
ndtrong 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
Turbulence length scale and integral length scale rizhang CFX 2 April 22, 2016 08:22
Integral Length Scale vs Turbulent Length Scale Scott Nordsen FLUENT 2 January 20, 2014 02:17
LES inlet length scale f.neilson Main CFD Forum 0 January 31, 2005 14:26
Characteristic Length Scale Thomas P. Abraham Main CFD Forum 2 April 20, 1999 18:16


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