CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Display Modes
Old   August 25, 2013, 21:57
Default laplacian(A,p) and div(A*fvc::grad(p))? difference?
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 756
Rep Power: 10
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:
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


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 6 August 28, 2017 14:11
Periodic Boundary Condition for upwind difference yohey44 Main CFD Forum 0 October 27, 2010 13:10
the effect of upwind difference hades Main CFD Forum 8 March 15, 2009 00:43
Difference between scaled residuals and... Dieter FLUENT 0 April 28, 2006 17: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 03:15.