CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Mismatch of mass flow rates after source term implementation in SU2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2016, 12:33
Default Mismatch of mass flow rates after source term implementation in SU2
  #1
New Member
 
Akshay Deshpande
Join Date: Sep 2014
Posts: 19
Rep Power: 11
akshaydeshpande is on a distinguished road
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 S =  \frac{Q}{\pi^{3/2}.a.b.c} e^{(-((x-x_{o})/a)^{2} - ((y-y_{o})/b)^{2} - ((z-z_{o})/c)^{2})}
The total power deposited is Q = \iiint_{-\infty}^{\infty} Sdxdydz


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 (x_{o}, y_{o}) = (1.5, 0.5) , a = b = c = 0.1 and Q = 15 GW

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 20:56.
akshaydeshpande is offline   Reply With Quote

Old   August 12, 2016, 11:08
Default
  #2
New Member
 
Akshay Deshpande
Join Date: Sep 2014
Posts: 19
Rep Power: 11
akshaydeshpande is on a distinguished road
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.
akshaydeshpande is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure Outlet Targeted Mass Flow Rate LuckyTran FLUENT 1 November 23, 2016 10:40
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
different mass flow rates michael FLUENT 4 February 21, 2005 03:48


All times are GMT -4. The time now is 04:17.