Customized User Field Function - Vector
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?
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, j-component is $$Velocity, and k-component is $$Velocity. 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.
|All times are GMT -4. The time now is 18:15.|