CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   groovy BC (https://www.cfd-online.com/Forums/openfoam/133101-groovy-bc.html)

 imani April 10, 2014 06:20

groovy BC

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

 gschaider April 13, 2014 07:43

Quote:
 Originally Posted by imani (Post 485174) 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 { 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
Could you be more specific? What is "the skritingBoard condition". What would be "constant flux condition"? You can't mean "constant heat flux" as you've already implemented such a thing for fixed-wall-4 (constant gradient that depends on the heat flux and conductivity)

 All times are GMT -4. The time now is 08:11.