|
[Sponsors] |
April 20, 2018, 08:31 |
Define udf for mass and energy source in cfx
|
#1 |
Member
naman doshi
Join Date: Oct 2017
Posts: 35
Rep Power: 9 |
Q1.can we define source term as user define function in cfx?if yes how?
Q2.i want to define udf for mass and energy source such that, mass source depend on mass of water vapour incoming the domain at point, is it possible to make such udf? Q3. my energy source is dependent on the mass source. |
|
April 20, 2018, 12:26 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33 |
A1: Yes.
A2: Yes A3: Yes How? Depends on the complexity required. You may even be able to do it using CEL (CFX Expression Language) and not even write a single line of Fortran code. You may need to review a few tutorials, and read the documentation for CEL expressions support. The UDF (User-defined Fortran) works via the expressions setup as well; therefore, time invested in CEL is worth it. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF carbon conversion | papteo | Fluent UDF and Scheme Programming | 1 | August 18, 2011 08:32 |
UDF for energy source | João Fernandes | FLUENT | 4 | October 17, 2008 05:53 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |