CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   A question about fvmSup and implict sources/sinks (https://www.cfd-online.com/Forums/openfoam-programming-development/96927-question-about-fvmsup-implict-sources-sinks.html)

daveatstyacht February 5, 2012 11: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?

Dave


All times are GMT -4. The time now is 03:22.