multiplying diameters to 0.001 in a grid that has the .msh format
Dear Buddies
Hi I have created my 3d-grid in gambit software and then with the help of fluent software and fluentMeshToFoam directive, imported the grid to openfoam. Now, I have found that my diameters are in mm, instead of m; i.e. I need to multiply my diameters to 0.001 . Is there any way to do it now in OpenFOAM or I need to go back to gambit for the required modifications. In constant folder, there is a polymesh folder with some other sub folders. Regards Bobi |
Greetings Bobi,
What you're looking for is transformPoints: http://openfoamwiki.net/index.php/TransformPoints Best regards, Bruno |
Hi Bruno
Thanks for ur help :), I am going to work with transformpoints to become familiar with it. Regards Bobi |
Dear Bruno
Hi The -scale utility is used in the incompressible/pimpleFoam/elipsekkLOmega I think I need to make a Allrun file. Would you PLZ hint me that which lines from the aforementioned file in elipsekkLOmega is needed for me; cause I need to multiply dimensions by 0.002 i.e. (0.002 , 0.002 , 0.002) The Allrun file in elipsekkLOmega is as: PHP Code:
PHP Code:
Regards Bobi |
Hi Bobi,
Quote:
From your description so far, it looks like you only need to transform the mesh points. Although, if you want to take advantage of the runApplication and runParallel functions, you'll need the following code at the top of the script: Code:
#!/bin/sh Bruno |
All times are GMT -4. The time now is 17:43. |