|
[Sponsors] |
August 26, 2011, 01:27 |
What are those macros?
|
#1 |
Member
Ming Cai
Join Date: Mar 2011
Posts: 50
Rep Power: 15 |
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! |
|
August 26, 2011, 06:39 |
|
#2 |
New Member
Denis
Join Date: May 2011
Posts: 17
Rep Power: 14 |
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. |
|
August 26, 2011, 11:09 |
|
#3 | |
Member
Ming Cai
Join Date: Mar 2011
Posts: 50
Rep Power: 15 |
Quote:
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.... |
||
August 29, 2011, 02:20 |
udf velocity inlet
|
#4 |
Member
|
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) ... |
|
June 3, 2013, 10:00 |
|
#5 | |
New Member
Song
Join Date: Nov 2011
Posts: 12
Rep Power: 14 |
Quote:
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. |
||
May 19, 2015, 08:03 |
|
#6 |
New Member
Arjun
Join Date: Jan 2014
Location: Chennai
Posts: 21
Rep Power: 12 |
'sv_' simply means storage variable
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
macros for pressure drop | Dr C.Bhasker | Siemens | 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 |