|August 9, 2012, 17:00||
Problem about fvm::grad
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 57Rep Power: 6
As you know, in OF, the gradient operator only has fvc type. But if we want to write a coupled algorithm, we have the make a fvm::grad function.
I have write fvmGrad.C file define the fvm::grad function. Since the gradient of a scalar field is a vector field. So the gradient matrix should actually be three different scalar matrix, returns each component separately by multiple p scalar field.
Now I have met two problems, first is about the initialization of the faceInterpolationScheme. Can some body give a example how to initial a faceInterpolationScheme?? I need this is because I need the weight to interpolation cell value to get face value.
The second problem is that when I initial the matrix coefficient like this
Has anybody tried to do this before??
thank you in advance
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDF compiling problem||Wouter||Fluent UDF and Scheme Programming||6||June 6, 2012 04:43|
|Gambit - meshing over airfoil wrapping (?) problem||JFDC||FLUENT||1||July 11, 2011 05:59|
|natural convection problem for a CHT problem||Se-Hee||CFX||2||June 10, 2007 06:29|
|Adiabatic and Rotating wall (Convection problem)||ParodDav||CFX||5||April 29, 2007 19:13|
|Is this problem well posed?||Thomas P. Abraham||Main CFD Forum||5||September 8, 1999 14:52|