CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Errors when using groovyBC, tubulent model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2015, 05:21
Default Errors when using groovyBC, tubulent model
  #1
New Member
 
jamamoto takasi
Join Date: Jul 2015
Posts: 11
Rep Power: 10
Jamamoto takasi is on a distinguished road
Hallo everyone,

I use groovyBC for profile inlet, and I have been got some errors, which will be attached file. I have found any way to repair.

For U:
Code:
inlet
    {
	type 		groovyBC;
        variables "yc=pos().y; minYc=    min(yc);Ustar=0.0407;kappa=0.41;z0=0.0001; para=(Ustar/kappa)*log((yc + z0)/(z0))*normal();";        
	valueExpression "para";
        value           uniform (0.121 0 0);   
    }
For epsilon:
Code:
 inlet
 {
        type            groovyBC;
        variables       "yc=pos().y;minYc=min(yc);Ustar=0.0407;Cmu=0.09;kappa=0.41;z0=0.0001;para=pow(Ustar,3)/(kappa*(pos().y+z0));";
        valueExpression "para";
        value           uniform 0;
 }
For k:
Code:
 inlet
 {
        type               groovyBC;
        variables       "Ustar=0.0407;Cmu=0.09;para=pow(Ustar,2)/sqrt(Cmu);";
        valueExpression "para";
        value             uniform 0;
 }
Could anyone tell me how to fix the errors?

Thanks

Takasi
Attached Images
File Type: jpg 12279461_10203876513953843_1367349363_o.jpg (144.6 KB, 3 views)
Jamamoto takasi 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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
realizable k epsilon turbulence model errors bexx4444 Main CFD Forum 1 March 21, 2016 03:50
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 23:06.