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

Like Tree1Likes
  • 1 Post By alexeym

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: 38
Rep Power: 5
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:

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,741
Rep Power: 29
alexeym will become famous soon enoughalexeym will become famous soon enough
Send a message via Skype™ to alexeym

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.
fumiya likes this.
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
The FLUENT Application is currently busy. Please try this operation again after some ashish.shah FLUENT 1 November 2, 2016 10:05
CFD Post Application Error: 'wbload' action requires parameter: 'id'. gusymtz ANSYS 4 September 29, 2016 06:07
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
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 17:17.