|September 6, 2011, 19:29||
Join Date: Apr 2011
Posts: 92Rep Power: 6
As you all may know, the form of the discretized momentum equation that have been used in OpenFOAM's icoFoam solver is based on the general Scalar Transport equation which has term "del.(U Phi)" and has been discretized in the following way
"fvm :: div(phi, U)"
My question is that how can I discretize it based on familar N.S. equation form which includes U.del(Phi).
I tried "U & (fvc::grad(phi))" but it produced the follwoing error
"no match for ‘operator&’ in ‘Foam:perator+(const Foam::tmp<Foam::fvMatrix<Type> >&, const Foam:imensionedField<Type, Foam::volMesh>&)"
I would appriciate your commments.
|September 7, 2011, 17:30||
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 604Rep Power: 22
div(UU) = U & grad(U) + U*div(U)
for incompressible flow at a low residual...div(U) goes to zero and
div(UU) = U & grad(U)
so...div(UU) is considered the conservative form of the equation. hope this helps.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Convergence and discretization||karananand||FLUENT||3||August 29, 2010 06:07|
|Discretization and convergence||karananand||Main CFD Forum||0||August 4, 2010 16:19|
|Space and time discretization of Euler equation||Hooman||Main CFD Forum||2||June 6, 2010 08:30|
|Spatial vs Angular Discretization in DO radiation model||renaldi||FLUENT||0||June 1, 2009 10:52|
|Low-Re and second order discretization||Ralf||CD-adapco||1||May 11, 2006 10:16|