|
[Sponsors] |
[Commercial meshers] multiplying diameters to 0.001 in a grid that has the .msh format |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 1, 2013, 02:49 |
multiplying diameters to 0.001 in a grid that has the .msh format
|
#1 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
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 |
|
May 1, 2013, 08:07 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Bobi,
What you're looking for is transformPoints: http://openfoamwiki.net/index.php/TransformPoints Best regards, Bruno
__________________
|
|
May 2, 2013, 09:52 |
|
#3 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Bruno
Thanks for ur help , I am going to work with transformpoints to become familiar with it. Regards Bobi |
|
May 5, 2013, 07:47 |
|
#4 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
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 |
|
May 5, 2013, 08:10 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions Bruno
__________________
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Paraview file format for collocated grid | hadian | ParaView | 0 | February 13, 2008 10:55 |
ON ICEM grid format | Lee | Main CFD Forum | 2 | February 27, 2006 19:53 |
Anyone know the format of this grid file? | Pete | Main CFD Forum | 1 | January 6, 2005 04:06 |
Grid Generator for Plot3d format | Jens Bennetsen | Main CFD Forum | 0 | September 12, 2000 06:00 |
Grid Independent Solution | Chuck Leakeas | Main CFD Forum | 2 | May 26, 2000 12:18 |