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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Andrea1984
Forum: OpenFOAM Community Contributions January 10, 2013, 05:10
Replies: 18
Views: 6,038
Posted By Andrea1984
Bernhard, Thank you very much for your tips,...

Bernhard,

Thank you very much for your tips, now I have a wonderful (pseudo-)random velocity field!

If anyone else is interested, the expression i used is:

"vector (0.01*rand(12)-0.005,...
Forum: OpenFOAM Community Contributions January 9, 2013, 11:10
Replies: 18
Views: 6,038
Posted By Andrea1984
Obtaining the desired range starting from [0,1)...

Obtaining the desired range starting from [0,1) it's not a problem; my problem is how to have three different random scalar fields (one for each velocity component).

I've also tried to use...
Forum: OpenFOAM Community Contributions January 1, 2013, 08:51
Replies: 18
Views: 6,038
Posted By Andrea1984
Hi Bernard, I was pretty sure that the...

Hi Bernard,

I was pretty sure that the formulation in my previous post is wrong because rand() generates a scalar random field, so it has a defined and unique value in each cell of the domain. In...
Forum: OpenFOAM Community Contributions December 30, 2012, 06:57
Replies: 18
Views: 6,038
Posted By Andrea1984
how to initialize a random velocity field with funkySetFields

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(),...
Showing results 1 to 4 of 4

 
Forum Jump

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