CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

F_area

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 31, 2023, 06:08
Smile F_area
  #1
New Member
 
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 2
HRSD is on a distinguished road
hi dears;
i use a udf code for calculate area on a boundary condition(in below), calculate area in serial run is ok but on parallel run is not ok,
please help me.
thanks.

begin_f_loop(f,t)
if PRINCIPAL_FACE_P(f,t)
{
inst_tabs = F_T(f,t);
F_AREA(face_area,f,t);
inst_area = 2 * pi * NV_MAG(face_area);
inst_rdot = aprexp * exp((-acte) / (ugc * inst_tabs));
inst_mdot = frho * (inst_area) * inst_rdot;
F_PROFILE(f,t,i) = inst_mdot;
sum_inst_tabs += inst_tabs;
area_total += inst_area;
/*C_UDMI(c,t,0) = inst_rdot;*/
}
end_f_loop(f,t)
HRSD is offline   Reply With Quote

 


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 Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 00:03.