CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

A question about fvmSup and implict sources/sinks

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2012, 11:30
Default A question about fvmSup and implict sources/sinks
Senior Member
Join Date: Jul 2010
Posts: 100
Rep Power: 15
daveatstyacht is on a distinguished road
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?

daveatstyacht is offline   Reply With Quote



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 06:51.