CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] how to initialize a random velocity field with funkySetFields

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By gschaider
  • 1 Post By gschaider
  • 1 Post By Andrea1984
  • 2 Post By gschaider
  • 1 Post By tfuwa

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 30, 2012, 06:57
Default how to initialize a random velocity field with funkySetFields
  #1
Senior Member
 
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16
Andrea1984 is on a distinguished road
Hi,

I would like to inizialize a random velocity field with funkySetFields. Is it possible?

I've tried something like

{
field U;
expression "vector (0.005*rand(), 0.005*rand(), 0.005*rand())";
}

Do you think this should work?

Thanks in advance


Andrea
Andrea1984 is offline   Reply With Quote

 


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
Having problems getting the mean vorticity field from mean velocity field Martin1 Fluent UDF and Scheme Programming 1 June 18, 2015 08:20
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 18:44
change velocity field LM4112 OpenFOAM Running, Solving & CFD 12 February 5, 2014 11:56
Initial velocity field in StarCCM+ Subhadeep Siemens 3 December 21, 2008 03:40
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


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