CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread Display Modes
Old   September 29, 2013, 16:28
Default boundary conditions
  #1
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
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, 18 views)
m5m5kh is offline   Reply With Quote

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

Old   October 1, 2013, 04:46
Default
  #3
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
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, 04:57
Default
  #4
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
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, 05:17
Default
  #5
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
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, 09:28
Default
  #6
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
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, 11:41
Default
  #7
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
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, 11:54
Default
  #8
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
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, 14:54
Default
  #9
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
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, 02:55
Default
  #10
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
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, 05:41
Default
  #11
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
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, 05:56
Default
  #12
Senior Member
 
mohsen kh
Join Date: Jan 2013
Location: Iran
Posts: 125
Rep Power: 14
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 07:28
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 08:21
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
[Netgen] boundary conditions and mesh exporting vaina74 OpenFOAM Meshing & Mesh Conversion 2 May 27, 2010 10:38
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15


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