CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

What is the application of fvc::absolute(phi/fvc::interpolate(rho), U)

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 1, 2015, 22:10
Default What is the application of fvc::absolute(phi/fvc::interpolate(rho), U)
james wilson
Join Date: Aug 2014
Location: Orlando, Fl
Posts: 30
Rep Power: 3
jameswilson620 is on a distinguished road

In buoyantPimpleFoamSolver a few lines in EEqn.H read:

                fvc::absolute(phi/fvc::interpolate(rho), U),
I understand dividing by the interpolated surfaceScalarField rhof to get the volume flux for the divergence operator but why didn't we stop there?

For example:

fvc::div(phi/fvc::interpolate(rho),p) .... (1)

In other words, what is the provided code doing that cannot be accomplished by (1)? Or, what is the purpose of fvc::absolute() (what are it's arguments and it's output)?

Also, I suppose providing "div(phiv,p)" in the argument of fvc::div() in the solver gives a name to reference in fvSchemes? I have a question in another post related to this issue: Scalar temperature transport in porous media unbounded at sharp transitions

Thanks, James
jameswilson620 is offline   Reply With Quote

Old   April 2, 2015, 08:29
Senior Member
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,237
Rep Power: 21
alexeym will become famous soon enoughalexeym will become famous soon enough

1. fvc::absolute does nothing for static mesh, see

2. as surfaceScalarField fvc::absolute(phi/fvc::interpolate(rho), U) has rather fancy name it is necessary explicitly set the name of operation, so fvc::div can decide what scheme to use for discretization.
alexeym is offline   Reply With Quote


buoyantpimplefoam, energy equation, fvc::absolute

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
CFD Post Application Error: 'wbload' action requires parameter: 'id'. gusymtz ANSYS 2 October 20, 2014 04:28
The FLUENT Application is currently busy. Please try this operation again after some ashish.shah FLUENT 0 September 29, 2014 03:44
Why not install cluster by connecting workstations together for CFD application? Anna Tian Hardware 5 July 18, 2014 14:32
Installation of OpenFOAM15dev antonio_ing OpenFOAM Installation 34 December 18, 2009 11:06

All times are GMT -4. The time now is 01:42.