What are those macros?
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! |
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. |
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.... |
udf velocity inlet
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) ... |
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. |
'sv_' simply means storage variable
|
All times are GMT -4. The time now is 19:24. |