CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] groovybc and heat flux on wall (https://www.cfd-online.com/Forums/openfoam-community-contributions/124459-groovybc-heat-flux-wall.html)

m5m5kh October 5, 2013 08:39

groovybc and heat flux on wall
 
2 Attachment(s)
Hi foamers
I used groovyBC as boundary condition for wall of my case.but I have a problem.I modifed the heat flux on the wall but when temperature of the upper region of furnace is still 298K and the outer temperature is 298K too.so I expected to see zero gradient on the wall but there is a flux in paraFoam
it show me temprature at walls 0 while the lowest temperature is 298 in my boundary conditions.
I attached my case figure.
any help would be appreciated.

type groovyBc;
variables "h=1.12;k=0.065;Tinf=298;";
gradientExpression "h/k*(T-Tinf)";
fractionExprssion "0"; // 0 for neumann boundary condition
value uniform 298;

regards
Mohsen

m5m5kh October 6, 2013 00:46

no idea!!!!!!!!!!

gschaider October 6, 2013 10:16

Quote:

Originally Posted by m5m5kh (Post 455208)
Hi foamers
I used groovyBC as boundary condition for wall of my case.but I have a problem.I modifed the heat flux on the wall but when temperature of the upper region of furnace is still 298K and the outer temperature is 298K too.so I expected to see zero gradient on the wall but there is a flux in paraFoam
it show me temprature at walls 0 while the lowest temperature is 298 in my boundary conditions.
I attached my case figure.
any help would be appreciated.

type groovyBc;
variables "h=1.12;k=0.065;Tinf=298;";
gradientExpression "h/k*(T-Tinf)";
fractionExprssion "0"; // 0 for neumann boundary condition
value uniform 298;

regards
Mohsen

a) you have a typo in fractionExpression
b) Paraview doesn't know anything about groovyBC so the values it displays on the boundary might be wrong
c) for finding problems always use the Cell-values in Paraview. The point values are something it interpolates from the real values and might as well be a problem of Paraview

gschaider October 6, 2013 10:19

Quote:

Originally Posted by m5m5kh (Post 455258)
no idea!!!!!!!!!!

I think it is a bit strange to expect an immediate answer

a) because this is a voluntary community service
b) it is a weekend

m5m5kh October 6, 2013 11:30

Hi Bernhard
I'm sorry for ruining your weekend ;) you are right
apologies :D

regards
Mohsen


All times are GMT -4. The time now is 07:42.