CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Mesh Utilities (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/)
-   -   changing initial condition for the velocity (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/114054-changing-initial-condition-velocity.html)

jameel March 4, 2013 11:21

changing initial condition for the velocity
 
Dear foamers
I am trying to simulate splashing a liquid bubble in side a cuboid by using interFoam. My case is 3D incompressible, laminar. I have changed the dambreak case to be like what I want and used setFields utility to create this liquid bubble inside my region. Now I want to give this liquid bubble initial condition for velocity and make it 2.89 m/s rather than 0, but i do not how to do it. Do i have to change just the U dictionary in the 0 folder, and If so, how?
please any one has an idea or suggestion because I am new in OF....
atheel,http://www.cfd-online.com/Forums/images/icons/icon9.gif

cutter July 22, 2013 05:02

Hi,

sorry for the late reply, hope it's still useful. As far as I understand you've already used the setFields utility to set the alpha field. You can use the same tool to set U vector field to the desired value for the bubble domain.

Cutter

sandy13 July 22, 2013 07:31

Quote:

Originally Posted by cutter (Post 441176)
Hi,

sorry for the late reply, hope it's still useful. As far as I understand you've already used the setFields utility to set the alpha field. You can use the same tool to set U vector field to the desired value for the bubble domain.

Cutter

Thanks cutter, I already solved it as you recommended, cheers..
jameel,


All times are GMT -4. The time now is 10:15.