CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Initial Velocity Field - 2D Turbulence in a Periodic Box

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

LinkBack Thread Tools Display Modes
Old   May 28, 2013, 00:18
Default Initial Velocity Field - 2D Turbulence in a Periodic Box
New Member
Angus Hutchison
Join Date: May 2013
Posts: 6
Rep Power: 6
AHutchison is on a distinguished road
Hi Foamers,

I'm trying to model the two dimensional turbulence of a fluid in a periodic box similar to this example:

I'm having trouble determining the initial conditions, at the moment I'm just trying to get a random velocity field so I can run the program and check that it works. Once I know it's working I will be looking to create an initial velocity field such as the one below, 13 seconds in:

I've had a bit of a search through the forums and found a thread which suggested using funkySetFields to create a random inital velocity field:

**EDIT** I'm also using incompressible pimpleFoam
I'm not sure how to implement this code into my program, should it be inserted into the 'U' document in the '0' file? I'm very new to this so any help no matter how basic is appreciated!
AHutchison is offline   Reply With Quote


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
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 16 March 4, 2017 09:30
Velocity blows up suddenly after 30,000+ iterations lordvon OpenFOAM Running, Solving & CFD 15 October 19, 2015 13:52
Problems with simulating TurbFOAM barath.ezhilan OpenFOAM 13 July 16, 2009 05:55
Computational time sunnysun OpenFOAM Running, Solving & CFD 5 March 16, 2009 04:32
Negative value of k causing simulation to stop velan OpenFOAM Running, Solving & CFD 1 October 17, 2008 05:36

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