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

boundary conditions

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

Like Tree1Likes
  • 1 Post By Bernhard

Reply
 
LinkBack Thread Tools Display Modes
Old   September 29, 2013, 15:28
Default boundary conditions
  #1
Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 86
Rep Power: 5
m5m5kh is on a distinguished road
hi dear foamers
I want to add a boundary condition as below
what should I do?

best regards
Mohsen
Attached Images
File Type: png 2222222222.png (2.4 KB, 16 views)
m5m5kh is offline   Reply With Quote

Old   October 1, 2013, 00:47
Unhappy
  #2
Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 86
Rep Power: 5
m5m5kh is on a distinguished road
no one knows about this boundary condition?
m5m5kh is offline   Reply With Quote

Old   October 1, 2013, 03:46
Default
  #3
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
What is T_g? Have a look at the "mixed" boundary condition, or otherwise groovyBC, which is built on that boundary condition.
Bernhard is offline   Reply With Quote

Old   October 1, 2013, 03:57
Default
  #4
Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 86
Rep Power: 5
m5m5kh is on a distinguished road
Hi Bernhard
I try to install swak4foam to use groovy bc on my openfoam 2.2.0
I install bison 3.0 but when I write wmake all but error " permission denied" happens.do I have to install flex too?

Quote:
Originally Posted by Bernhard View Post
What is T_g? Have a look at the "mixed" boundary condition, or otherwise groovyBC, which is built on that boundary condition.
m5m5kh is offline   Reply With Quote

Old   October 1, 2013, 04:17
Default
  #5
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
Quote:
Originally Posted by m5m5kh View Post
Hi Bernhard
I try to install swak4foam to use groovy bc on my openfoam 2.2.0
I install bison 3.0 but when I write wmake all but error " permission denied" happens.do I have to install flex too?
Please look in the help file on how to install swak as a non-root user.
DaSh likes this.
Bernhard is offline   Reply With Quote

Old   October 1, 2013, 08:28
Default
  #6
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 237
Rep Power: 9
olivierG is on a distinguished road
hello,

You also may take a look at the "externalWallHeatFluxTemperature" boundary condition, which does what you want.

regards,
olivier
olivierG is offline   Reply With Quote

Old   October 1, 2013, 10:41
Default
  #7
Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 86
Rep Power: 5
m5m5kh is on a distinguished road
Hi dear Olivier
where and how should I define h and Ta and q ???and what does it mean by "q"?while my aim is to calculate q ????? I got confused by this boundary condition

k(dT/dx)=h(T-Tinf)

this is my boundary condition at wall
would you please describe this bc in detail

best regards
Mohsen


Quote:
Originally Posted by olivierG View Post
hello,

You also may take a look at the "externalWallHeatFluxTemperature" boundary condition, which does what you want.

regards,
olivier
m5m5kh is offline   Reply With Quote

Old   October 1, 2013, 10:54
Default
  #8
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 237
Rep Power: 9
olivierG is on a distinguished road
hello,

take a look at "$FOAM_SRC/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalWallHeatFluxTemperatureFvPatchScalarField. H"

You will find all you need in this header file.

regards,
olivier
olivierG is offline   Reply With Quote

Old   October 1, 2013, 13:54
Default
  #9
Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 86
Rep Power: 5
m5m5kh is on a distinguished road
I saw that but my model is incompressible and laminar.Are you sure I can use this bc?

Quote:
Originally Posted by olivierG View Post
hello,

take a look at "$FOAM_SRC/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalWallHeatFluxTemperatureFvPatchScalarField. H"

You will find all you need in this header file.

regards,
olivier
m5m5kh is offline   Reply With Quote

Old   October 2, 2013, 01:55
Default
  #10
Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 86
Rep Power: 5
m5m5kh is on a distinguished road
my problem is already unsolved
I can not install swak4foam
I have OF 2.2.0
bison 3.0
flex 2.5.33
please help me step by step
I tried as readme but no success was gained


best regards
Mohsen
m5m5kh is offline   Reply With Quote

Old   October 2, 2013, 04:41
Default
  #11
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 237
Rep Power: 9
olivierG is on a distinguished road
hello,

About the externalWall... bc, this depend of your solver. For a wall, try the banana bc, you will get an error with all possible bc.
If externalWal... is not here, then go with swak.

regards,
olivier
olivierG is offline   Reply With Quote

Old   October 2, 2013, 04:56
Default
  #12
Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 86
Rep Power: 5
m5m5kh is on a distinguished road
Quote:
Originally Posted by olivierG View Post
hello,

About the externalWall... bc, this depend of your solver. For a wall, try the banana bc, you will get an error with all possible bc.
If externalWal... is not here, then go with swak.

regards,
olivier
I did all the things you said olivier and I need to use swak4foam,do you have any experience about installing swak4foam for OF 2.2.0?
I can not install it when I use ./Allwmake it says: permission denied
what should I do?
thanks
Mohsen
m5m5kh 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
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 07:21
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
boundary conditions and mesh exporting vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 May 27, 2010 09:38
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15


All times are GMT -4. The time now is 18:13.