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

Equation representation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 14, 2013, 15:39
Default Equation representation
  #1
Member
 
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 6
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: 6
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: 131
Rep Power: 7
ahmmedshakil is on a distinguished road
Yes it's correct.
ahmmedshakil is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
error message cuteapathy CFX 14 March 20, 2012 07: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 15:01
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07


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