|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 3 ![]() |
Hi,
i write a udf code for define mass flow in mass flow inlet boundary which is in below, begin_f_loop_int(f,t) if PRINCIPAL_FACE_P(f,t) { count++; } end_f_loop_int(f,t) begin_f_loop_int(f,t) if PRINCIPAL_FACE_P(f,t) { F_AREA(c_sur,f,t); inst_temp = F_T(f,t); inst_rdot = aprexp * exp((-acte) / (ugc * inst_temp)); inst_mdot = frho * 2 * pi * NV_MAG(c_sur) * inst_rdot; F_PROFILE(f,t,i) = count * inst_mdot; } end_f_loop_int(f,t) after doing this code, i calculate mass flux in fluxes report on boundary in fluent, but the mass flux is n't summation of mass flux on all faces, that is only mass flux for a face. please guide me, thanks. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ncrit for a glider Xfoil. How to use it. GPT4 answer | AlanMattanó | Main CFD Forum | 0 | April 10, 2023 13:16 |
Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 07:40 |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
Mass flow rate history over solution step- rhoSimpleFoam | gian93 | OpenFOAM Post-Processing | 0 | December 8, 2019 11:20 |
Mass Flow Inlet | Pravir Kumar Rai | FLUENT | 0 | February 19, 2003 15:03 |