|
[Sponsors] |
November 24, 2009, 05:20 |
User Field Function
|
#1 |
New Member
Hannow
Join Date: Nov 2009
Posts: 6
Rep Power: 17 |
Hi all,
I want to create a new user field function that calculate the velocity magnitude of only two components which are j and k. The problem is that i don't know how to write the function definition. Specifically, I don't know the funtion names of the two velocity component j and k. If anybody knows the tips, please let me know. Thank you all. Hannow |
|
November 24, 2009, 05:43 |
|
#2 |
New Member
Join Date: Nov 2009
Posts: 5
Rep Power: 17 |
sqrt($$Position[1]^2+$$Position[2]^2)
|
|
November 24, 2009, 13:19 |
|
#3 |
New Member
Join Date: Nov 2009
Posts: 12
Rep Power: 17 |
||
November 24, 2009, 21:20 |
|
#4 |
New Member
Hannow
Join Date: Nov 2009
Posts: 6
Rep Power: 17 |
The one I was looking for is this:
sqrt(pow($$Velocity[1],2)+pow($$Velocity[2],2)) Thank you all for the tip, really appreaciate it :-) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 07:59 |
solving passive scalar by user function in AVLFIRE | huyp | Main CFD Forum | 0 | September 4, 2008 11:21 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |
custom field function | greg | FLUENT | 2 | May 23, 2006 11:42 |