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

What are those macros?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 26, 2011, 01:27
Default What are those macros?
  #1
Member
 
Ming Cai
Join Date: Mar 2011
Posts: 50
Rep Power: 5
mingersai is on a distinguished road
In the UDF mannual, I see lots of macros that's not explained in the mannual,
Do any one how to find information about those things?
I went through some of source files under src directory, but it's not clearly explained.

I met
SV_ALLOCATED_P
SV_WALL_GRID_V, SV_WALL_V

in DEFINE_DPM_BC,
What is this SV_?

I also see lots of RP in the dpm bc example, like RP_2D, I can also see it in parallel consideration chapter, which has RP_HOST

Can anyone tell me what is this RP_ ?


I also see THREAD_TYPE(t) ==THREAD_F_WALL

where I can find this macro in src files?

I saw a UDF from the forum use an interesting loop:


begin_particle_cell_loop(pi,c,t)

How can I find loops like this form either manual or src files?

Thanks for your help!
mingersai is offline   Reply With Quote

Old   August 26, 2011, 06:39
Default
  #2
New Member
 
Denis
Join Date: May 2011
Posts: 17
Rep Power: 5
_Denis_ is on a distinguished road
I too find that Fluent udf manual is not sufficiently detailed on some issues. However it might help a lot if you use a pdf-version of the manual (search for it in the installation dir.). The thing is, Fluent help searching engine doesn't search for words put in tables, like so many of udf macro are.
Using pdf-reader you'll be able to find answers to most of your questions.
_Denis_ is offline   Reply With Quote

Old   August 26, 2011, 11:09
Default
  #3
Member
 
Ming Cai
Join Date: Mar 2011
Posts: 50
Rep Power: 5
mingersai is on a distinguished road
Quote:
Originally Posted by _Denis_ View Post
I too find that Fluent udf manual is not sufficiently detailed on some issues. However it might help a lot if you use a pdf-version of the manual (search for it in the installation dir.). The thing is, Fluent help searching engine doesn't search for words put in tables, like so many of udf macro are.
Using pdf-reader you'll be able to find answers to most of your questions.
Hi, Thanks for your reply.
I'm using pdf reader, however, some of the macros only showed up once in a certain example..... It's hard for me to understand....
mingersai is offline   Reply With Quote

Old   August 29, 2011, 02:20
Default udf velocity inlet
  #4
Member
 
Nirav
Join Date: Jul 2011
Posts: 42
Rep Power: 5
niravtm007 is on a distinguished road
Send a message via Skype™ to niravtm007
hiii friends i am entirely new to using udf's in fluent. I have a cubical geometry, with two inlets on perpendicular adjacent faces. i have to implement udf to only one of the conditions.
i have two cases
1) parabolic velocity inlet ( space varient)
2) sinusodial velocity velocity inlet ( time variant)
can any one pls send me the udf ( codes) ...
niravtm007 is offline   Reply With Quote

Old   June 3, 2013, 10:00
Default
  #5
New Member
 
Song
Join Date: Nov 2011
Posts: 4
Rep Power: 4
songwukong is on a distinguished road
Quote:
Originally Posted by mingersai View Post
Hi, Thanks for your reply.
I'm using pdf reader, however, some of the macros only showed up once in a certain example..... It's hard for me to understand....
hello

I met the same problem as you did.

how is it going now?

I found that we could get the definition of "SV_..." in some .h documents from a fold named "src". But i feel that although we got the definitions, we still do not know their exact meaning for the absence of enough comments.
songwukong 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
macros for pressure drop Dr C.Bhasker CD-adapco 5 April 9, 2012 12:24
Tecplot360 - Macros calling Macros? eRzBeNgEl CFX 1 April 15, 2011 06:32
help with macros F_ID and C_ID Jack Martinez FLUENT 0 August 19, 2007 08:27
What are UDF macros C_T_S , C_T_AP,...???? Asghari FLUENT 0 January 28, 2007 10:54
Orientation of Face Variable Macros hirokata FLUENT 0 February 17, 2006 00:12


All times are GMT -4. The time now is 06:20.