CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

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

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: mprinkey
Forum: OpenFOAM Programming & Development November 7, 2011, 00:59
Replies: 1
Views: 1,052
Posted By mprinkey
You need to use fvm::Sp(U) (or fvm::S for the...

You need to use fvm::Sp(U) (or fvm::S for the linear source term, so something like:

fvVectorMatrix UEqn
(
fvm::Sp(U) - Ra*T*k
);

should work. Note that this is just a diagonal matrix.
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 17:55.