Hello,
I am new to openFoam
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 |
Start by learning how to use t
Start by learning how to use the interFoam solver. Refer to the "Dam break" tutorial for a quick start guide on this.
|
Hi Srinath,
THanks for your
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; } } -------------- |
Also, just so you know, I use
Also, just so you know, I use openfoam version 1.5 so I think funkySetFields need not be installed?
Thanks, ss |
Everything you need to know is
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 |
Hi s s
With the release of
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 |
Hello Jaswinder, Thanks for th
Hello Jaswinder, Thanks for that pointer.
|
Srinath and Jaswinder,
Than
Srinath and Jaswinder,
Thanks for your comments. ss |
All times are GMT -4. The time now is 10:18. |