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

u_f , u, are these two the same?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2013, 04:20
Default u_f , u, are these two the same?
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Hi guys,

Wonderful day!

While Im digging into fvc::reconstruct(), after lots of effort, I made a little progress, Now Im confusing that:
\sum {{n_f}\left( {{S_f} \cdot u} \right)}  = \sum {{n_f}\left( {{S_f} \cdot {u_f}} \right)}

namely:
u_f = u

Is this rite? Only by this I can get the same equation as fvc::reconstruct().
sharonyue is offline   Reply With Quote

Old   September 16, 2013, 04:41
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
Can you add some linenumbers of relevant files? u and u_f are definitely not the same, as one would be a surface field and the other a volume field.
Bernhard is offline   Reply With Quote

Old   September 16, 2013, 04:46
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
Can you add some linenumbers of relevant files? u and u_f are definitely not the same, as one would be a surface field and the other a volume field.
I will make it more clear later, texting these equations in mathtype is time-consuming. Thank you very much. U help me alot...
sharonyue is offline   Reply With Quote

Old   September 16, 2013, 19:37
Default
  #4
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Sorry, so late!

\begin{array}{l}
\sum {{n_f}\left( {{S_f} \cdot u} \right) = } \sum {{n_f}\left( {{S_f} \cdot {u_f}} \right)} \\
\sum {\left[ {\left( {{n_F} \otimes {S_f}} \right) \cdot u} \right]}  = \sum {\frac{{{S_f}}}{{\left| {{S_f}} \right|}}} \left( {{S_f} \cdot {u_f}} \right)\\
\sum {\left[ {\left( {\frac{{{S_f}}}{{\left| {{S_f}} \right|}} \otimes {S_f}} \right) \cdot u} \right]}  = \sum {\frac{{{S_f}}}{{\left| {{S_f}} \right|}}} {\phi _f}\\
u = \underbrace {{{\left\{ {\sum {\left[ {\left( {\frac{{{S_f}}}{{\left| {{S_f}} \right|}} \otimes {S_f}} \right)} \right]} } \right\}}^{ - 1}} \cdot \sum {\frac{{{S_f}}}{{\left| {{S_f}} \right|}}} {\phi _f}}_{weller's\;fvc::reconstruct()}
\end{array}

this might be clear. Any ideas?
sharonyue is offline   Reply With Quote

Old   September 22, 2013, 21:01
Default
  #5
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
any ideas?
sharonyue 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



All times are GMT -4. The time now is 12:19.