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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2023, 07:08
Smile F_area
  #1
New Member
 
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 3
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

Old   July 31, 2023, 10:26
Default
  #2
Member
 
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6
Siba11 is on a distinguished road
for parallel run, you'll need to parallelize the UDF.

https://www.learncax.com/knowledge-b...e%20processes.
Siba11 is offline   Reply With Quote

Old   August 3, 2023, 08:32
Default
  #3
New Member
 
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 3
HRSD is on a distinguished road
Quote:
Originally Posted by Siba11 View Post
for parallel run, you'll need to parallelize the UDF.

https://www.learncax.com/knowledge-b...e%20processes.
Hi dear,
Thanks for the answer and guidance.
HRSD is offline   Reply With Quote

Reply


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 18:06.