|
[Sponsors] |
Mismatch of mass flow rates after source term implementation in SU2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 2, 2016, 13:33 |
Mismatch of mass flow rates after source term implementation in SU2
|
#1 |
New Member
Akshay Deshpande
Join Date: Sep 2014
Posts: 19
Rep Power: 12 |
Hi SU2 users,
I have implemented a source term of dissipative heating in SU2 v. 4.2.0. The expression for the source term is The total power deposited is To test the implementation, I am running a simple source in a 2D rectangular box case. The calculations are in dimensional form. The B.C's I am using are : MARKER_SUPERSONIC_INLET at the inlet MARKER_SUPERSONIC_OUTLET at the outlet MARKER_FAR at the top and bottom edges The location of the source is at , and I am getting the expected flow-field but the mass flow rates are not matching at the inlet and the outlet and therefore the energy balance is not working out. I have tried using both the Residual as well as Cauchy convergence criteria. For the later, I used CAUCHY_FUNC_FLOW as MASS_FLOW_RATE with maximum permissible CAUCHY_ELEMS corresponding to unsigned short datatype - but the result is still incorrect. I have also tried increasing the length of the domain. Please let me know if there is any other way to run the calculation for a longer time to achieve convergence or if my implementation of the source term is incorrect. I have attached the results below. Thanks in advance! Last edited by akshaydeshpande; August 2, 2016 at 21:56. |
|
August 12, 2016, 12:08 |
|
#2 |
New Member
Akshay Deshpande
Join Date: Sep 2014
Posts: 19
Rep Power: 12 |
I figured out the problem.
Apparently, my boundary conditions were incorrect. By changing to free-slip condition at the wall, the mass flow rates are exactly equal at the inlet and the outlet. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure Outlet Targeted Mass Flow Rate | LuckyTran | FLUENT | 1 | November 23, 2016 11:40 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
different mass flow rates | michael | FLUENT | 4 | February 21, 2005 04:48 |