|October 28, 2014, 15:57||
implicit - scalar product source term in momentum equation
Join Date: Dec 2011
Posts: 4Rep Power: 6
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 :
Adding implicit source term to momentum equation
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 :
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 ?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Swak4Foam funkyDoCalc with OF2.3 massflow||NiFl||OpenFOAM||11||November 1, 2016 07:43|
|what is swap4foam ??||AB08||OpenFOAM||28||February 2, 2016 02:22|
|UDF for source term in momentum equation||Enrico||FLUENT||9||May 30, 2014 11:34|
|OpenFOAM without MPI||kokizzu||OpenFOAM Installation||4||May 26, 2014 09:17|
|viscosity term in discetrization momentum equation||hans-186||Main CFD Forum||4||April 1, 2013 13:34|