CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

how to get gradient value for UDS?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2012, 22:18
Default how to get gradient value for UDS?
  #1
New Member
 
Kim Donghee
Join Date: May 2009
Posts: 15
Rep Power: 8
ssamton is on a distinguished road
hi everyone

i wanna to get gradient value for UDS.

i solve the UDS variables and working fine.

i have to calculate(or get) only d(phi)/dy at boundary.

so, i used C_UDSI_G(c,t,0)[1]

however, show error.

error C2109: subscript requires array or pointer type

please help!!

Thank you all
ssamton is offline   Reply With Quote

Old   March 13, 2012, 03:56
Default
  #2
Member
 
chenxizhong
Join Date: Feb 2012
Posts: 30
Rep Power: 5
chenxizh is on a distinguished road
try to delete the [1] in C_UDSI_G(c,t,0)[1]

Quote:
Originally Posted by ssamton View Post
hi everyone

i wanna to get gradient value for UDS.

i solve the UDS variables and working fine.

i have to calculate(or get) only d(phi)/dy at boundary.

so, i used C_UDSI_G(c,t,0)[1]

however, show error.

error C2109: subscript requires array or pointer type

please help!!

Thank you all
chenxizh is offline   Reply With Quote

Reply

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
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 9 September 18, 2014 07:29
Pressure Gradient in channelOodles sega OpenFOAM Running, Solving & CFD 14 August 12, 2009 06:21
can I use static enthalpy gradient to describe dT Jay CFX 0 August 6, 2008 23:01
About deformation gradient tensor ZHANG Main CFD Forum 0 June 18, 2007 12:51
How to compute gradient for non-orthogonal grids? Paul Hsieh Main CFD Forum 3 November 11, 2003 05:52


All times are GMT -4. The time now is 08:50.