CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   how to solver perturbation equations of navier stokes equations ? (http://www.cfd-online.com/Forums/openfoam-programming-development/98142-how-solver-perturbation-equations-navier-stokes-equations.html)

mechy March 4, 2012 10:19

how to solver perturbation equations of navier stokes equations ?
 
1 Attachment(s)
Hi All
I want to solve perturbation equation with OF. I attached these equations.
but I don't know how to calculate the convection term. I used the bellow equation

fvVectorMatrix UperEqn
(
fvm::ddt(Uper)
+ fvc::grad(U)& Uper
+ fvc::grad(Uper)& U
- fvc::laplacian(nu, Uper)
);

solve(UperEqn == -fvc::grad(pper));


but OF debug encounter error for calculating
fvc::grad(U)& Uper and fvc::grad(Uper)& U

I would be very appreciative if someone could point me in the right direction to get this model running.

Best Regards

Mojtaba.a June 8, 2014 17:04

Hi,
Have you had any chance solving this?


All times are GMT -4. The time now is 19:24.