CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Linearized Euler Equations a problem with grad

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2008, 14:21
Default Hi to everybody! I'm writing
Senior Member
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi to everybody!
I'm writing a solver for the linearized euler eq., and I have some problems in the momentum eq.

du'/dt + Ma & grad(u') + u' div(Ma) = -grad(p')

where u', Ma are volVectorField
The problem is in Ma & grad(u'), I can only discretize it like Ma & fvc::grad(u), with u volVectorField. If I try to calculate the face flux of u',

surfaceScalarField phiU1 = fvc::interpolate(u1)&mesh.Sf();

and put them in grad(phiU1) I have errors.
I tryied to look up and down for examples, but I can't find anything similar.
What's wrong in my code?
Thank you in advance!
ivan_cozza is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Euler equations Brian Main CFD Forum 0 September 8, 2008 06:19
Quasi-1D Euler Equations Lost in CFD Main CFD Forum 0 March 20, 2007 20:24
Euler equations cfd rookie Main CFD Forum 2 December 30, 2005 15:31
Linearized Euler Equation vasanth Main CFD Forum 0 May 30, 2004 15:25
Euler equations? Jan Ramboer Main CFD Forum 2 August 19, 1999 01:58

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