|
[Sponsors] |
October 8, 2015, 23:53 |
hemisphere in setFields
|
#1 |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Hi,
I am going to simulate a single droplet falling in air by means of InterDyMFoam. To decrease the computational time I want to simulate half of the domain. So I need to have a hemisphere for the half of the drop in initial condition. Anybody knows How I can create a hemisphere by setFields or any other functions? Thanks |
|
October 10, 2015, 09:21 |
|
#2 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
you can use following instructions :
Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
October 11, 2015, 12:44 |
|
#3 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Setting a sphere should work in your case right?
|
|
October 12, 2015, 00:26 |
|
#4 |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
||
October 12, 2015, 02:11 |
|
#5 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
To make it a hemisphere, one can probably use a box to reset its value, I suppose.
Of course, this wouldn't be ideal if the plane of the flat surface of the hemisphere is at an angle. Maybe combining it with topoSet and its rotated Box might help? Any comments? |
|
October 12, 2015, 09:11 |
|
#6 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
1- change your perspective , you can easily obtain hemispherical with that command Hint: assign a valid centre!
2- but if you insist on draw hemisphere, use funkySetFields
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
setFields after snappyHexMesh | mo.houssami | OpenFOAM Pre-Processing | 4 | May 13, 2015 12:44 |
rhoSimplecFoam with setFields | sino75 | OpenFOAM Pre-Processing | 0 | March 11, 2015 05:08 |
Problems with the execution of the setFields utility. | foamer | OpenFOAM Pre-Processing | 5 | June 3, 2013 13:24 |
Expanding and contracting hemisphere | LvK | FLUENT | 0 | August 26, 2010 03:35 |
hemisphere in channel flow | kirill | FLUENT | 3 | September 16, 2004 12:51 |