CFD Online Logo CFD Online URL
Home > Forums > STAR-CCM+

Customized User Field Function - Vector

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

LinkBack Thread Tools Display Modes
Old   December 8, 2009, 04:22
Default Customized User Field Function - Vector
New Member
Join Date: Nov 2009
Posts: 6
Rep Power: 9
hannow is on a distinguished road
Hi all,

I want to create new user field function which is a velocity vector that has two components instead of three, j and k. Can it be done in STAR-CCM+? If so, how? or how the function definition should be written?

Thank you!

hannow is offline   Reply With Quote

Old   December 10, 2009, 08:25
New Member
Join Date: Dec 2009
Posts: 2
Rep Power: 0
CFDENGR is on a distinguished road

You can define a new field function as you described. Right click on the field functions tab under the tools menu and select new -> user defined field function. Now you can define it however you would like. The code is simple:

For velocity, you typically have 3 components, we will say i,j,k. The i-component is $$Velocity[0], j-component is $$Velocity[1], and k-component is $$Velocity[2]. You can use these and any mathematical operators however you would like to create your desired field functions. Look in the manual for user defined field functions for a more complete description of how to define them.
CFDENGR is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview Vector Field simone Marras ParaView 2 April 3, 2013 06:34
Interface Matching and Field Function problems PLUH STAR-CCM+ 3 July 6, 2009 08:33
User Defined Function for convection coefficient ereiss FLUENT 1 July 8, 2004 16:10
User define flux function kethireddy FLUENT 0 July 5, 2004 04:53
Seeking for flow field (vector plot) visualization software. Hua Main CFD Forum 7 January 25, 1999 12:33

All times are GMT -4. The time now is 16:01.