|
[Sponsors] |
Adding momentum source term to BC Fluid Interface Boundary Condition |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Safa DUMANLI
Join Date: Feb 2023
Posts: 1
Rep Power: 0 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14 ![]() |
That should be correct, have you tried comparing your source term with the normal residual?
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04: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 19:13 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
Waterwheel shaped turbine inside a pipe simulation problem | mshahed91 | CFX | 3 | January 10, 2015 12:19 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |