CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2008, 15:21
Default Hi to everybody! I'm writing
  #1
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

Reply

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 07:19
Quasi-1D Euler Equations Lost in CFD Main CFD Forum 0 March 20, 2007 21:24
Euler equations cfd rookie Main CFD Forum 2 December 30, 2005 16:31
Linearized Euler Equation vasanth Main CFD Forum 0 May 30, 2004 16:25
Euler equations? Jan Ramboer Main CFD Forum 2 August 19, 1999 02:58


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