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

[swak4Foam] groovy BC

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 10, 2014, 06:20
Default groovy BC
  #1
Member
 
zohreh imani nejad
Join Date: Feb 2014
Location: gonabad
Posts: 55
Rep Power: 12
imani is on a distinguished road
hi
who can help me
i model a hot room with groovy BC
i have problem about T file
my T file is as below
dimensions [0 0 0 1 0 0 0];

internalField uniform 293;

boundaryField
{
floor
{
type fixedValue;
value uniform 283.15; // floor temperature :10 'C
}
ceiling
{
type groovyBC;
valueExpression "291"; //291 is air inlet tempareture
gradientExpression "0";// consider the rest of celing insulated
fractionExpression "pos().x > 2.65 && pos().x < 2.95 && pos().z > 2.23 && pos().z < 2.38 ? 1 : 0";
value uniform 293;
}

fixedWall-1
{
type groovyBC;
valueExpression "318"; // temperature of skiriting heater
gradientExpression "0"; // the rest of wall consider insulated if it is internal wall
fractionExpression "pos().y < 0.15 ? 1 : 0";
value uniform 293;
}
fixedWall-2
{
type groovyBC;
valueExpression "318"; // temperature of skiriting heater
gradientExpression "0"; // the rest of wall consider insulated if it is internal wall
fractionExpression "pos().y < 0.15 ? 1 : 0";
value uniform 293;
}
fixedWall-3
{
type groovyBC;
valueExpression "318"; // temperature of skiriting heater
gradientExpression "0"; // the rest of wall consider insulated if it is internal wall
fractionExpression "pos().y < 0.15 ? 1 : 0";
value uniform 293;
}
fixedWall-4
{
type groovyBC;
variables "Kwall=0.25;Kglazing=1.2;Qwall=-8.5;Qglazing=-40.8;";// taken from table 3
valueExpression "318"; // temperature of skiriting heater
gradientExpression "(pos().y > 0.3 && pos().y < 2.3) && ((pos().x > 0.7 && pos().x < 2.3) || (pos().x > 3 && pos().x < 4.6)) ? Qglazing/Kglazing : Qwall/Kwall";// in external wall which containts windows, BC is constant negative heat flux
fractionExpression "pos().y < 0.15 ? 1 : 0";
value uniform 293;
}

}
but i want to change the skritingBoard condition
i want to give it a constant flux condition
how i can do it?
i know it's Q and K

thanks
imani is offline   Reply With Quote

 


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
[swak4Foam] Groovy BC - time dependend Inlet Tobi OpenFOAM Community Contributions 20 August 27, 2020 09:22
[swak4Foam] How to use groovy Boundary conditions Zhiheng Wang OpenFOAM Community Contributions 8 November 6, 2019 09:28
[swak4Foam] groovy BC - which value is used ThorgrimmCFD OpenFOAM Community Contributions 2 May 7, 2015 04:06
[swak4Foam] groovy BC Ahmed Khattab OpenFOAM Community Contributions 4 November 7, 2013 07:51
[swak4Foam] using groovy boundry condition in multiphase problom javad814 OpenFOAM Community Contributions 1 November 30, 2011 16:29


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