CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (http://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   mesh scaling on openfoam (http://www.cfd-online.com/Forums/openfoam-meshing/117726-mesh-scaling-openfoam.html)

reza1980 May 14, 2013 06:04

mesh scaling on openfoam
 
Hi Foamers,
I simulate a ship propeller by using OpenFoam .I have case files for the propeller in real size and initially approach to the results .Now, I need to scale the propeller in model size with specified scale.
Would you please let me know how to scale the files to obtain case file for the model.
/Reza:)

sasanghomi May 14, 2013 07:22

Hi Reza,
If you have a mesh file and you want to scale the geometry you can use (-scale)
for example if you have a (.msh) file you can use :

Code:

fluentMeshToFoam filename.msh -scale 0.001
Actually this code scales the geometry.

hope this helps,
Sasan.

reza1980 May 14, 2013 07:37

Hi Sasan,
The mesh generated by pointwise and the exported file into Openfoam are as polymesh in constant .

colinB May 14, 2013 07:42

Hi
the utility you are looking for is called:

transformPoints

type in the terminal

transformPoints -help

to get the correct usage and available options.

regards


All times are GMT -4. The time now is 17:36.