|
[Sponsors] |
October 17, 2014, 14:18 |
Meaning of ().fvmDiv(flux, vf);
|
#1 |
New Member
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 12 |
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 |
|
October 18, 2014, 05:57 |
|
#2 |
New Member
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 12 |
Any ideas?
|
|
October 19, 2014, 15:36 |
|
#3 |
New Member
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 12 |
could anyone help me please?
|
|
October 24, 2014, 15:31 |
|
#4 |
New Member
chubb87
Join Date: May 2011
Posts: 21
Rep Power: 15 |
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. |
|
|
|
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 04:40 |
Meaning of Ychar and Ypmma | aylalisa | OpenFOAM Pre-Processing | 2 | October 20, 2013 06:49 |
What's meaning of UDF FUNCTION | zhaoxinyu | Fluent UDF and Scheme Programming | 0 | March 31, 2010 09:04 |
want to know meaning | Sangamesh | Siemens | 0 | May 15, 2007 06:15 |
What's the meaning of "combustion scalar"and.... | cfdbeginner | CFX | 0 | November 27, 2003 10:02 |