|
[Sponsors] |
August 21, 2014, 05:47 |
Field Function to create a Random Vector
|
#1 |
New Member
Join Date: May 2014
Posts: 13
Rep Power: 12 |
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? |
|
August 21, 2014, 11:16 |
|
#2 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
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 |
|
Tags |
field function, random |
|
|
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 |