CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   A question about fvmSup and implict sources/sinks (

daveatstyacht February 5, 2012 12:30

A question about fvmSup and implict sources/sinks
Hi all,
I have developed a sink which has been added into UEqn.H as an implicit sink:

fvm::Sp(mysink, U)

where "mysink" is a volScalarField. This works fine, but I would like to extend the functionality by converting it to a volVectorField so that I can vary the effect of the sink for each velocity component. I took a look into the the source code of fvmSup.H/C and noticed that there is not a valid construct for Sp(vectormysink, U) yet there is one that works for Su(vectormysink, U).

My question is, is there a reason for there not being such a construct for Sp or is this simply a programing omission?


All times are GMT -4. The time now is 10:48.