CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Pointwise & Gridgen (http://www.cfd-online.com/Forums/pointwise/)
-   -   Changing Pointwise length scale (http://www.cfd-online.com/Forums/pointwise/94750-changing-pointwise-length-scale.html)

RuiVO November 24, 2011 08:02

Changing Pointwise length scale
 
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

jchawner November 27, 2011 16:36

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.

RuiVO December 1, 2011 17:11

Hi jchawner,

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

Best regards

Rui

YNM_07 August 21, 2013 07:54

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

Far August 21, 2013 14:37

I guess best option would to scale the mesh in Fluent (always).

YNM_07 August 22, 2013 08:16

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

rmatus August 22, 2013 17:21

Scaling in Pointwise maintains geometry
 
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

YNM_07 August 22, 2013 17:44

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

tcarrigan August 23, 2013 11:46

Quote:

Originally Posted by RuiVO (Post 333414)
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)'

jitendraseregar@gmail.com February 2, 2016 04:43

Quote:

Originally Posted by jchawner (Post 333719)
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

adi.ptb July 25, 2016 03:52

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

jchawner July 25, 2016 08:21

Yes, 0.5 would be 0.5 mm.

adi.ptb July 25, 2016 08:49

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,

jchawner July 25, 2016 08:54

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.

adi.ptb July 25, 2016 09:17

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,

jchawner July 25, 2016 09:24

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.

adi.ptb July 25, 2016 13:59

Hi john,

Is it correct that the extrusion progression is geometrical?

jchawner July 25, 2016 14:09

I believe so, yes.


All times are GMT -4. The time now is 19:56.