|
[Sponsors] |
March 12, 2009, 09:02 |
Unit conversion in Snappy
|
#1 |
Senior Member
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 17 |
Could someone suggest how to convert units when I generate grid using snappy? Like in blockMesh, I can specify a convertToMeters value. I used that in snappyHexMesh dict- it didn't work. I have my geometry in units of feet. I want to get the grid in meters. Thanks
|
|
March 12, 2009, 09:18 |
prapanj,
after finishing sn
|
#2 |
Member
Andreas Dietz
Join Date: Mar 2009
Location: Munich
Posts: 79
Rep Power: 17 |
prapanj,
after finishing snappyHexMesh, use the utility transformPoints -scale '(scaleFactor*x scaleFactor*y scaleFactor*z)' |
|
March 12, 2009, 09:26 |
hi,
the convertToMeters won
|
#3 |
Senior Member
Wolfgang Heydlauff
Join Date: Mar 2009
Location: Germany
Posts: 136
Rep Power: 21 |
hi,
the convertToMeters won't work in sHM. create your Mesh with snappy and copy results to your calculation-case-constant folder as usual. then use console in that case-folder with the command transformPoints -scale "(x y z)" where x, y and z are the multiplication factors in x, y and z direction. since you don't want to stretch the grid, it is x = y = z. what value it is to convert feet to meters ... you have to find out yourself. remember to have your blockMesh-Grid also in feet for sHM operation. The transformPoints-command transforms the whole mesh only. |
|
March 12, 2009, 23:09 |
Thank you. I appreciate it.
|
#4 |
Senior Member
Prapanch Nair
Join Date: Mar 2009
Location: Bangalore, India
Posts: 105
Rep Power: 17 |
Thank you. I appreciate it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CFX-Post] Unit Conversion in Expression | marcel_jay | CFX | 5 | July 16, 2024 10:52 |
UDF unit conversion | yeongjia | Fluent UDF and Scheme Programming | 3 | November 5, 2019 06:22 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 08:31 |
unit conversion of pre-exponential factor A of chemkin mechanism in Fluent | newbie | FLUENT | 5 | November 14, 2010 06:44 |
unit conversion | Topu | Phoenics | 2 | July 19, 2007 11:11 |