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

Adding momentum source term to BC Fluid Interface Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2023, 07:52
Default Adding momentum source term to BC Fluid Interface Boundary Condition
  #1
New Member
 
Safa DUMANLI
Join Date: Feb 2023
Posts: 1
Rep Power: 0
safa_dmnl is on a distinguished road
Hi everyone,


I want to add momentum source term to BC Fluid Interface Boundary Condition. So, i have changed line in CFVMFlowSolverBase.inl line: 1441 - Version: SU2-7.3.1.


for (iVar = 0; iVar < nVar; iVar++)
{
Residual[iVar] += weight * (residual[iVar] + tmp_residual(iVar]);

}


where tmp_residual stores my source term.

However, no matter how large i set the source term, nothing changes in the flow field. Am i doing something wrong or is my source term not dominant enough?
safa_dmnl is offline   Reply With Quote

Old   February 25, 2023, 20:26
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
That should be correct, have you tried comparing your source term with the normal residual?
pcg 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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


All times are GMT -4. The time now is 16:29.