CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   can i change BC from wall to patch in groovyBC? (http://www.cfd-online.com/Forums/openfoam-solving/112092-can-i-change-bc-wall-patch-groovybc.html)

immortality January 22, 2013 02:11

can i change BC from wall to patch in groovyBC?
 
groovyBC can set a variable BC.but can i change type of BC by it at specified time domains?

gschaider January 22, 2013 12:39

Quote:

Originally Posted by immortality (Post 403237)
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

immortality January 22, 2013 13:03

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.

gschaider January 23, 2013 09:40

Quote:

Originally Posted by immortality (Post 403354)
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 January 23, 2013 10:34

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.


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