CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Convective term in rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2015, 10:51
Default Convective term in rhoCentralFoam
  #1
New Member
 
Join Date: Jan 2014
Posts: 2
Rep Power: 0
alch is on a distinguished road
Hi there,

I have got a question regarding the convection term in the momentum equation of rhoCentralFoam. This is written as:
Code:
solve(fvm::ddt(rhoU) + fvc::div(phiUp));
with surfaceVectorField phiUp. However I wonder how this works out in regard to dimensions since divergence of a vector field should be a scalar field, while ddt(rhoU) results in a vector field. What do I miss?

Kind regards

Alexander
alch is offline   Reply With Quote

Old   March 12, 2015, 09:33
Default
  #2
New Member
 
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15
mneben is on a distinguished road
Hello alch,

phiUp is a surfaceVectorField. Look into line 173 of rhoCentralFoam.C.
mneben is offline   Reply With Quote

Reply

Tags
dimensions, discretisation, openfoam


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
Convective term in UDS equation moloykb Fluent UDF and Scheme Programming 1 October 10, 2013 09:23
RAS Turbulence Models - Convective Term john_w OpenFOAM 3 May 29, 2010 22:31
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
How to suppress the convective term SAKTI Siemens 1 August 28, 2008 02:38
Convective term evaluated at time n+1/2 Lionel S. Main CFD Forum 0 February 12, 2007 15:22


All times are GMT -4. The time now is 22:38.