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

sqr(Ct)*k is missing in twoPhaseEulerFoam 2.2.x?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2014, 15:30
Default sqr(Ct)*k is missing in twoPhaseEulerFoam 2.2.x?
  #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,

I found this in Ueqn:
Code:
volTensorField Rc1
        (
            "Rc1",
            (((2.0/3.0)*I)*nuEff1)*tr(gradU1T) - nuEff1*gradU1T
        );
but in openfoam 2.0.x its like:
Code:
volTensorField Rca
        (
            "Rca",
            ((2.0/3.0)*I)*(sqr(Ct)*k + nuEffa*tr(gradUaT)) - nuEffa*gradUaT
        );
mathematically, there should be this sqr(Ct)*k in the code, see the last term:


I also found this thread:
http://www.cfd-online.com/Forums/ope...eulerfoam.html

Any ideas?
Attached Images
File Type: png 1.PNG (5.1 KB, 99 views)
sharonyue is offline   Reply With Quote

Old   December 24, 2014, 15:40
Default tr(grad(U))*I equals fvc::div(U)*I?
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
also :
from math equations;we know:

tr \left( {\nabla U} \right) \cdot I = \nabla  \cdot U \cdot I

so if I translate it into code: does tr(grad(U))*I equal fvc::div(U)*I?

Thanks!!
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is syntax error : missing ')' before ';' aleisia Fluent UDF and Scheme Programming 8 March 10, 2015 15:42
Is twoPhaseEulerFoam applicable to 3D cases / delivering erroneous results? ThomasV OpenFOAM 0 November 11, 2013 08:10
twoPhaseEulerFoam: "g0" missing in "HrenyaSinclairConductivity.C" ysun OpenFOAM 0 October 29, 2013 13:51
[OpenFOAM] Xlib: extension "GLX" missing on display goldbeard ParaView 5 March 24, 2013 13:12
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 07:43


All times are GMT -4. The time now is 07:21.