CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] changing initial condition for the velocity

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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, 06:02
Default
  #2
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
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, 08:31
Default
  #3
Member
 
sandy
Join Date: Mar 2013
Location: Cardiff, UK
Posts: 74
Rep Power: 13
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault when using reactingFOAM for Fluids Tommy Floessner OpenFOAM Running, Solving & CFD 4 April 22, 2018 13:30
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 14:12
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34


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