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

laplacian(A,p) and div(A*fvc::grad(p))? difference?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 25, 2013, 22:57
Default laplacian(A,p) and div(A*fvc::grad(p))? difference?
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 515
Rep Power: 6
sharonyue is on a distinguished road
Hi All,

In mathematics, I think laplacian(A,p) and div(A*fvc::grad(p)) are the same,

so can I turn this code into:
Code:
fvScalarMatrix pEqn
            (
                fvm::laplacian(rAU, p) == fvc::div(phiHbyA)
            );

fvScalarMatrix pEqn
            (
                fvm::div(A*fvc::grad(p)) == fvc::div(phiHbyA)
            );
Thanks for your attention.
sharonyue 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
high-order difference in OpenFOAM rxgrch OpenFOAM Programming & Development 3 March 26, 2013 23:07
Periodic Boundary Condition for upwind difference yohey44 Main CFD Forum 0 October 27, 2010 14:10
the effect of upwind difference hades Main CFD Forum 8 March 15, 2009 01:43
Difference between scaled residuals and... Dieter FLUENT 0 April 28, 2006 18:52
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 23, 2005 00:49


All times are GMT -4. The time now is 17:29.