|
[Sponsors] |
August 15, 2017, 15:40 |
Source term in conservation equations.
|
#1 |
Senior Member
Lolita
Join Date: Aug 2016
Posts: 118
Rep Power: 10 |
How to add source term in conservation equations?
Thanks |
|
August 16, 2017, 03:35 |
|
#2 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
Go to cell zone conditions -> source terms. (be sure to have the cell-zone where you want to add the equations separately declared)
if constant, you can directly add the value there. If the source is variable, you can use a DEFINE_SOURCE UDF to calculate the local value and link that via this menu. |
|
August 18, 2017, 07:42 |
|
#3 |
Senior Member
Lolita
Join Date: Aug 2016
Posts: 118
Rep Power: 10 |
Thank you for quick reply. i got that
by the way do you have any source code for energy equation for a VOF multiphase model? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source Term due to evaporation in energy transport equation | styleworker | OpenFOAM Programming & Development | 3 | September 7, 2022 04:09 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |