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

Questions about the fvc and fvm

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2011, 16:52
Default Questions about the fvc and fvm
  #1
New Member
 
Lu Wang
Join Date: Aug 2011
Posts: 1
Rep Power: 0
starboy1985 is on a distinguished road
Hi, I am writing a code which need to generate the fvc space from fvm matrix.

For example, I have
fvVectorMatrix UEqn
(
fvm::ddt(U)
+fvm::div(phi, U)
- fvm::laplacian(nu, U)
);

How could I get the same geometricField (fvc::ddt(U)+fvc::div(phi, U)-fvc::laplacian(nu,U)+fvc::grad(p))) just use fvmatrix UEqn and volVectorField U?

I just do the UEqn.Amul for the internalField and add the aboundary terms, but I get different result. Anyone can help me to know hwo to do this?

Thank you very much.
starboy1985 is offline   Reply With Quote

Reply

Tags
fvc, fvm


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
Meaning of fvm and fvc JLight OpenFOAM 7 October 13, 2011 12:35
fvm vs. fvc Pascal_doran OpenFOAM Programming & Development 1 July 8, 2010 16:35


All times are GMT -4. The time now is 14:41.