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

boussinesqapproximation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 2, 2006, 09:32
Default Hi, we tried to a new solver
  #1
mkk
Guest
 
Posts: n/a
Hi,
we tried to a new solver with boussinesq-approximation.
We had some problems with Momentum equation:
We used:
fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
- fvm::laplacian(nu, U)
+ g*alpha*(T-TRef)
);
solve( UEqn == -fvc::grad(p) );
We got this error for the line with (t-TRef):
error: no match for \u2018operator+\u2019 in \u2018Foam::operator-(const Foam::tmp<foam::fvmatrix<type> >&, const Foam::tmp<foam::fvmatrix<type> >&) [with Type = Foam::Vector<double>]
Which type is the right for TRef?
Thanks Martin
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BoussinesqApproximation for incompressible flow henry OpenFOAM Running, Solving & CFD 31 July 15, 2009 03:54


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