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

[swak4Foam] Errors when using groovyBC, tubulent model

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2015, 06:21
Default Errors when using groovyBC, tubulent model
  #1
New Member
 
jamamoto takasi
Join Date: Jul 2015
Posts: 11
Rep Power: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 08:09
realizable k epsilon turbulence model errors bexx4444 Main CFD Forum 1 March 21, 2016 04:50
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


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