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

groovy BC

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 10, 2014, 06:20
Default groovy BC
  #1
Member
 
zohreh imani nejad
Join Date: Feb 2014
Location: gonabad
Posts: 55
Rep Power: 3
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

Old   April 13, 2014, 07:43
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by imani View Post
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)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
groovy BC Ahmed Khattab OpenFOAM 4 November 7, 2013 08:51
Groovy BC - time dependend Inlet Tobi OpenFOAM Pre-Processing 16 October 20, 2013 16:54
zerogradient in groovy immortality OpenFOAM Pre-Processing 7 October 18, 2013 07:11
groovy boundary condition for pressure Ahmed Khattab OpenFOAM 3 October 15, 2013 05:30
using groovy boundry condition in multiphase problom javad814 OpenFOAM 1 November 30, 2011 17:29


All times are GMT -4. The time now is 05:01.