setFields: possible keywords?
Dear All,
has anyone documented possible keywords for setFieldDict? I know about boxToCell and obviously default values, but are there any other keywords that might be used there? My problem is the following. I am playing with interFoam, flow in a pipe and I have just rotated the Gravitational Acceleration vector by pi/4 to see if there is any effect depending on the orientation of my grid with respect to GA. I would like to initialise the domain with liquid at the bottom of the pipe, but obviously now the bottom is rotated by pi/4. It is impossible with boxToCell since it always aligns the box with the grid. Is there any way to work around this problem without rotating the whole grid? |
You should consider funkySetFields:
http://openfoamwiki.net/index.php/Co...funkySetFields If you're familiar with GroovyBC you should easily be able to do what you want. |
Thank you for your comment and a hint. funkySetFields looks extremely useful and I will gladly get acquainted with it.
For now I just wish to report that I solved my problem with rotateMesh. I have to say that I was unaware that such tool exists and hence, I thought I will have to manually update my blockMeshDict. With rotateMesh I simply wrote Code:
rotateMesh "(0 1 0)" "(0.71 0.71 0)" |
All times are GMT -4. The time now is 06:06. |