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

FvmSuSpvolVectorField U

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2006, 12:16
Default Dear All, I ve noticed that O
  #1
Member
 
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17
sampaio is on a distinguished road
Dear All,
I ve noticed that OF supports Implicit/Explicit source for a product of scalar by vector U, like:

fvm::SuSp(scalarfield, U)

But what if I need an implicit source for each component of U, like:

Sp = volVectorField
fvm::SuSp(Sp, U),

where in the x component of moment equation I would have:

fvm::SuSp(Sp.component(0), U.component(0))

and so on...?

(The components of Sp are independent...)
sampaio is offline   Reply With Quote

Old   June 21, 2006, 14:57
Default Then you're in trouble: the di
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Then you're in trouble: the diagonal for a vector quantity in the current version is a vector only next to a boundary. Therefore, internally you can only add a scalar SuSp contribution.

My block matrix rewrite fixes this (along with a number of other block-solution related things) but this is not ready for public consumption just yet.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 21, 2006, 16:04
Default Ok. Thanks a lot.
  #3
Member
 
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17
sampaio is on a distinguished road
Ok. Thanks a lot.
sampaio is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
FvmSuSpvolVectorField U sampaio OpenFOAM Running, Solving & CFD 0 August 10, 2006 20:46
FvmSuSpvolVectorField U sampaio OpenFOAM Running, Solving & CFD 1 July 14, 2006 19:15


All times are GMT -4. The time now is 21:01.