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

Equation representation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2013, 15:39
Default Equation representation
  #1
Member
 
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 13
luckycfd is on a distinguished road
Hi FOAMer,

The code below is from icoFoam.C source code, what is PDEs form of the this code?


Code:
fvVectorMatrix UEqn
         (
             fvm::ddt(U)
           + fvm::div(phi, U)
           - fvm::laplacian(nu, U)
         );
 

 solve(UEqn == -fvc::grad(p));
Regards,
Hassan
luckycfd is offline   Reply With Quote

Old   October 15, 2013, 07:02
Default
  #2
Member
 
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 13
luckycfd is on a distinguished road
Hi,
Is this correct?

\frac{\partial U}{\partial t}+ \nabla \cdot
( \phi U)- \nabla \cdot (\nu \nabla U) = - \nabla p

regards
luckycfd is offline   Reply With Quote

Old   October 15, 2013, 07:32
Default
  #3
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Yes it's correct.
ahmmedshakil is offline   Reply With Quote

Reply


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
error message cuteapathy CFX 14 March 20, 2012 06:45
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
Viscosity and the Energy Equation Rich Main CFD Forum 0 December 16, 2009 14:01


All times are GMT -4. The time now is 13:09.