|
[Sponsors] |
November 17, 2008, 11:37 |
Hello,
I am new to openFoam
|
#1 |
New Member
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
Hello,
I am new to openFoam and want to set up a case to study the deformation of a single droplet. Can someone help with this? Thanks, ss |
|
November 17, 2008, 14:40 |
Start by learning how to use t
|
#2 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Start by learning how to use the interFoam solver. Refer to the "Dam break" tutorial for a quick start guide on this.
|
|
November 20, 2008, 14:10 |
Hi Srinath,
THanks for your
|
#3 |
New Member
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
Hi Srinath,
THanks for your message. I have been able to run the tutorials on damBreak. Now, I am trying to set up the fluid as a droplet in the same domain. someone in one of these threads has suggested using the following piece of code. However, I am not sure where exactly they want me to put this code! Any suggestions? ----------------- scalar xC(0.0), yC(0.0); // Center values of for the cross section. forAll(gamma,gI) { if (sqr(mesh.C()[gI].component(0) - xC) + sqr(mesh.C()[gI].component(1) - yC) <= sqr(radius)) { gamma[gI] = 1; } } -------------- |
|
November 20, 2008, 14:22 |
Also, just so you know, I use
|
#4 |
New Member
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
Also, just so you know, I use openfoam version 1.5 so I think funkySetFields need not be installed?
Thanks, ss |
|
November 20, 2008, 16:16 |
Everything you need to know is
|
#5 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Everything you need to know is here[1]. Please search the forum carefully before posting. Thank Bernhard for both the utility and providing a simple expression for creating a fluid sphere.
PS: I doubt that funkySetfields is available with the stock OF 1.5 (from OpenCFD). That post has instructions on how to pull it out from OF 1.5.x (dev). Good Luck! References: [1] http://www.cfd-online.com/OpenFOAM_D...ges/1/368.html |
|
November 20, 2008, 18:06 |
Hi s s
With the release of
|
#6 |
Senior Member
Join Date: Mar 2009
Posts: 248
Rep Power: 18 |
Hi s s
With the release of 1.5 version a new topoSetSource is available. What you want to do requires no coding. please use sphereToCell for your purpose. FSF is a tool which allows the complete freedom to go for general shapes, offcourse if you know the mathematical expression Look into tutorials/lesCompressibleInterFoam/ and there is a test case which initialzes a bubble using this topoSetSource. Also I request you to please use your real name and activate your email otherwise posting on the forum gives a feeling of yahoo chat rooms :-) Kind Regards Jaswi |
|
November 20, 2008, 18:23 |
Hello Jaswinder, Thanks for th
|
#7 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Hello Jaswinder, Thanks for that pointer.
|
|
November 22, 2008, 12:12 |
Srinath and Jaswinder,
Than
|
#8 |
New Member
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
Srinath and Jaswinder,
Thanks for your comments. ss |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MULTIPHASE - SINGLE DROPLET | ozgur | FLUENT | 3 | June 12, 2018 14:22 |
Boundary Condition for single droplet evaporation | Deepak Kumar Mandal | Siemens | 0 | January 30, 2007 10:25 |
deformation | Dominik | Main CFD Forum | 1 | July 20, 2005 20:14 |
benchmark of droplet deformation | ptyue | Main CFD Forum | 0 | March 26, 2003 11:39 |
single liquid fuel droplet combustion(unbounded) | Dipankar Chatterjee | FLUENT | 0 | March 18, 2002 07:35 |