CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] Scale down with surfaceTransformpoints (https://www.cfd-online.com/Forums/openfoam-meshing/151195-scale-down-surfacetransformpoints.html)

J.Y.Won April 6, 2015 11:39

Scale down with surfaceTransformpoints
 
Dear all.

I want scale down my original igs file to 1/58.
How can I put 1/58 into scaling factor option?:confused:
or should I put the calculated digits?

Thanks,

alexeym April 6, 2015 13:43

Hi,

Did you try:

Code:

alexey at daphne in ~$ surfaceTransformPoints

Usage: surfaceTransformPoints [OPTIONS] <surfaceFile> <output surfaceFile>
options:
  ...
  -scale <vector>  scale by the specified amount - eg, '(0.001 0.001 0.001)'
                    for a uniform [mm] to [m] scaling
  ...

For 1/58 scaling in all directions vector should be (0.01724 0.01724 0.01724)

J.Y.Won April 7, 2015 02:33

Thank you Alexey.
I know that way you suggested, but if I put scale option like that, I should truncate some digits...
I wanted to know how to scale down precisely...

thank you for your reply!


All times are GMT -4. The time now is 11:26.