CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Field Function to create a Random Vector

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2014, 05:47
Question Field Function to create a Random Vector
  #1
New Member
 
Join Date: May 2014
Posts: 13
Rep Power: 11
darsonli is on a distinguished road
When defining the velocity of DEM particle injection, I would like to randomise the direction of the injection velocity.

If I use the "direction and magnitude" method to define the velocity, is there anyway for me to use field function to create a random vector and define the direction of the velocity?
darsonli is offline   Reply With Quote

Old   August 21, 2014, 11:16
Default
  #2
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
not directly with a field function at present but you could probably use a java macro or drive it from a table created externally
some people have created complex field functions that try to mimic a random generator
ping is offline   Reply With Quote

Reply

Tags
field function, random

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
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 11:51
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Customized User Field Function - Vector hannow STAR-CCM+ 1 December 10, 2009 08:25
Create a field function eyael84 STAR-CCM+ 2 July 27, 2009 08:17


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