about energy equation
hi there,
I have known from the user guide that the energy equation has two froms(temperature and enthalpy form), And now I have energy source term of different form(also temperature and enthalpy form), I want Fluent to solve different form energy equation, what procedures need I do? thanks a lot |
If you want to include source term in energy equation,my experience tells that you should write a UDF to include a source term in energy equation,for better explanation read UDF manual.
|
about energy equation
Quote:
but now I have two equal souce terms which have different form(temperature or enthalpy form), so I want to know what should I do except write a UDF to activate different form of energy equations? |
You can include every form of source term in Energy equation,Macro "C_H(c,t) " is enthalpy of cell and "C_T(c,t)" is temperature of cell and you can use theme in your source term UDF,Energy equation works with both of them and is already active,It is not matter that you use whitch of them(temp of enthalpy),But you should define your source term exactly.
UDF refers to user defined function and for writing udfs you should have a programming basis in C language and read udf manual(Chapter 1,2,3,4 at least),You should spend a little more time to achieve your goal! |
Quote:
thank you for your reply! and your reply gives me big inspiration. but now I have another problem about the macro C_H_G, fluent shows the error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: () would you help me!!! |
All times are GMT -4. The time now is 15:03. |