|
[Sponsors] |
October 20, 2022, 02:31 |
Query about UDS
|
#1 |
New Member
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 5 |
Good time,
Is it possible to define 2 user define function in one UDF? I have check the UDF manual and as for I understand in C_UDSI(c,t,P1), P1 is an integer having some value like 1,2,3...... I means in the UDS macro, p1 is the name or index of UDS. so is it possible to use C_USDI(c, t, 1) is a UDS, named "1", and C_USDI(c, t, 2) is a UDS, named "2" will this idea be correct? DEFINE_SOURCE(energy_source, c, t, dS, eqn) { dS[eqn] = 0; return -abs_coeff*(4.*SIGMA_SBC*pow(C_T(c,t),4.) - C_UDSI(c,t,P1)); } Thanks in advance. Last edited by hbilal1076; October 20, 2022 at 03:33. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change UDS Inlet Typ with UDF possible? | schwaral | Fluent UDF and Scheme Programming | 8 | September 17, 2020 09:47 |
UDS for gas-phase in cavitation models bug | shaham | Fluent Multiphase | 0 | December 31, 2015 01:38 |
Set UDS on wall... | fivos | Fluent UDF and Scheme Programming | 2 | July 25, 2014 06:57 |
Calculate UDS flux through the wall | ananth_01 | FLUENT | 0 | August 5, 2013 08:33 |
Doubts UDS Flux, UDS Unsteady for VOF model | kel85uk | FLUENT | 0 | March 17, 2010 09:53 |