CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How to obtain force value

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2011, 04:28
Default How to obtain force value
  #1
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

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

                (
                    fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
                  - 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,
Yu
ynsudo is offline   Reply With Quote

Reply


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 Off
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 20:43
Viscous force enry Fluent UDF and Scheme Programming 1 November 15, 2009 10: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 01:03


All times are GMT -4. The time now is 13:55.