CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

A question about fvmSup and implict sources/sinks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2012, 12:30
Default A question about fvmSup and implict sources/sinks
  #1
Senior Member
 
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 16
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?

Dave
daveatstyacht is offline   Reply With Quote

Reply

Tags
sources


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 17:47.