|
[Sponsors] |
November 24, 2009, 04:20 |
User Field Function
|
#1 |
New Member
Hannow
Join Date: Nov 2009
Posts: 6
Rep Power: 16 |
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, 04:43 |
|
#2 |
New Member
Join Date: Nov 2009
Posts: 5
Rep Power: 16 |
sqrt($$Position[1]^2+$$Position[2]^2)
|
|
November 24, 2009, 12:19 |
|
#3 |
New Member
Join Date: Nov 2009
Posts: 12
Rep Power: 16 |
||
November 24, 2009, 20:20 |
|
#4 |
New Member
Hannow
Join Date: Nov 2009
Posts: 6
Rep Power: 16 |
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 :-) |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 06:59 |
solving passive scalar by user function in AVLFIRE | huyp | Main CFD Forum | 0 | September 4, 2008 10:21 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 06:27 |
custom field function | greg | FLUENT | 2 | May 23, 2006 10:42 |