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

Formula in header

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2018, 14:46
Default Formula in header
  #1
New Member
 
Mohammad Najafi
Join Date: Oct 2017
Posts: 11
Rep Power: 8
mnajafi is on a distinguished road
Hi
In mixedFvPatchField.H, below equation is provided in header as the equation which is enforced by this type of B.C. How should I read it?
Code:
 \f[
            x_p = w x_p + (1-w) \left(x_c + \frac{\nabla_\perp x}{\Delta}\right)
        \f]
It seems that \prep, \frac etc. are special escape sequences. right?
Thanks
mnajafi is offline   Reply With Quote

Old   May 6, 2018, 20:50
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
It is Latex syntax, the formula is this.

x_p = w x_p + (1-w) \left(x_c + \frac{\nabla_\perp x}{\Delta}\right)
Attached Images
File Type: png formula.png (16.2 KB, 1 views)
mnajafi likes this.
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   May 7, 2018, 15:08
Default
  #3
New Member
 
Mohammad Najafi
Join Date: Oct 2017
Posts: 11
Rep Power: 8
mnajafi is on a distinguished road
Thanks very much
mnajafi 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
Correct foamfile header for input file with mixed quantities (any version of OF) deepbandivadekar OpenFOAM Running, Solving & CFD 3 February 15, 2021 05:10
Can't add 3rd header filed through Make/options klausb OpenFOAM Programming & Development 1 November 9, 2017 13:20
problem compiling with header files jreiter164 Fluent UDF and Scheme Programming 2 August 14, 2015 17:31
formula implementation sanjar OpenFOAM Running, Solving & CFD 3 September 12, 2013 12:35
Benetton Formula 1 CD adapco Group Marketing Siemens 13 February 7, 2002 09:33


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