|
[Sponsors] |
implicit - scalar product source term in momentum equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 28, 2014, 15:57 |
implicit - scalar product source term in momentum equation
|
#1 |
New Member
vinch
Join Date: Dec 2011
Posts: 4
Rep Power: 14 |
Dear all,
I would like to add an implicit source term to the momentum equation of the fluid solver (in the BuoyantBoussinesqPimpleFoam framework. I read on this forum the following thread : http://www.cfd-online.com/Forums/ope...-equation.html where the user needed to add a non linear term. The expression of my source term is different and the solutions given were not satisfying I guess, so I think this is worth having a new thread. I would like to add a source term looking like this : F = a (G . U) K where the capital quantities are vectors. U is the unknown velocity. In the code, I used the following lines : Code:
fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) + turbulence->divDevReff(U) + a * (G & U) * K == fvOptions(U) ); I can't use the fvm::Sp() method since the second argument required is the variable being implicit, and it expects a vector, not the result of a scalar product. My question is thus, is there a way to write this as a fully implicit source term ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
UDF for source term in momentum equation | Enrico | FLUENT | 9 | May 30, 2014 12:34 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
viscosity term in discetrization momentum equation | hans-186 | Main CFD Forum | 4 | April 1, 2013 14:34 |