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

Meaning of ().fvmDiv(flux, vf);

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2014, 13:18
Default Meaning of ().fvmDiv(flux, vf);
  #1
New Member
 
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 11
And901 is on a distinguished road
Hi guys,

i would like to know what is the meaning of the command ().fvmDiv(flux, vf); in file fvmDiv.C.
I ask because i need to modify it. It seems that fvmDiv is implemented in gaussConvectionScheme.C but if i try to write Info << " I'm in gaussConvectionScheme" << it doesn't appear anything when i run the code so i'm not sure what the code does with that command.

Regards,

Andrea
And901 is offline   Reply With Quote

Old   October 18, 2014, 04:57
Default
  #2
New Member
 
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 11
And901 is on a distinguished road
Any ideas?
And901 is offline   Reply With Quote

Old   October 19, 2014, 14:36
Default
  #3
New Member
 
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 11
And901 is on a distinguished road
could anyone help me please?
And901 is offline   Reply With Quote

Old   October 24, 2014, 14:31
Default
  #4
New Member
 
chubb87
Join Date: May 2011
Posts: 21
Rep Power: 14
chubb87 is on a distinguished road
Hi Andrea,

to my knowledge fvmDiv(flux, vf) calculates the divergence of "flux*vf" = flux*interpolate(vf)&mesh.Sf(), (i.e. with vf as a flux on the face, otherwise the multiplication makes no sense and therefore I used quotes). Because of fvm this calculation is done in an implicit way, solving for vf in the equation it is used in.

Did you modify the source code without copying it elsewhere before? Did you compile the code after modifying it? Does the application you ran afterwards use the convection scheme you modified? Those are somewhat trivial but possible reasons for your failed testrun.

Regards.
chubb87 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
Who can tell me what is the meaning of the macro in fluent UDF:C_PREMIXC_RATE(c,t) ChenZhan Fluent UDF and Scheme Programming 1 May 12, 2017 03:40
Meaning of Ychar and Ypmma aylalisa OpenFOAM Pre-Processing 2 October 20, 2013 05:49
What's meaning of UDF FUNCTION zhaoxinyu Fluent UDF and Scheme Programming 0 March 31, 2010 08:04
want to know meaning Sangamesh Siemens 0 May 15, 2007 05:15
What's the meaning of "combustion scalar"and.... cfdbeginner CFX 0 November 27, 2003 09:02


All times are GMT -4. The time now is 06:00.