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

C_WALL_DIST error.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 27, 2005, 02:23
Default C_WALL_DIST error.
  #1
Andy Cong
Guest
 
Posts: n/a
How to implement the C_WALL_DIST macro?

When I use it in my user-defined source, I got an error.

In some reference, someone else implements it in DEFINE_ON_DEMAND, but I do it like that, ACCESS VIOLATION error occurs too. The code is as follows:

DEFINE_ON_DEMAND(wall_distance) { Domain *d;

Thread *t; cell_t c;

d = Get_Domain(1);

thread_loop_c(t,d) { begin_c_loop(c,t) {

C_UDMI(c,t,7) = C_WALL_DIST(c,t); } end_c_loop(c,t) } }
  Reply With Quote

Old   December 28, 2005, 04:04
Default Urgent Help,Please。
  #2
Andy Cong
Guest
 
Posts: n/a
Please give me some advice. Thanks you.
  Reply With Quote

Old   December 28, 2005, 13:43
Default Re: Urgent Help,Please。
  #3
KP
Guest
 
Posts: n/a
Are u planning to code for wall forces per chance? KP
  Reply With Quote

Old   December 28, 2005, 20:09
Default Re: Urgent Help,Please。
  #4
Andy Cong
Guest
 
Posts: n/a
The problem is:

When I directly use the C_WALL_DIST macro, I got errors. I don't need the wall force, but I want to know the wall distance vector.

Could you give me some advice?

Thank you for your reply.
  Reply With Quote

Old   December 25, 2010, 22:00
Default C_WALL_DIST(c,t)
  #5
New Member
 
NH
Join Date: Jul 2009
Posts: 20
Rep Power: 8
NH_Aus is on a distinguished road
Send a message via Skype™ to NH_Aus
Quote:
Originally Posted by Andy Cong
;127321
The problem is:

When I directly use the C_WALL_DIST macro, I got errors. I don't need the wall force, but I want to know the wall distance vector.

Could you give me some advice?

Thank you for your reply.
--
Hi andy, have u solved with the issue C_WALL_DIST(c,t)?

docnurulhasan@gmail.com
NH_Aus 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
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 23:04.