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

[swak4Foam] can i change BC from wall to patch in groovyBC?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2013, 02:11
Default can i change BC from wall to patch in groovyBC?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
groovyBC can set a variable BC.but can i change type of BC by it at specified time domains?
immortality is offline   Reply With Quote

Old   January 22, 2013, 12:39
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
groovyBC can set a variable BC.but can i change type of BC by it at specified time domains?
With "type" you mean the type in polymesh/boundary (wall, patch, etc)? No

Switching form Dirichlet (fixedValue) to Neuman (fixedGradient): yes
__________________
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

Old   January 22, 2013, 13:03
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
yes.i supposed patch in blockMeshDict for both of patch and wall in my groovyBC condition.is it possible that this is the source of printStack error when the boundary should be wall at groovyBC?
clearly questioning does "wall boundary" is set by only (U=U of wall,T:zeroGradient,p:zeroGradient)?
do these conditions give the patch impermeable property like a wall(suppose fluid laminar for not confusing with wallFunctions?
thanks.
immortality is offline   Reply With Quote

Old   January 23, 2013, 09:40
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
yes.i supposed patch in blockMeshDict for both of patch and wall in my groovyBC condition.is it possible that this is the source of printStack error when the boundary should be wall at groovyBC?
clearly questioning does "wall boundary" is set by only (U=U of wall,T:zeroGradient,p:zeroGradient)?
do these conditions give the patch impermeable property like a wall(suppose fluid laminar for not confusing with wallFunctions?
thanks.
"the source of printStack error when ...": are you referring to a posting in another thread ... but only you know which?

For most practical purposes patch and wall behave the same. Only certain BCs/models (turbulence, radiation, heat transfer) behave differently on them
immortality likes this.
__________________
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

Old   January 23, 2013, 10:34
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
thanks.yes Im searching to find the cause of the error OpenFOAM gives.
I had a thread without answer although is irrelevant but i submit it here hoping to get an answer.why in "hConstThrmo" and "specieThermo" two different dimensions for Cp are commented?(J/kmol.K and J/kg.K)
could you enlighten me?
thanks very much.
immortality is offline   Reply With Quote

Reply


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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 06:37
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 03:01
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 23:44.