CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

changing initial condition for the velocity

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 4, 2013, 11:21
Default changing initial condition for the velocity
  #1
New Member
 
atheel
Join Date: Dec 2012
Posts: 3
Rep Power: 4
jameel is on a distinguished road
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,
jameel is offline   Reply With Quote

Old   July 22, 2013, 05:02
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 112
Rep Power: 7
cutter is on a distinguished road
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
cutter is offline   Reply With Quote

Old   July 22, 2013, 07:31
Default
  #3
Member
 
sandy
Join Date: Mar 2013
Location: Cardiff, UK
Posts: 71
Rep Power: 4
sandy13 is on a distinguished road
Quote:
Originally Posted by cutter View Post
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,
sandy13 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating point exception error Alan OpenFOAM Running, Solving & CFD 10 April 6, 2012 14:02
Multiple floating objects CKH OpenFOAM 10 September 21, 2011 23:13
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Computational time sunnysun OpenFOAM Running, Solving & CFD 5 March 16, 2009 04:32
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


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