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

How to know where a specified "const scalar" defined and calculated in openfoam ??

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By hk318i

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 11, 2016, 07:06
Default How to know where a specified "const scalar" defined and calculated in openfoam ??
  #1
Member
 
Bijan Darbari
Join Date: Nov 2015
Posts: 48
Rep Power: 10
bijan darbari is on a distinguished road
Dear Foamers

In many OpenFoam codes we can see some imported constant scalars.
For example look at lines 163-170 of:
Code:
Foam::forceSuSp Foam::BrownianMotionForce<CloudType>::calcCoupled
(
    const typename CloudType::parcelType& p,
    const scalar dt,
    const scalar mass,
    const scalar Re,
    const scalar muc
) const
Due to above lines, we can see that "dt" , "mass" , "Re" and "muc" have been imported to this code and all these scalars have predefined values.

Now, I want to know where the scalar "dt" defined and calculated before it have been imported to these code??
bijan darbari is offline   Reply With Quote

 


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
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 01:52
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
pipe flow OpenFOAM stix OpenFOAM Running, Solving & CFD 1 March 4, 2013 16:44
Difference between exact value and calculated value OFU OpenFOAM Post-Processing 2 August 19, 2011 06:10
User Defined Scalars - Returning Values Carlos V. FLUENT 0 April 19, 2006 18:18


All times are GMT -4. The time now is 22:57.