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

How to obtain force value

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

LinkBack Thread Tools Display Modes
Old   July 1, 2011, 04:28
Default How to obtain force value
New Member
Join Date: May 2010
Posts: 7
Rep Power: 0
ynsudo is on a distinguished road
Dear all,
I am struggling with the following.
I am using interFoam (version 1.71) and want to obtain the each force-term appered in the code UEqn.H for a certain cell to know which term is large.

Those force terms are

        fvm::ddt(rho, U)
      + fvm::div(rhoPhi, U)
      - fvm::laplacian(muEff, U)
      - (fvc::grad(U) & fvc::grad(muEff))

                  - ghf*fvc::snGrad(rho)
                  - fvc::snGrad(p_rgh)
                ) * mesh.magSf()
What should I add in the file UEqn.H to get those force values?
Any hints are appreciated.
Best regards,
ynsudo is offline   Reply With Quote


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
Time-averaged force in CFX rjmcsherry CFX 2 October 21, 2010 10:34
User-defined force transfer across FSI interface vivekcfd CFX 7 March 10, 2010 21:43
Viscous force enry Fluent UDF and Scheme Programming 1 November 15, 2009 11:53
DEFINE_CG_MOTION and pressure force Teo Fumagalli FLUENT 0 April 11, 2008 10:25
pressure force and viscous force CFD FLUENT 0 March 7, 2006 02:03

All times are GMT -4. The time now is 05:34.